jeresimpson
asked on
SQL Error The data types varchar and text are incompatible in the equal to operator
I have a Flex Application that calls a CFC with a SQL Insert Statement that continuously returns a SQL Server Error of : The data types varchar and text are incompatible in the equal to operator."
The SQL statement I am getting an error with is attached.
I oddly enough am having no trouble with my update statement.
I am new to using SQL Server so I am sure it is just some rookie mistake. Thanks in advance.
Jere
The SQL statement I am getting an error with is attached.
I oddly enough am having no trouble with my update statement.
I am new to using SQL Server so I am sure it is just some rookie mistake. Thanks in advance.
Jere
insert into dbo.SiteTypes(SiteType)
values (
'test'
)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
And yes it is SQL Server 2005.
Thanks for your help aneeshattingal
Thanks for your help aneeshattingal
you probably have a trigger on that table that is comparing it to some other table. can you check?
ASKER
imitchie:
No triggers.
Thanks
No triggers.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ERROR:
The data types varchar(max) and text are incompatible in the equal to operator.