复制表(只复制表结构)
select top 0 * into b from a
拷贝表(复制表数据)
insert into b(a,b,c)select d,e,f from a;
跨数据库之间表的拷贝(具体数据使用绝对路径)
insert into b(a,b,c)select d,e,f from a in '具体数据库' where 条件
随机选取记录
select newid()
随机取出50条数据
select top 10* from tablename order by newid();