【发布时间】:2011-03-14 11:16:40
【问题描述】:
SQL 表:
sys.types 系统对象 系统列 系统索引 INFORMATION_SCHEMA.COLUMNS
你能帮我把它转换成oracle语法吗
DECLARE @tableUpdateCount tinyint
set @tableUpdateCount = 0
/*
* CALCDETL.ALIAS - 1
*/
if exists (select * from syscolumns where id = (select id from sysobjects where name = 'ABC' and type = 'U') and name = 'ALIAS' and xusertype = (select user_type_id from sys.types where name = 'nvarchar') and prec = 20)
begin
set @tableUpdateCount = @tableUpdateCount + 1
print ' '
print '1. ABC.ALIAS exists'
end
是否有任何工具可以轻松地将 sql-to-oracle 语法转换?
谢谢!
【问题讨论】: