Why Hexidecimal

  • Hi all,

    Why would you use Hexidecimal in SQL ?

    Other than for fun?

    Thanks

    Chris

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • How would doing anything with hexidecimal be fun?

  • HEre are two examples of the fun side of it:

    SELECT REPLACE(0x5768617473206e6f742066756e2061626f75742074686973,'Check This','Out')

    print replace(0x2027202729,0x20,'print replace(0x2027202729,0x20,')

    😎

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • I would use it to store binary data.

  • You need to get yourself a hobby.

  • Thanks Michael E 🙂

    Most my mates same the same thing, I'm working on it 😀

    Michael J, please could you give me an example?

    thanks

    Chris

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply