Viewing 15 posts - 121 through 135 (of 208 total)
Take a look at UNPIVOT operator in BOL.
April 15, 2008 at 5:34 am
If linked server is not on a fast connection, it's the latency that makes it slow - each insert waits for reply. So, you can insert data to a local...
April 15, 2008 at 5:28 am
Right, but Steve once mentioned that QoD is not about best practices. Some are about bad practice, probably to spark discussions like this, which is OK for me.
If the solution...
April 15, 2008 at 5:08 am
select sum(salary*age)/sum(age)
April 15, 2008 at 4:53 am
Good editorial. Jeff, well worded rules, they remind me of 3 rules of robotics. 🙂
Most of customer requests break the first rule. Then there are poorly thought requests that introduce...
April 15, 2008 at 3:19 am
kevriley (4/15/2008)
That's one of the attributes...
April 15, 2008 at 3:12 am
They're truncated visually as it sizes column based on data size. You can always enlarge the column to see full column names.
April 11, 2008 at 8:41 am
I don't think there is much sense putting such code into trigger, as it unnecessarily complicates logic. It's the duty of client to send a correct update/insert/delete statement containing only...
April 11, 2008 at 8:17 am
My apologies, Paul.
It indeed wasn't harsh.
I first read this:
http://www.simple-talk.com/sql/backup-and-recovery/pop-rivett-and-the-suspect-database/
That would be a bit useful if they were on SS2000, but they're not. Please check which forum you're in before posting...
April 11, 2008 at 2:18 am
If you rebuild clustered index explicitly with ALTER, you have to rebuild other indexes too.
DBReindex rebuilds them all, in SSMS just run:
DBCC DBReindex ('[database.]schema.table')
April 10, 2008 at 3:23 pm
Of course. I stated that what Paul wrote is correct, just that there's no need to be harsh. Most of things from ss2k work fine on ss2005, though some should...
April 10, 2008 at 3:38 am
Is there anyway to build a SQL Update that can test the fields during the update and not update them if they are the same, but still update fields that...
April 10, 2008 at 3:25 am
Ouch, your second harsh post on this topic. While it is true, proper directions are far more relevant than exact steps. If you always provide exact steps to solve the...
April 10, 2008 at 2:47 am
Backup with truncate_only restarts the log file, but does not shrink it.
Huge log file means there are huge table transactions and/or transactions over huge blobs. So the source of problem...
April 10, 2008 at 2:28 am
KB (4/9/2008)
April 10, 2008 at 2:18 am
Viewing 15 posts - 121 through 135 (of 208 total)