Viewing 15 posts - 14,416 through 14,430 (of 49,552 total)
However this isn't that much better.
BEGIN TRANSACTION
DELETE FROM table1
DELETE FROM table2
DELETE FROM table3
DELETE FROM table4
DELETE FROM table5
DELETE FROM table6
COMMIT TRANSACTION
What do you think will happen if the delete from table3...
February 5, 2013 at 11:28 am
Yes you can. No there isn't.
February 5, 2013 at 11:12 am
Yes, absolutely yes.
As you have it, it's a security risk (SQL injection) and subject to poor plan caching and reuse.
February 5, 2013 at 9:38 am
wendy elizabeth (2/5/2013)
Can you tell me what is wrong with the following sql:
Err.. everything. 🙂
That's a create table statement's form. Alter has very different syntax: http://msdn.microsoft.com/en-us/library/ms190273%28v=SQL.100%29.aspx
What are you trying to...
February 5, 2013 at 9:35 am
SQL Pizza (2/5/2013)
IS it the best practice to delete all old indexes and recreate them one by one as needed?
Do you want to start by crippling the server and...
February 5, 2013 at 9:08 am
Grant Fritchey (2/5/2013)
February 5, 2013 at 8:53 am
How would you get an incorrect checksum in the log anyway?
Checksums are on database pages in the data file.
There are instances of log corruption, that's not one of them.
Absolutely do...
February 5, 2013 at 8:52 am
Either db_datawriter role or UPDATE, INSERT and DELETE granted on the table.
February 5, 2013 at 6:14 am
Have you fixed the errors in MSDB yet? If not, that's probably why you can't create a maint plan.
February 5, 2013 at 5:46 am
erics44 (2/5/2013)
the sql is identical in both, originally it was better in a ssis package because data was coming...
February 5, 2013 at 5:40 am
erics44 (2/5/2013)
nope none of thatwhat about joins and sorts on the queries? would that affect the tempDB?
I mentioned those:
or have complex select/from portions to those insert/updates that does hash joins...
February 5, 2013 at 4:53 am
Don't suppose you could post the graphical plan? There's not enough info in that text plan.
February 5, 2013 at 4:52 am
Viewing 15 posts - 14,416 through 14,430 (of 49,552 total)