Click here to Skip to main content
15,861,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I have a SQl Query
in which I am Getting
The First Row Values as NULL
Like

NULL   NULL             NULL         NULL
1        2               3            4
23       56              67           89

how can I suppres the Null values .
or null valued Rows
Please Assist

[edit]text block added[/edit]
Posted
Updated 17-Nov-12 1:56am
v2

1 solution

Add a where clause to your query:
SQL
select col1,col2,col3 from [tablename]
where (col1 is not null and col2 is not null and col3 is not null) 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900