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.
Author |
Topic |
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2008-07-14 : 11:05:46
|
i want to check if a value of ntext type is empty :declare @x1 NTEXTset @x1='' if i want to use LEN() or to check that @x1='' its not possible!what else can i do?thnakspelegIsrael -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2008-07-14 : 11:08:06
|
quote: Originally posted by pelegk2declare @x1 NTEXT
You can't declare a variable with ntext KH[spoiler]Time is always against us[/spoiler] |
 |
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2008-07-14 : 11:47:19
|
i know i just want to give examplei actually recive it in a stored procedurethankspelegIsrael -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
 |
|
RyanRandall
Master Smack Fu Yak Hacker
1074 Posts |
Posted - 2008-07-14 : 11:58:01
|
Try using datalength()..Ryan Randall Solutions are easy. Understanding the problem, now, that's the hard part. |
 |
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2008-07-15 : 01:46:29
|
10X:)Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
 |
|
|
|
|