Results 1 to 4 of 4

Thread: Timestamp datatype in SQL 7

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    80
    I have a timestamp in one of my tables and I was wondering is there anyway to translate the value (ex. 0x00000000000000DC) that SQL 7 stores in the field into a legible date and or time.

    Thanks,
    Jack Vinitsky

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    A table of yours or a system table?

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    The Timestamp data type is a binary field and is NOT an actual Date/Time stamp. It is a unique value within your database and is updated whenever the record is inserted or updated.

    This field is often used to determine if a record has been updated by one client while another client is about to edit/update that same record. If the value in the timestamp field does not match that which is in the ADO recordset, then your record needs to be refreshed.

    There was a nice article in VBPJ a few months back, and they explained how to use the timestamp data type so you can have multi-user apps WITHOUT locking any records

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    80
    The field is in one of my tables. But since it's a binary field I guess I can't do much with it directly.

    Thanks for the info guys I appreciate it.

    -Jack

Posting Permissions

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



Click Here to Expand Forum to Full Width