Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2005

    Unanswered: Help with Simple concatenation

    I want to concatenate a string with a int and I can't do it.

    I'm using Sybase 12.5

    here is an example of whay I'm trying to do

    declar @myvar int

    set @int = 1

    print 'int is "+@1

    Does anybody know how or if this can be done?

  2. #2
    Join Date
    Dec 2005
    Assuming you want to print out int value -

    declar @myvar int

    select @myvar = 1

    print "int is %1!", @myvar

Posting Permissions

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