Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2003
    Posts
    23

    Talking Unanswered: Castin Between Data Types

    I don't remember the cast syntax in DB2 (i'm a SQL Server 2000 often user, not a DB2 one)..
    Can anyone helps me?
    Alx_81 =)

  2. #2
    Join Date
    May 2002
    Location
    General Deheza, Cba, Arg.
    Posts
    276
    in db2 is:
    cast(field as datatype ccsid [xxx])

    example:

    cast(myfield as varchar(20))

    saludos,
    Abel.

Posting Permissions

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