Viewing 15 posts - 5,371 through 5,385 (of 6,676 total)
I am not aware of a native tool that can do the same things. You can build your own (sort of) using SMO with Powershell or other utilities.
I have...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 16, 2009 at 9:29 am
My guess would be that either the schedule is not enabled, or the fact that you are using the network service account instead of a domain account or local system...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 16, 2009 at 9:23 am
If you have the delete task execute before the backup - the files will be deleted and then the backup will run. If the backup then fails, you've lost...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 8:31 pm
If you have the maintenance window to run it (with a full scan) every night, then there really is no harm in doing so. Most of the time, it's...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 4:18 pm
To add to what Flo has shown you - if this is not going to be executed a lot, then the recompile option works well. But, if it is...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 4:16 pm
Try adding the column list to the insert statement:
If object_id('tempdb..#mytemptable') Is Not Null
Drop Table #mytemptable;
CREATE TABLE #mytemptable
(
myserverrole VARCHAR(50) DEFAULT @@SERVERNAME
,mymembername VARCHAR(Max)
,mymembersid VARBINARY(Max)
,mycheckdatetime datetime default...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 3:36 pm
ppcx (4/15/2009)
oh, but I could put a default value on that datetime column...
Yes - you can use a default, or computed column, or even add it to the select statement....
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 3:08 pm
Yes - executing something like that would fail due to the multiple result sets.
One of the things you can do is view the code used in those procedures and extract...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 2:48 pm
Stamey (4/15/2009)
The shrinkfile worked, on both data and log files....
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 2:12 pm
After this, I'm not that surprised.
Don't I know it - I was also involved in that thread, that's why I don't think it will make a difference.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 2:09 pm
You would use:
INSERT INTO {table}
EXECUTE {procedure}
It is documented in books online under the INSERT INTO topic. The caveat for this is that the procedure cannot return more than one...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 2:05 pm
The sad thing is - I don't think it will make a difference at all. We'll see though...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 2:05 pm
When you say it doesn't work - what does that mean?
When you state that it runs manually - but not scheduled, what does that mean?
And, I would recommend that you...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 1:56 pm
I use redgate SQL Compare and SQL Data Compare for this. The tools are well worth the investment.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 1:53 pm
It uses the last modified time of the file - and deletes any files older than the criteria you set at the time the task runs.
I would not recommend deleting...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
April 15, 2009 at 1:52 pm
Viewing 15 posts - 5,371 through 5,385 (of 6,676 total)