Viewing 15 posts - 1,126 through 1,140 (of 1,825 total)
Estimates differ a lot from actual row counts.
Are your statistics upto date? You have a few query hints to , i would recommend removing those at this stage, unless you...
January 8, 2010 at 3:40 am
something like this ?
select * from <your tab> outer apply (Select top(1)
...
January 6, 2010 at 5:10 am
Please post DDL and sample data
January 6, 2010 at 4:56 am
My initial instinct is to believe that the stored procedure(s) cannot be found.
So really that would only leave that the connection is pointing to another server / database.
You could add...
January 6, 2010 at 4:48 am
GilaMonster (1/6/2010)
January 6, 2010 at 1:54 am
lmu92 (1/5/2010)
GilaMonster (1/5/2010)
...And now on SQLTeam as well: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=137926 Just in case.
Oh, it was posted 3 weeks ago there too. http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=137201
With lots of assistance from lots of people.
It seems like...
January 5, 2010 at 3:41 pm
CirquedeSQLeil (1/4/2010)
English humor about teeny boppers.[/url] It is more of a chick flick - but has some...
January 5, 2010 at 1:07 pm
Adi Cohn-120898 (1/5/2010)
How do you define drop out of scope? My definition is leaving the code that the variable was declared in because it finished running (either because it...
January 5, 2010 at 5:32 am
Please see the CASE statement in BOL (Books on line)
January 5, 2010 at 3:18 am
then use MIN(Name) or MAX(Name) , your choice, to return a single 'name',
when you use GROUP BY, all returned columns have to be aggregate functions of contained in the GROUP...
January 5, 2010 at 3:12 am
SQLServer doesnt destroy the variable when it drops out of scope, for instance this works
declare @l integer
select @l = 1
while(@l<10) begin
declare @x integer
...
January 5, 2010 at 2:15 am
Would i be correct in assuming that this is course/school work ?
What exactly do you mean by 'dynamic' stored procedure ? How does that differ from a normal stored procedure.
January 5, 2010 at 1:12 am
Lynn Pettis (1/4/2010)
A true master knows when they know less than others think they know.
Very Zen like, wasnt that a line in Karate Kid II ? 😀
January 4, 2010 at 3:42 pm
Viewing 15 posts - 1,126 through 1,140 (of 1,825 total)