Viewing 15 posts - 61 through 75 (of 93 total)
sorry db has gone from 2000 to 2005 so no justification is needed. All I want is to insure that as a DBA I am making the most of the...
August 25, 2009 at 9:03 am
ALZDBA (7/14/2009)
So it will only be active with your session for your session !
Why are you trying to fill the gaps ?
Are you reaching...
July 14, 2009 at 5:28 am
HI Lamprey,
Sorry thanks for your help too.
Many thanks
July 7, 2009 at 6:08 am
HI Wayne,
Thats great that eactly it!! Thanks so much in future I will post a sample.
Many thanks
July 7, 2009 at 4:49 am
Its only a theory it should be applicable to things which match the condition
1 the cursor selects only distinct ID's
2 each steps it selects from a different table using that...
July 6, 2009 at 9:59 am
Hi thanks for that but I only want the oldest record for each ID. That is why I am using the cursor. get all the disinct IDs from table...
July 6, 2009 at 9:42 am
hi Its okay, i have used a temp table instead. Thanks for the help you got me going on the right track.
declare @DateTime datetime
declare @tablename varchar(100)
declare @sql varchar(8000)
create...
May 8, 2009 at 7:50 am
I get the following error
EXECUTE cannot be used as a source when inserting into a table variable.
May 8, 2009 at 7:46 am
Great help people. Many thanks
May 7, 2009 at 10:14 am
Erm you might want to copy and paste to notepad
November 10, 2008 at 7:07 am
Christopher Stobbs (11/10/2008)
Is the plan the same or different?Could you post the plan for sum of us to look at?
|--Filter(WHERE:(([prvsp].[PROCA_REFNO]=202052 AND [prvsp].[DISCH_DTTM]<>NULL) AND isnull([prvsp].[ARCHV_FLAG], 'N')='N'))
...
November 10, 2008 at 7:06 am
No large data updates, Also the query runs in under a second when they exuction plan has been worked out.
November 10, 2008 at 6:24 am
Many thanks extremely helpful
November 3, 2008 at 8:39 am
Viewing 15 posts - 61 through 75 (of 93 total)