Viewing 15 posts - 13,516 through 13,530 (of 18,923 total)
And where's the original poster at?? We're about ready to close this thread out
.
September 6, 2005 at 6:28 am
There's one thing you forgot. Don't trust the execution plan. Use the profiler and see the actual execution stats before making a decision. I've already see 50/50...
September 5, 2005 at 9:43 pm
Hmm, I meant the single query with a covering index (where both columns are in ONE index).
September 5, 2005 at 8:42 pm
Have you tried with a covering index (1 index with both columns) and checking the derived table version?
September 5, 2005 at 7:02 pm
exec sp_rename 'tablename.colname', 'newcolname', 'COLUMN'
September 5, 2005 at 9:50 am
That's the simple way... the problem is that if you have a table with 100 text columns and a few million rows, it'll take hours/day to finish this. While...
September 5, 2005 at 9:48 am
AS I said... that kind of table should have the username as the pk.
September 5, 2005 at 1:22 am
DDL = the create script (create table...)
Use EM to generate those, I don't mind about the extra columns.
September 5, 2005 at 1:02 am
No it's faster (assuming it is) because both search condition can use a single index seek, instead of possibly a scan. So I'd definitly check out the union version.
September 4, 2005 at 1:30 pm
It's also a matter of missed opportunities
.
September 4, 2005 at 1:27 pm
It's a good thing that the "o" and the "a" are far apart on the keyboard
.
September 4, 2005 at 1:26 pm
Sorry but we need more info to answer that. Can you post the tables definition (ddl + keys/relations) so that we can built it up?
September 4, 2005 at 10:05 am
Might I point out that you'll want to also copy the primary key to the second table, most likely making it the clustered index, also I'd add the relation with...
September 4, 2005 at 10:03 am
Viewing 15 posts - 13,516 through 13,530 (of 18,923 total)