Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 SQL Server 中声明 Oracle 的以下语句:
DEFINE SYNTEMPO_USER_NAME=&SYNTEMPO_USER_NAME
谢谢,
Declare @myVar varchar(100); -- or nvarchar, etc. Set @myVar = 'literal'; Select @myVar = mycolumn from mytable where mytable.tableid = 1;