To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

HOME News MS SQL Oracle DB2 Access MySQL PHP Scripts Books Links DBA Talk


Go Back   Database Journal Forums > Related Sites > SQL Course

SQL Course SQL Course > Ask questions about the lessons on SQL Course 1 and 2. If you have problems > with the interface, please post in the Feedback forum

Reply Post New Thread
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-23-2002, 11:05 AM
SQL23 SQL23 is offline
Junior Member
 
Join Date: Sep 2002
Posts: 1
NULL value for a date field

What is the NULL value used for updating or inserting into a date field in SQL. The database is ACCESS 2000.
Reply With Quote
  #2  
Old 10-22-2002, 04:24 PM
sclark sclark is offline
Administrator
 
Join Date: Aug 2002
Posts: 21
First, you need to make sure that the field in the database accepts null values...you can set this in Table/Design mode. Also make sure that the field is set to Allow Zero Length. Then just enter '' for the value.
Reply With Quote
  #3  
Old 10-22-2002, 04:29 PM
sclark sclark is offline
Administrator
 
Join Date: Aug 2002
Posts: 21
You can also use something like this:

RS("field_name") = null
Reply With Quote
Reply Post New Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:26 PM.


DatabaseJournal Recent Articles


 » Grouping with SQL Server 2008

 » Conducting Service Broker Conversation Usi...

 » SQL Server Consolidation Initiative Under ...

 » Transaction Log Growth, do you need it?

 » New FileMaker Pro 10 Ships With Sleek New ...

Search Database Journal:
 





Acceptable Use Policy

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.