【发布时间】:2020-04-04 11:07:01
【问题描述】:
我在 SQL Server 中有一段代码。
我正在尝试将其转换为 ORACLE 脚本。这段代码是否对称翻译并不重要。主要是用原生的方式解决问题。
DECLARE @tabForTextToReplace AS TABLE (textForReplace nvarchar(200))
set @execSQLCommand='select top 1 ' + @viewColumnName + ' from ' +
@viewName + ' where obj_ID='+cast(@receiverID as varchar(50))
INSERT into @tabForTextToReplace exec sp_executesql @execSQLCommand
【问题讨论】:
标签: sql-server oracle oracle11g