Viewing 15 posts - 5,311 through 5,325 (of 14,953 total)
Jeff Moden (1/13/2011)
Stefan Krzywicki (1/13/2011)
If they see a penny on the ground, they leave it there.
Maybe other folks will leave it, but I'll stop and pick it up. I've...
January 14, 2011 at 7:22 am
Tom.Thomson (1/13/2011)
January 14, 2011 at 6:49 am
That depends on who has access to create objects and run scripts in that database, and what rights they have. If, for example, you set the database to Trusted,...
January 13, 2011 at 2:25 pm
Are you doing range scans on the indexes, or just seeks? (There are DMVs that tell you that.) If it's just seeks, then fragmentation won't matter much.
January 13, 2011 at 1:45 pm
I'm pretty sure I've always seen them as single blocks of spaces on a drive, not fragmented all over. But that might be an artifact of how they're set...
January 13, 2011 at 1:42 pm
Do you have a Numbers/Tally table?
If so, this is pretty easy to do.
select *,
substring(LargeColumn, Number*255, 255) as SplitColumn
from dbo.MyTable
inner join dbo.Numbers
on Number <= len(LargeColumn)/255;
January 13, 2011 at 1:08 pm
lnoland (1/13/2011)
GSquared (1/13/2011)
For all practical purposes, the clustered index IS the table. If you update anything in the table, it has to update the clustered index.
I thought, perhaps, that...
January 13, 2011 at 12:33 pm
Okay, I found the same thing. Merge doesn't "avoid" or "fix" the problem, it just explicitly makes it clear that there's a problem by raising an error.
Honestly, since it's...
January 13, 2011 at 12:19 pm
Trustworthy on a database essentially means exactly what it says: the code in the database is "safe to execute". You've verified it, and you're telling the engine that it's...
January 13, 2011 at 12:11 pm
For all practical purposes, the clustered index IS the table. If you update anything in the table, it has to update the clustered index.
January 13, 2011 at 12:07 pm
Stefan Krzywicki (1/13/2011)
Steve Jones - SSC Editor (1/13/2011)
Stefan Krzywicki (1/13/2011)
January 13, 2011 at 12:06 pm
Merge and Merge Into are the same in T-SQL. It's like Insert Into.
January 13, 2011 at 12:02 pm
I'm seeing a lot of confusion on this subject when I look around the web for it.
Personally, I'd set up a testbed and try out some options on it. ...
January 13, 2011 at 11:56 am
Eric Russell 13013 (1/13/2011)
GSquared (1/13/2011)
...
Legend has it (might be true) that there was a guy who, in the 1930s in the US, became certain that war was going to break...
January 13, 2011 at 9:49 am
Anything else I can think of involves basic database refactoring. Like partitioning tables instead of archiving, or even more complex solutions.
I think modifying the triggers is going to be...
January 13, 2011 at 9:47 am
Viewing 15 posts - 5,311 through 5,325 (of 14,953 total)