惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News
G
Google Developers Blog
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
Jina AI
Jina AI
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
D
DataBreaches.Net
V
V2EX
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
B
Blog
博客园 - 叶小钗
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
P
Proofpoint News Feed
A
About on SuperTechFans
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog

博客园 - wenbo

启用 Sql Server 代理 radio 合并DataTable c#分页打印类 ASP.NET安全性 DataFormatString 随机数 alter table SQL数据库用户只有“名称”而无“登陆名”解决 override,new location.href 如何用js控件div的滚动条,让它在内容更新时自动滚到底部? 获取当前地址 JS获取当前URL Javascript 操作select控件大全(新增、修改、删除、选中、清空、判断存在等) 获取下拉列表选中项的值和文本 c# c#分页样式 onperInit_onLoadComplete 清空日志 VS2005快捷键大全
sql
wenbo · 2009-04-18 · via 博客园 - wenbo

USE tempdb
GO
Create TABLE #t1 (c1 int NOT NULL, c2 char(5), c3 char(5),
c4 char(5))
GO
Create TABLE #t2 (c1 int NOT NULL, c2 char(5), c3 char(5),
c4 char(5))
GO

--数据赋值
Insert #t1 values (1,'hello','there','fred')
Insert #t2 values (1,'how','are','you?')

--更新数据
Update #t1 SET #t1.c2 = #t2.c2, #t1.c3 = #t2.c3,
#t1.c4 = #t2.c4
FROM #t2
Where #t1.c1 = #t2.c1

--检查结果
Select * FROM #t1

==============================
select top 0 * into B from A
insert B select * from A