Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timestamp field in sybase.

Status
Not open for further replies.

johnvai

IS-IT--Management
Oct 4, 2003
127
LB
I want to select all the records that have Date2 field as null and the Date2 field is timestamp data type and allownull.
can you give me an sql statement wich shows me all the records that have date2 field as null??

select date1 from AAA where [Len(date2)=0 or Val(date2)=0 or isnull(date2) =true or isempty(date2)=true] are not working from VB.

Thanks

 
Code:
select date1 from AAA where (date2 is null)

hope this helps

David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top