Viewing 15 posts - 46,426 through 46,440 (of 59,062 total)
Ya gotta love it when the ops cooperate.
December 22, 2008 at 5:17 pm
jac (12/22/2008)
December 22, 2008 at 5:11 pm
Using Luke's good code example, you can label to "sum", as well...
--create test table
CREATE TABLE #test (
id INT,
amount MONEY)
--insert sample data
INSERT INTO [#test]
SELECT 1,10.00
UNION ALL
SELECT 1,20.00
UNION ALL
SELECT 2,10.00
SELECT CASE...
December 22, 2008 at 4:38 pm
That's good advice if you're going to do something like that... but, most maintanence doesn't require a single connection like that. Not sure that's enough justification to give up...
December 22, 2008 at 4:32 pm
kashifyaqoob (12/22/2008)
It is really helpfull for me. Thanks.
Be very careful.... anytime you find the need to update or insert your own numbers into an IDENTITY column, you're probably doing something...
December 22, 2008 at 4:28 pm
Japie Botma (10/21/2005)
December 22, 2008 at 4:26 pm
Um.... I don't know much about IIS, but I'm pretty sure that you're going to have to make a trip to OSQL via a command shell call.
The best thing to...
December 22, 2008 at 4:18 pm
Here's a real cheater method...
SELECT SIGN(SUM(Col1+0)), SIGN(SUM(Col2+0)), SIGN(SUM(Col3+0))
FROM SomeTable
December 22, 2008 at 4:08 pm
Not sure I spelled it right but...
"Gung hay fat choy"... happy new year!
December 22, 2008 at 3:54 pm
Also, if the code really isn't "proprietary", post your procedureal code and let us have a go at it, eh?
December 22, 2008 at 3:45 pm
Kit Brandner (12/22/2008)
December 22, 2008 at 3:39 pm
leonp (12/22/2008)
2. It has 7-8 processing steps for each of...
December 22, 2008 at 3:21 pm
In most cases, yeah...
In that case, I dunno what the original problem was.
December 22, 2008 at 3:16 pm
Perry Whittle (12/22/2008)
Jeff Moden (12/22/2008)
Thanks for the kudo, J. :blush:better than a pork chop 😀
Heh... ya know? And doesn't the word "kudo" sound cool? Sounds like the name...
December 22, 2008 at 3:14 pm
J (12/22/2008)
Now, where is that article on the pitfalls of CLR? Eh?
Here's the problem with that... long before the move to the new forum on SSC, Matt Miller and I...
December 22, 2008 at 3:10 pm
Viewing 15 posts - 46,426 through 46,440 (of 59,062 total)