Viewing 15 posts - 57,496 through 57,510 (of 59,049 total)
Ian,
Nice job at producing the return that the original poster actually asked for... there is one little problem... you cannot include the ELSE clause that you have or you get...
October 1, 2006 at 11:01 am
Even though their occurance is really unacceptable, deadlocks are about as normal (I didn't say "as frequent") as regular locking anytime you have both a SELECT and an UPDATE in the...
October 1, 2006 at 9:43 am
I'm thinking that formatting the message is much less important that formatting the code for readability...
It only took about ten minutes to...
September 30, 2006 at 9:44 pm
Forgot something else... if you parameterize the table name for the small names table, you can pass a parameter to use different name tables... that will allow you some extreme...
September 30, 2006 at 11:08 am
You might also want to remember that the minimum resolution for the DateTime data type is 3 milliseconds, not 2 as posted in the original code.
September 30, 2006 at 10:20 am
It would appear that Isa want's to manufacture data (for test or otherwise) with a random number generator for the "Aro_ID" column.
Isa, one question that remains is "Can there be...
September 30, 2006 at 10:13 am
OK, Bruce... here you go...
You were worried about the performance of a cross-tab (aggregate functions)... as some have suggested (especially Serqiy), that really shouldn't be a concern. I know... you've...
September 30, 2006 at 9:30 am
Jun,
Crud... Dan's right... sorry we got off track...
To reiterate Dan's question, what should the output look like?
September 30, 2006 at 5:50 am
That'll do... I was just worried about the fact that you said it uses "recursive search on Customer table". To me, recursion is when a proc or function calls itself......
September 29, 2006 at 7:56 am
That's why "trick" was in quotes ![]()
September 29, 2006 at 7:50 am
Unorthodox? If you think about it, the table structure is similar to that which XML offers (thought everyone but me loved XML
) but...
September 29, 2006 at 7:48 am
You can have millions of recursive calls so long as you don't exceed 32 levels of nesting... same as number of nested triggers, nested stored procedures, etc. Write a function...
September 28, 2006 at 11:00 pm
It is if you make it table driven for the days of the week based on language...
But I get your point... to be portable, you would have to use one...
September 28, 2006 at 10:53 pm
Warning: Recursion is good only to 32 levels and then BOOM!!! ![]()
September 28, 2006 at 7:23 pm
Then, simply change the English days of the week to something the non-English speaking server understands. ![]()
September 28, 2006 at 6:53 pm
Viewing 15 posts - 57,496 through 57,510 (of 59,049 total)