Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Determine if a field that is declared as ntext, text is null

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-09-27 : 22:49:24
Noel writes "i have Question1 and Question2 declared as ntext.


this is the code i used

select case
when Question1 is not null then
'asfsfafdfad'

when Question2 is not null then
'rwqesfaas'

end as HTML
from [table]
where chapter = @chapter


When i try to execute it i get this error:Error 403: Invalid operator for data type. Operator equals add, type equals text."
   

- Advertisement -