Quantcast
Channel: How to exclude data
Viewing all articles
Browse latest Browse all 5

How to exclude data

$
0
0

LTRIM() will trim the spaces at the beginning of a text column.

Substring can be used to see is data has a space at the 1st column

SELECT ID, Description

  from dbo.tablename

  where SUBSTRING( Description, 1, 1 ) = ' '


TheSmilingDBA Thomas LeBlanc MCITP 2008 DBA


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>