Viewing 15 posts - 48,736 through 48,750 (of 49,571 total)
Yes, but will either need a cursor or a hard-coded limit on how deep the hierarchy will go.
Which is your preference?
April 19, 2007 at 11:08 pm
Got connection pooling in place? That would account for the remaining connections. Reusing an open connection is faster than opening a new.
As for the slow down, there could be hundreds...
April 19, 2007 at 10:55 pm
A connection will stay open until it's explicitly closed. SQL doesn't close them automatically. If they're awaiting command, then they are idle.
There's a column in sysprocesses waittime and another lastwaittype....
April 19, 2007 at 8:36 am
Are you using SQL 2000 or 2005? It's very easy on 2005 but on 2000 it can be quite tricky.
How deep can the hierarchy go?
April 19, 2007 at 7:03 am
Could you post your table structure and some sample data please? It's a little difficult to write a working query without them.
April 19, 2007 at 5:26 am
What's the wait time on those writelog waits?
Is the log on a dedicated drive?
April 19, 2007 at 2:51 am
A million rows is very small. Nonclustered indexes should complete in under 5 min.
While the index is being built, the table will be read-only, but there's no need to...
April 19, 2007 at 2:31 am
The disappearing essages is related to session timeout. I've had similar issues on other forums too. I normally just Ctrl-A, Ctrl-C before hitting post.
April 18, 2007 at 3:09 am
That will probably be fine then. Just wanted to be sure that Field2 wasn't a char(500) or something like that.
April 17, 2007 at 1:00 am
What datatypes are Field1 and Field2? If 2 is a wide type then it's better if it isn't in the cluster. The wider a clustered index key, the wider all...
April 17, 2007 at 12:52 am
Run DBCC CheckDB to see if you have any data corruption.
Since you say the users connect as SA, are you sure someone didn't accidentally drop the tables? That's the most...
April 16, 2007 at 2:29 am
I know there was a discussion panel at PASS last year regarding new certifications. I got an invite but didn't attend.
Sounds interesting.
April 10, 2007 at 4:06 am
If you're planning to do cross database queries, make sure you're not using application roles.
Also watch for broken ownership chains
April 9, 2007 at 1:59 am
Wow. This looks really good.
Vry good timing too, seeing as I'm writing 441 on Friday.
April 9, 2007 at 1:37 am
Viewing 15 posts - 48,736 through 48,750 (of 49,571 total)