The below query will return 60 rows, how can I execute the statements using stored procedure in a single go.
SELECT 'UPDATE TEMP1
SET ' + COLUMN_NAME + '= 0' + ' WHERE '+COLUMN_NAME+ ' IS NULL'
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'TEMP1' AND DATA_TYPE = 'FLOAT'
AND COLUMN_NAME NOT IN('Sales','Net_Margin');