Viewing 15 posts - 4,291 through 4,305 (of 7,636 total)
Can you show us the "sp_ProfitStatEX" procedure code please?
You cannot just generate 6 result sets and expect the client to treat them all as one result set. You have...
December 22, 2008 at 4:45 pm
Feliz Navidad!
December 22, 2008 at 4:34 pm
Yeah, I always forget that T-SQL has the SIGN() function.
December 22, 2008 at 4:29 pm
Kit Brandner (12/22/2008)
December 22, 2008 at 3:41 pm
I am not aware of anything that would be nearly as good as Views. TVF's if you have to (preferably inline), but Views wherever you can.
December 22, 2008 at 3:26 pm
jac (12/22/2008)
The Rational Guide to SQL Server 2005 Service Broker (Roger Wolter)and
Pro SQL Server 2005 Service Broker (Klaus Aschenbrenner)
I can not recommend the first book (Wolter). It seems...
December 22, 2008 at 3:20 pm
kathyoshea (12/22/2008)
December 22, 2008 at 12:59 pm
Because which columns/indexes would be relevant changes all the time, the compiler cannot determine them ahead of time. If you split them into separate queries or even procedures, then...
December 22, 2008 at 12:16 pm
I already did explain this:
Triggers and Service Broker activation procedures are different, because some kind of "activation" or "invocation" must occur, so there is no way for the T-SQL to...
December 22, 2008 at 8:05 am
Triggers have to handle multi-row changes, whereas stored procedures typically can only deal with a single row change at a time, so it can be clumsy (at best) to use...
December 22, 2008 at 8:03 am
Do you wantr to just turn a trace on & off, or do it need to receive the stream also?
If the first, then you can just issue the commands through...
December 22, 2008 at 7:49 am
There is no such function. However, you can emulate this with the following:
Select
Case When Sum(Cast(Col1 as int)) > 1 Then 1 Else 0 End
December 21, 2008 at 10:58 pm
Viewing 15 posts - 4,291 through 4,305 (of 7,636 total)