Viewing 15 posts - 48,241 through 48,255 (of 49,571 total)
If this is a dev server and the data's not important you can set the DB to simple recovery mode. That way you won't need to do log backups.
Be aware...
November 14, 2007 at 12:30 am
dewa_himatif_sf (11/13/2007)
can you help me?
but I've heard that the record from table was delete, isn't not permanent deleted, we can undo "delete proses" if we can read the...
November 13, 2007 at 11:53 pm
dewa_himatif_sf (11/13/2007)
i've heard that the data isn't permanent delete, but it's save in .ldf, but idon't know about that
All data changes are written to the transaction log. If the DB...
November 13, 2007 at 11:44 pm
Jez (11/13/2007)
Our processing sometimes involves a few thousand...
November 13, 2007 at 11:16 pm
I don't have your tables handy, so I can't run that query. Maybe this will suffice. Against a SQL 2005 SP2 server
select name, object_id, type_desc, create_date, create_date
from sys.objects
-- Runs fine....
November 13, 2007 at 3:02 pm
The order by clause runs after the aliases in the select have been applied. This is most likely undefined behaviour deriving from technically incorrect SQL. Most likely whichever column gets...
November 13, 2007 at 4:42 am
As an alternative to local variables, I would suggest that you change the procs back to using parameters and mark each proc WITH RECOMPILE.
With variables you'll get average performance, never...
November 13, 2007 at 4:35 am
Jeff Moden (11/13/2007)
...and here's your advantage... I don't have 2k5 to play with... I have to do it using only T-SQL 'cause I only have 2k. 😉
Is not fair then....
November 13, 2007 at 4:10 am
With this, you're going to have to resort to dynamic SQL. Build up the statement as a string, then execute it. (sp_executesql)
November 13, 2007 at 1:31 am
The other problem with that is that when the proc compiles, all of the selects compile, based on the values of the parameters for that call. That's even if the...
November 13, 2007 at 1:28 am
Shuffle, shuffle, shuffle the pages... I wrote a post about this, after encountering way too many people shrinking databases for no good reason. (http://sqlinthewild.co.za/index.php/2007/09/08/shrinking-databases/%5B/url%5D) I've had an uphill battle with...
November 13, 2007 at 1:20 am
Do you mean compatability mode? (80,90,...)?
I doubt it will. All the compat mode does is enable of disable the new features. It does not make the server behave like an...
November 13, 2007 at 1:16 am
Mark Manis (11/9/2007)
I guess there are mixed opinions of this out there, because another DBA told me this was the preferred method and it seems to work well for me.
There's...
November 13, 2007 at 1:12 am
Jeff Moden (11/9/2007)
November 13, 2007 at 12:55 am
You can use profiler to capture the insert statements, and also to check is the app is doing a begin transaction before the insert and when/if it is doing the...
November 13, 2007 at 12:51 am
Viewing 15 posts - 48,241 through 48,255 (of 49,571 total)