Viewing 4 posts - 1 through 4 (of 4 total)
save yerself some typing:
if object_id('dbo.table_name') is not null
drop dbo.table_name
toss that at the top of the script too before dropping the sp ahead of the create statement
July 23, 2008 at 7:03 am
The term IT guy, I've found, is usually only used in small companies where the department is 5 people.
If IT is a big part of your company, then the desktop...
June 26, 2008 at 7:47 am
why not just datediff() the number of days between the parameter and getdate() - then divide that number by 365.25?
May 23, 2008 at 12:35 pm
just do this to retrieve the element count for the loop - we've had to do this a lot..
select @max-2 = @x.value('fn:count(/Employees/Employee)','int')
or you could even include the xpath...
March 26, 2008 at 7:29 am
Viewing 4 posts - 1 through 4 (of 4 total)