insert into T_BookInfo(bookname,volnumber_n)
select 书名,卷名 from dbo.Sheet1$ where 卷名 is not null
怎么把一列表里面包含某个字符都改成另外一个字符,就像word里面的替换功能一样的语句
update table_name set column=replace(column,'ABC','123')
获取特定表的所有列名
sp_help 表名
跨表操作:insert into dbo.table1
select aa,
bb,
ccfrom db2.dbo.table2