declare @str nvarchar(50)
declare @t nvarchar(10)
set @str='hello world!'
set @t='你好'
要求结果为:"hello world!-你好"怎么做

解决方案 »

  1.   


    declare @str nvarchar(50)
    declare @t nvarchar(10)
    set @str='hello world!'
    set @t='你好'
    PRINT @str + '-' + @t
      

  2.   

    declare @str nvarchar(50)
    declare @t nvarchar(10)
    set @str='hello world!'
    set @t='你好'
    select @str+'-'+@t
      

  3.   


    PRINT @str + '-' + @t
      

  4.   


    谢谢,请问ACCESS写法也一样吗?
      

  5.   


    谢谢,请问ACCESS写法也一样吗?
      

  6.   


    我用ACCESS用,好像不行呢!!!