Declare
@intTableCount int
set @intTableCount = (select COUNT(*) from INFORMATION_SCHEMA.TABLES
where TABLE_SCHEMA = 'dbo'
and TABLE_NAME = 'Table_Name')
select @intTableCount
It will trow an error if you omit the ( and ) .
Till Next Time
multiple first day of week
-
Nice trick:
http://richardlees.blogspot.nl/2015/08/supporting-multiple-first-day-of-week.html
No comments:
Post a Comment