Results 1 to 2 of 2

Thread: Hexvalue in trigger or procedure

  1. #1
    rvdw Guest

    Hexvalue in trigger or procedure


    Is there somewhow the possibility to convert an integer to a hex value , similar to the hex() function in VB ? I want to create a trigger that gives each record a rowid, and part of this rowid is the hex. representation of an integer.
    At this moment people who want to upload data have to use a vb routine, so i want to replace this by a trigger or procedure alike ...
    any help is welcome...
    Tks,
    rov

  2. #2
    MAK Guest

    Hexvalue in trigger or procedure (reply)

    here we go

    select convert(timestamp,123)
    select convert(timestamp,1)


    ------------
    rvdw at 5/27/2002 4:08:25 PM


    Is there somewhow the possibility to convert an integer to a hex value , similar to the hex() function in VB ? I want to create a trigger that gives each record a rowid, and part of this rowid is the hex. representation of an integer.
    At this moment people who want to upload data have to use a vb routine, so i want to replace this by a trigger or procedure alike ...
    any help is welcome...
    Tks,
    rov

Posting Permissions

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