Viewing 6 posts - 196 through 201 (of 201 total)
Halcyon (5/20/2010)
Please see below:
set nocount on
go
begin try
begin transaction
declare @counter int
set @counter = 0
;with remove_table as
(
select row_number() over (order by table_name asc) as id, table_schema + '.' + table_name...
May 20, 2010 at 5:27 am
Jeff Moden (5/19/2010)
May 19, 2010 at 11:56 pm
Okay, how about this. Tried on your 2 dates and looks okayis to me. The MS i think is due to DateTime datatype.
DECLARE @LastUpdated datetime
DECLARE @Today datetime
DECLARE @Years int
DECLARE @Months...
May 18, 2010 at 8:30 am
You are in each case returning the total difference between @LastUpdated and @Today. So in the last ur getting ALOT of numbers and then trying to convert that to varchar(4)....
May 18, 2010 at 6:37 am
Even though i actually got this right the wording of the question aint that good. And that could be part of the reason why the correct/incorrect ration is out off...
April 20, 2010 at 12:41 am
To show my total noobness... what does the category "SSC" stand for?
Doh... of course "Sql Server Central"... its to early.
March 19, 2010 at 1:07 am
Viewing 6 posts - 196 through 201 (of 201 total)