Insert a string with different characters

  • Hi,

    I need to insert a string ('DA'='T*') into a row under one of the columns in a table. Since it has different characters in it, how to insert it ? Thanks in advance

  • How about this?

    if object_id('tempdb..#chartemp')is not null drop table #chartemp

    create table #chartemp(

    charcol nvarchar(15) )

    insert into #chartemp

    values ('''DA''=''T*''')

    select charcol from #chartemp

Viewing 2 posts - 1 through 1 (of 1 total)

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