This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
要安装SqlServer Management Studio 2012客户端,不要使用Navicat Prenium !!!
select 'if not exists (select * from syscolumns where id=object_id('''+table_name+''') and name=''recordyear'') ALTER TABLE '+table_name+' ADD recordyear INT;' as sql from information_schema.tables;