Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text field
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01253112
Message ID:
01253147
Views:
26
Try
DATALENGTH(mshipmsg) > 0
>
>I am working with the table that include a shipping message column defined as:
>
>Data Type:text
>Allow Nulls: no
>Default value: ''
>
>I am trying to write a query that will exclude records where the shipping message column is empty. I tried the following but no luck:
>
>where mshipmsg NOT LIKE '% %'
>where LEN(mshipmsg) > 0
>
>Please help,
>Daniel
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform