读书人

在指定行中插入数据?解决思路

发布时间: 2012-02-27 10:00:22 作者: rapoo

在指定行中插入数据?
如何在指定行中插入数据。

ID Name Type Img
1 aa b null
2 bb b null

Img字段为空,我想在指定的ID 上插入Img字段内的内容。
请问该怎么写?

[解决办法]
如何在指定行中插入数据。

ID Name Type Img
1 aa b null
2 bb b null

Img字段为空,我想在指定的ID 上插入Img字段内的内容。
请问该怎么写?

update 表
set img = content
where .................

读书人网 >SQL Server

热点推荐