TeachingNote

sqlserver创建相同结构的表

电脑版发表于:2021/5/26 16:48


--sqlserver创建相同结构的表,id可以随便乱填这样没有数据就只有结构

select * into XXX_History from XXX where Id = 200000

注意外键类似这些不会复制



关于TNBLOG
TNBLOG,技术分享。技术交流:群号677373950
ICP备案 :渝ICP备18016597号-1
App store Android
精彩评论
{{item.replyName}}
{{item.content}}
{{item.time}}
{{subpj.replyName}}
@{{subpj.beReplyName}}{{subpj.content}}
{{subpj.time}}
猜你喜欢