Forum Replies Created

Viewing 15 posts - 886 through 900 (of 2,486 total)

  • RE: Stored procedure performance

    How about logging some status messages from within your stored procedures? Can be something as simple as logging the current datetime and a message to a table.

    EG:

    26/08/2005 12:00 PM job...

  • RE: Report parameter constraint

    Best option would be to create a dataset that has the date range you want. Then set your report parameter to be query-based.

     

  • RE: Transaction log growing too large

    "Simple Recovery" or "frequent transaction log backups" won't help if the conversion is one large transaction.

    Simple Recovery mode will clear the log once a checkpoint is reached, like a commit...

  • RE: Link Server

    The error 0x80004005 is access denied. Check the permissions and accounts used for the services and in the Linked Server setup.

     

  • RE: Scheduling Robocopy

    Robocopy has an annoying "feature" in having non-zero return codes that indicate success. What I used to do was execute ROBOCOPY in a VBScript. Capture the return code and exit...

  • RE: Executing SQL Server Jobs From An External Scheduler

    Nice procedure. However, I'd use some sort of flagging instead of a GOTO loop. If you combine the SET assignment with a query, you can return the status with extra...

  • RE: MSDB size rocketed

    Also, you can "roll-back" to prior versions by opening the old version and saving the package again. which creates a newer version.

     

  • RE: MSDB size rocketed

    I posted this in the script library ages ago to remove old versions.

    http://www.sqlservercentral.com/scripts/contributions/606.asp

    This removes the version and the logs associated with that version.

    It might be an idea to setup a...

  • RE: MSDB size rocketed

    What's probably happening with the DTS packages is that you've got more than one version for each package. Every time you save a package, even if you don't make any changes,...

  • RE: Missing LSN error in restore process

    There is no such thing as being lucky in the DBA world

     

  • RE: MSDB size rocketed

    Make sure you run it in the msdb database. As shown by the output, this list is from the master database.

    Also, just a tip, I wouldn't be letting anyone...

  • RE: Missing LSN error in restore process

    Ahh ... no ... what would be the point? How could you guarantee the integrity of the data given that you'll be missing a whole pile of transactions. Its most...

  • RE: How to make a column an IDENTITY using ALTER COLUMN?

    If the column already has data, then you can't change it to an Identity.

    If you can clear the table, then you can alter the column to an identity. If the...

  • RE: MSDB size rocketed

    Sorry, forgot that sp_MSforeachtable only iterates through user objects. Try this instead,

    SELECT 
        db_name() as db
        , sObj.[name] as TblName
        , sInd.[name] as IndName
        , CONVERT(int, sInd.rowcnt) as...
  • RE: DTS Package Problems

    You can adjust the size of the commit by playing around with the 'Fetch Buffer Size' and 'Insert Batch Size' figures on the Options tab of the Datapump properties dialog....

Viewing 15 posts - 886 through 900 (of 2,486 total)