LL – Laxmi Lal Menaria Blog!
SELECT 'UPDATE table SET [' + name + '] = NULL WHERE [' + name + '] = '''';' FROM syscolumns WHERE id = object_id('table') AND isnullable = 1;
Laxmi Lal Menaria
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.