June 18, 2009 at 12:07 am
how can i create a job failure for testing in one server
Also how can create a database and restrict the log size to a small value and make the logsize to get full by running an infinite transaction
June 18, 2009 at 12:33 am
shanila_minnu (6/18/2009)
how can i create a job failure for testing in one server
create a dummy job with incorrect syntax and run it. It'll fail.
Also how can create a database and restrict the log size to a small value and make the logsize to get full by running an infinite transaction
switch off the auto growth option of the log file and keep the log file size to minimum and then start ur transaction. it'll be full soon.
EDIT: edited formatting of reply.
June 18, 2009 at 12:39 am
Need more clarifications didn't exactly understand your need.
to restrict the growth of your log file
USE [master]
GO
ALTER DATABASE [DB_TEST] MODIFY FILE ( NAME = N'DB_TEST_log', MAXSIZE = 2147473408KB )
GO
Tanx 😀
June 18, 2009 at 12:53 am
thank u very much to all:-P
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply