Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个名为的表LIST,谁能告诉我如何在sql server中替换表LIST下的所有数据
LIST
您可以通过以下命令替换 SQL 表中的字符串
Update <tablename> SET <columnname> = '<newstring>'
如果您有任何条件,您可以在上述行之后添加以下行
where <condition>
条件可以是
columnname = 'sometext'
UPDATE LIST SET COLUMN1 = 'SOMETHING BESIDES WHAT IS CURRENTLY IN COLUMN1'