2017-04-18 43 views
0

例如,我创建了一个事务数据,包括名称,位置和ID。现在我创建了另一个说日期的专栏。我将如何分别更新每一个并包含每个日期?将列数据插入到已创建的表中SQL

因此,这是之前

enter image description here

我的表,现在这是我的表后

enter image description here

如何对让说的TransactionID 12交易日增加信息?

+0

提供更多信息,请。 – jake

+0

使用更新加入 –

+0

当然,我更新了原来的问题 – DataStructors23

回答

0
update MSTransaction 
set TransactionDate = ('2015-12-17') 
where TransactionID = 12 
0

这是T-SQL语法

Update TableName set TransactionDate = DateTimeValue 
Where TransactionID = 12 
相关问题