Taggs Posted March 14, 2006 Posted March 14, 2006 Can any one help me please.I'm after selecting rows that are blank but I'm having difficulty. row 1 row2 row3 ------------------------Col1 A ACol2 A A ACol3 A A Col4 A A BCol5 A A BSome of the things I've tried using sqlselect * from Tablename where row3=''select * from Tablename where row3=nullselect * from Tablename where len(row3) <1I would be after the returned record set to consist of Col1 and Col3
ihnm Posted March 14, 2006 Posted March 14, 2006 Taggs,Try SELECT * FROM TableName WHERE row3 is nullIf I am not mistaken, ANSI NULLS would prevent WHERE row3 = nullfrom returning true, since ANSI NULLs are treated as Unknown values. If we don't know the value, we can't say it's equal to something else.. even another unknown.Cheers,~ihnm
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now