John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
Microsoft SQL Server
>I need to find all records in a table in which a text field contains only spaces. Any suggestions?
>
>Thanks
>
>Glenn
Select * from table where LEN(LTRIM(RTRIM(field))) = 0
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only