Solved

select statement - withou null value

Posted on 2011-02-11
3
250 Views
Last Modified: 2012-06-22
I have a table which contain 73 fields. I don't want to get any fileds that has null value. How could I query it?

select *from table1 where field1 in not null, etc. One at a time?  Is there a better way?
0
Comment
Question by:VBdotnet2005
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
Rick earned 125 total points
ID: 34875810
select * from table
where field1 is not null
     and field2 is not null
     and field3 is not null

No better way.
0
 

Author Comment

by:VBdotnet2005
ID: 34875918
ok. Is there a way to get field(73) just header in one shot?
0
 

Author Comment

by:VBdotnet2005
ID: 34875933
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now