我必须将此查询转换为 SQL Server:
Select SEQID AS ID, USERNAME AS USERID, FIRSTNAME + ' ' + LASTNAME AS NAME, CASE CONSULTANT WHEN 1 THEN 'Y' ELSE 'N' END CONS, CASE ASSIGN WHEN 1 THEN 'Y' ELSE 'N' END AS ASSIGN, CASE PRINT WHEN 1 THEN 'Y' ELSE 'N' END AS PRINT, CASE SHIPPING WHEN 1 THEN 'Y' ELSE 'N' END AS SHIP, ACTIVE from STAFFSV {0} order by SEQID
但我不明白 {0} 在 SQL Server 中会被转换成什么
答案 0 :(得分:4)
这不是完整的查询。 {0}
是查询的另一部分(可能是 WHERE 子句)的占位符,将由应用程序填充