Results 1 to 2 of 2

Thread: Line Feed Characters in String Insert

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2004
    Posts
    308

    Line Feed Characters in String Insert

    Hi,

    Can anyone help with how to insert a line feed character in s string in a Stored Procedure ? Using Char(10) or Char(13) doesnt seem to want to work.

    Thanks

    Chubby..

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Line Feed Characters in String Insert

    Maybe post your code and explaining what "doesnt seem to want to work." would help.

    Code:
    Declare @Temp varchar(50)
    
    set @Temp = 'Hello' + char(10) + 'World'
    
    Print @Temp

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