Viewing 15 posts - 5,476 through 5,490 (of 5,685 total)
GilaMonster (9/21/2010)
September 21, 2010 at 11:53 am
GilaMonster (9/21/2010)
Um, sorry, no.
CheckDB uses a hidden database snapshot. It doesn't take copies of tables within the DB its working on.
Because there's no way I'm gonna disagree with you until...
September 21, 2010 at 10:28 am
GilaMonster (9/21/2010)
Craig Farrell (9/20/2010)
September 21, 2010 at 10:20 am
You're looking for the HAVING clause
SELECT name,Age,empcode FROM tbl GROUP BY name, age, empcode HAVING count(*) > 1
September 21, 2010 at 2:10 am
ColdCoffee (9/21/2010)
Craig and Vekatraman, With all due respect to your wonderful attempts, both of your queries are not what the OP is expecting..
Hm, Coffee, you have a valid point. ...
September 21, 2010 at 2:03 am
chrisjkelly (9/21/2010)
September 21, 2010 at 1:38 am
One item of note: If you manually set the tempdb size via properties, it rebuilds to that size even though it resets the database. You may still need...
September 21, 2010 at 1:26 am
chrisjkelly (9/21/2010)
Thanks for the advice and for keeping it simple.
Is it safe to carry out a shrink on the tempdb? and would simply stopping our application service on the...
September 21, 2010 at 1:14 am
I'd personally use a proc with a bunch of IF/ELSE IF, if I had to do this. Pretty? No. Easy to maintain? No. Best way I've...
September 21, 2010 at 1:05 am
Well, once the db grows to a size it doesn't autoshrink, usually. If you're running DBCC regularly you'll want to leave the space there so it doesn't have to...
September 21, 2010 at 1:03 am
Since you admit you're not a DBA I'll do my best to keep this easy. 🙂
You can shrink the tempdb via the interface. Open the server up, open databases...
September 21, 2010 at 1:00 am
Well, if I'd ever seen a request for a tally table solution, this would be it. 🙂 Much easier to build out the necessary pre-array this way.
Check out this...
September 21, 2010 at 12:49 am
Here's a link to an article that describes what you're looking for:
It was the second link when I typed in at google: ms sql change object schema.
😀
The command you're looking...
September 21, 2010 at 12:23 am
Okay, what the check is trying to do is be able to scan the table, end to end, and make sure it's correct, allocated, etc etc.
To do this, without screwing...
September 21, 2010 at 12:17 am
Viewing 15 posts - 5,476 through 5,490 (of 5,685 total)