Viewing 15 posts - 1 through 15 (of 46 total)
Hi @Ronen,
Thanks for your information.
I already went through the link you shared and some others such as
https://blogs.msdn.microsoft.com/craigfr/2008/10/07/random-prefetching/
and
https://sqlserverfast.com/epr/nested-loops/
and i agree with...
December 11, 2018 at 2:39 am
Yes, left join is fixed better than inner join in this case 🙂
In my case, i don't need to calc to root node so inner join is find for me
Regards,...
September 14, 2012 at 4:10 am
Jason-299789 (9/12/2012)
However this code will work for any number of levels required though...
September 14, 2012 at 1:25 am
First of all,
Sorry that i don't follow the rule of forum, i will do that when create next threads 🙂
@dwain.c: thanks for your data and solution. I will edit...
September 11, 2012 at 8:00 pm
Welsh Corgi (7/17/2011)
Could you please post the DDL, INSERTS for Test Data, etc.Check out the first link.
hi ,
Because i'm still thinking about this problem and don't come up with...
July 17, 2011 at 9:16 pm
shairal_t (6/2/2010)
June 2, 2010 at 8:55 pm
Paul White (1/28/2010)
Create Procedure
If a procedure contains table-valued parameters, and the parameter is missing in the call, a default of empty table is passed in.
So, I would suggest...
January 28, 2010 at 7:02 pm
lmu92 (1/20/2010)
Where do you get that result set from?Instead of auto-generating column names you should ensure to get a useable result set in the first place...
I get from some sps...
January 28, 2010 at 3:52 am
Dave Ballantyne (1/20/2010)
sol-356065 (1/19/2010)
I mean something to the outside Select statement will auto generate a column name.
Why would you want such a thing ?
Imagine if it 'auto-generated' a name such...
January 20, 2010 at 4:11 am
Use dynamic sql is not what i mean in the first post.
If you don't know how much column which the result set will return and which column have a name...
January 19, 2010 at 11:55 pm
Thanks very much 😀
It took me one day to search and I finally found the way out in here.
Sol
January 15, 2010 at 2:35 am
Lamprey13 (10/14/2009)
sol-356065 (10/12/2009)
You need to apply an order to the data in order to determine what "first"...
October 15, 2009 at 5:26 am
@arun.sas:
thanks for your solution :), i checked performance of this method and my method, it is nearly the same(around 2mil records)
i just checked the time which the...
October 12, 2009 at 5:20 am
To ARUN SAS,
Although the sp_helptext return full length of sp, but it's just for one sp 🙂
To John Marsh,
Yeah, the sys.sql_modules help me very much,
thanks all of you
While i...
March 21, 2009 at 3:04 am
Thanks very much,
And i hope you don't take so serious about what i said :).
The result i expect is only for me to see, and it has nothing to do...
March 6, 2009 at 1:09 am
Viewing 15 posts - 1 through 15 (of 46 total)