我使用下面的脚本在表格中填充2个单独的列:SEARCH_DESC
和SEARCH_TAG
。我正在运行它似乎没有错误,但它没有更新。这个数据有大约190行要更新 - 它只是文本的数量,它的速度慢还是脚本错了?按了 F5 但是唯一更新的行是最后一行ie。 SERV_ID = 47?
UPDATE some_table
SET SEARCH_DESC = 'This is the description text.',
SEARCH_TAG = 'word, word2, word3, word4'
WHERE SERV_ID = 38;
UPDATE some_table
SET SEARCH_DESC = 'This is the description text.',
SEARCH_TAG = 'word, word2, word3, word4'
WHERE SERV_ID = 45;
UPDATE some_table
SET SEARCH_DESC = 'This is the description text.',
SEARCH_TAG = 'word, word2, word3, word4'
WHERE SERV_ID = 47;