0
SELECT
name as [dbname]
FROM
sys.databases
-- for each [dbname]
--update @[dbname] [dbo].[tb_Setting] -- this is the loop I need help with
SET
currentvalue = 'Powered by WaqarAttari'
WHERE
Title = 'MyFooter' and currentvalue = 'Powered by WaqarAttari'
我想幫助在本節循環在SQL查詢的SQL Server 2008
-- for each [dbname]
--update @[dbname] [dbo].[tb_Setting] -- this is the loop I need help with