摘要:
构建两个临时表,将两个数据库结构信息导入。create Table #t1(ID Int Identity(1,1) Not Null Primary Key,tablename nvarchar(50) NULL,columnName nvarchar(50) NULL,columnIndex int null,columnType nvarchar(50) NULL)use 数据库1insert into #t1create Table #t2(ID Int Identity(1,1) Not Null Primary Key,tablename nvarchar(50) NULL,col 阅读全文
摘要:
构建两个临时表,将两个数据库结构信息导入。create Table #t1(ID Int Identity(1,1) Not Null Primary Key,tablename nvarchar(50) NULL,columnName nvarchar(50) NULL,columnIndex int null,columnType nvarchar(50) NULL)use 数据库1insert into #t1create Table #t2(ID Int Identity(1,1) Not Null Primary Key,tablename nvarchar(50) NULL,col 阅读全文