What is the equivalent of the Oracle “Dual” table in MS SqlServer?

前端 未结 4 2011
别那么骄傲
别那么骄傲 2021-01-01 08:10

What is the equivalent of the Oracle \"Dual\" table in MS SqlServer?

This is my Select:

SELECT pCliente,
       \'xxx.x.xxx.xx\' AS Serv         


        
4条回答
  •  被撕碎了的回忆
    2021-01-01 08:47

    You do not need DUAL in mssql server

    in oracle

    select 'sample' from dual
    

    is equal to

    SELECT 'sample'
    

    in sql server

提交回复
热议问题