Viewing 15 posts - 6,541 through 6,555 (of 6,676 total)
gwade (5/30/2008)
Getdate() returns a date time stamp including hh:mm:ss.000.
This is not an issue if your expiry...
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
May 30, 2008 at 10:23 am
Instead of messing around with DNS, client network utility, etc... I use the following, which is much easier to manage.
Declare @server nvarchar(50)
,@source nvarchar(50);
Set @server = 'aliasname';
Set @source =...
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
May 29, 2008 at 6:08 pm
Kyle Neier (5/29/2008)
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
May 29, 2008 at 3:27 pm
Warren Peace (5/29/2008)
My next attempt to reclaim disk is to use Winzip commandline to script the compression of each .bak file on a nightly bassis after...
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
May 29, 2008 at 1:08 pm
santhu (5/29/2008)
thanks for all your replys,
Database has set as unrestricted growth and every time increases by 50MB,
Full Backup is scheduled every night and Logfiles every 15 minutes
Recovery Mode...
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
May 29, 2008 at 11:15 am
When connected to that instance of SQL Server you can run: SELECT @@VERSION which will tell you what version of SQL Server you are connected to.
To identify what is available...
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
May 29, 2008 at 11:02 am
Yes - that will no longer be supported and the supported way is to change the recovery model from full to simple, then change it back to full again.
Either way,...
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
May 28, 2008 at 11:09 pm
Warren Peace (5/28/2008)
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
May 28, 2008 at 5:18 pm
Did this solve your problem? Please post back and let me know the results.
Thanks,
Jeff
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
May 28, 2008 at 4:07 pm
And now a plug from our sponsors (I am not affiliated - I just use their products). 😀
1) Create a new blank database
2) Using SQL Compare by...
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
May 28, 2008 at 4:04 pm
No - you need to keep the parameters, and add the local variables:
CREATE PROCEDURE bmssa.usp_VENDOR_ONTIME
@Date1datetime
,@Date2datetime
AS
DECLARE@BeginDt Datetime
,@EndDt Datetime
SET @BeginDt = dateadd(day, datediff(day, 0, @Date1), 0); -- round to midnight
SET @EndDt...
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
May 28, 2008 at 3:15 pm
What is the recovery model for that database? If it is full recovery model, how often are you backing up the transaction log?
What are the mdf and ldf file...
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
May 28, 2008 at 12:45 pm
Hammad khan (5/28/2008)
when the job is running , it's opening the transaction...
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
May 28, 2008 at 12:40 pm
No, you will still have your two input parameters declared as datetime. You are adding two new variables (@beginDate and @endDate) as datetime variables. You are then going...
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
May 27, 2008 at 2:24 pm
This sounds like an issue with a bad execution plan for the stored procedure, or it can be related to parameter sniffing.
Try adding the following to the procedure:
AS
DECLARE @beginDate datetime,
...
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
May 27, 2008 at 11:10 am
Viewing 15 posts - 6,541 through 6,555 (of 6,676 total)