Viewing 12 posts - 1 through 12 (of 12 total)
Thanks for the input everyone - I had a look at the article "Comparing Table Variables to Temporary Tables", and it is useful.
I suppose it is true that this was...
May 23, 2011 at 2:47 am
I get the feeling that Microsoft are keen to emphasize their "new" additions in the exams - hence favoritism towards table variable over temp tables, CTEs over subqueries, etc. I've...
May 22, 2011 at 1:02 pm
Ninja's_RGR'us (3/15/2011)
Rename old table, drop all constraints (name conflicts)
Then create new table with all constraints and indexes.
You still have a backup of the table and you have an empty...
March 16, 2011 at 4:13 am
Toby White (3/15/2011)
March 15, 2011 at 12:31 pm
Sadly, I cannot change the database structure or perform any DDL operations.
Don't think I can use bcp either - it has to be within a transaction (in a sproc) in...
March 15, 2011 at 9:29 am
I'm wondering, why is batch delete faster than one statement? I'm assuming it is something to do with the transaction log...
Customers are not happy with truncate being used in...
March 15, 2011 at 8:08 am
In case anyone else has this problem as searches for it:
A trigger is a "level 3" object, beneath a table (for example). So you specify the schema, then the...
February 15, 2011 at 7:43 am
meh, nevermind think I got a semi-explanation here:
February 15, 2011 at 7:30 am
ALZDBA (3/19/2008)
set identity_insert yourtable on
perform your inserts
set identity_insert yourtable off
This way you would have been able...
March 20, 2008 at 7:26 pm
The problem itself wasn't quite what I was making of it. I didn't need to return the table name from the context of the insert statement after all.
Basically I...
March 19, 2008 at 11:52 am
Thanks for the help everyone...I have figured it out (the problem was a bit more complex than how I was explaining it).
March 19, 2008 at 10:38 am
Thanks for the suggestion - I was hoping for a system function which would return the table name but I guss it doesn't exist.
However, I wrote the following function which...
March 17, 2008 at 12:10 pm
Viewing 12 posts - 1 through 12 (of 12 total)