Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2008
    Location
    Arizona
    Posts
    2

    Wink Unanswered: Clear a date field

    I need to make it possible for a user to clear a date field in a SQL Server database from a VB6 program. It's not as simple as it sounds. Any comments?

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Code:
    UPDATE your_table
    SET    your_date_field = NULL
    WHERE  <where condition>
    George
    Home | Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •