Solved

QUERIES AND SINTAX

Posted on 2008-10-06
6
179 Views
Last Modified: 2013-11-11
What is the syntax for :

SELECT     *
FROM         dbo.[TableName]
WHERE     (Status = 'NULL') If I want a view to show all records that have a NULL value in a specified field.

Thanks.
0
Comment
Question by:gabepcsolutions
  • 2
  • 2
  • 2
6 Comments
 
LVL 11

Expert Comment

by:indianguru2
ID: 22651867
SELECT     *
FROM         dbo.[TableName]
WHERE     (Status is 'NULL')
0
 
LVL 65

Expert Comment

by:Jim Horn
ID: 22651869
SELECT *
FROM TableName
WHERE Status IS NULL

btw, it's spelled Syntax.  
0
 
LVL 11

Accepted Solution

by:
indianguru2 earned 250 total points
ID: 22651872
Sorry this one ...

SELECT     *
FROM         dbo.[TableName]
WHERE     (Status is NULL)
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:gabepcsolutions
ID: 22651914
Thanks guys.

How do I copy one or multiple tables from one database to another ?
0
 
LVL 65

Assisted Solution

by:Jim Horn
Jim Horn earned 250 total points
ID: 22651951
>How do I copy one or multiple tables from one database to another ?
EE etiqute dictates that you ask this as a separate question, as it's completely different from your original question, and not as a follow-on.
0
 

Author Comment

by:gabepcsolutions
ID: 22651985
You're right, sorry.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

821 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