Viewing 15 posts - 3,916 through 3,930 (of 6,486 total)
aaharris (3/27/2008)
I did actually think about doing it that way when I planned out the db structure, but decided against it mainly for two reasons:
1) ...
March 28, 2008 at 8:42 am
Mike - what does SELECT @@VERSION tell you? That will tell you what database engine you're running. I'm sorry to say - I suspect it's going to...
March 28, 2008 at 8:27 am
Also - I could swear that SET ROWCOUNT was "on its way out", i.e. being deprecated. I will have to see if I can dig that up.
March 28, 2008 at 8:22 am
The TOP syntax works for me if you put the TOP between the UPDATE and the name of the affected table.
As in -
UPDATE Top(@rowsperbatch)
...
March 28, 2008 at 8:20 am
Agreed - like CRC mentioned, CASE conditionally adjusts the row output, but it doesn't filter rows (prevent them from being displayed). Add a WHERE clause, and use that to...
March 28, 2008 at 7:18 am
Grant Fritchey (3/28/2008)
What scares me is medical data. I was working for a software start-up that provided software to doctors. Not only did it store full patient history, but...
March 28, 2008 at 7:13 am
If I understand it right (I did end up needing the data to figure this out) - you're looking to pull out the latest rowcounts by table, and compare them...
March 27, 2008 at 2:06 pm
There are quite a few articles in the Articles section dealing with just that... Among which:
March 27, 2008 at 1:07 pm
This might be heretical to some, but here goes anyway... Is there a critical reason to do every office every day? I mean - I see what you're...
March 27, 2008 at 12:24 pm
There's a SQL Server Tuning and Performance guide for Intel LanDesk here:
http://community.landesk.com/support/docs/DOC-2356
you might care to spend some time in there. According to it - you have an "IO bottleneck".
How...
March 27, 2008 at 11:31 am
Christopher Ford (3/27/2008)
SUM(OrderQty) OVER(PARTITION BY SalesOrderID)
That works fine...
Why can't I remember what it was about that, that would be really nice to have...Several people have...
March 27, 2008 at 11:17 am
Adam Haines (3/27/2008)
Thanks for doing the legwork :). I have been learning a lot of new stuff, in the past few days 😀
Notice I just said "it runs", and...
March 27, 2008 at 10:51 am
This runs:
drop table #mytemptest
go
create table #mytemptest (id int identity(1,1) primary key clustered,
...
March 27, 2008 at 10:03 am
Adam Haines (3/27/2008)
March 27, 2008 at 9:15 am
cjudge (3/27/2008)
Yes, the @@fetch_status test was mistyped in the second example - proves that code should never be cut-and-pasted.
I appreciate your thoughtful answer: rather than telling me not to...
March 27, 2008 at 8:58 am
Viewing 15 posts - 3,916 through 3,930 (of 6,486 total)