Hi
how can i get a NotNull and Null fields using sql query
Null Column using SQL Query
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Posted Jul 6, 2011, 1:22 AM EDT
while creating the table fields itself we can specify whether the particular filed can accept null values or not...
Ex
CREATE TABLE [dbo].[mdpatdat](
[RecStat] [char](1) NOT NULL,
[Entry_User] [char](3) NOT NULL,
[Entry_Date] [datetime] NOT NULL)
Hope it helps....
With Regards
P.Krishna Prasad
Suthish NairRank #92 · 22.8K reputationPosted Jul 6, 2011, 1:37 AM EDT
Using this query you can find the table informations..