Forum Replies Created

Viewing 15 posts - 2,911 through 2,925 (of 3,233 total)

  • RE: Problems with deleting older backup files

    There is an option in the Maintenance Plan Wizard that will allow you to specify backup retention.  Setting this option will remove old files for you.

  • RE: How to avoid Cursors in this problem

    You will not need to use a temp table.  This will work:

    CREATE TABLE T1A (TextColumn varchar(1000))

    CREATE TABLE T2A (TextColumn varchar(1000))

    INSERT INTO T1A

    SELECT 'This is a text' UNION ALL

    SELECT 'And this...

  • RE: msde tsql backup question

    Hasan,

    You should create a new post for your question.  It is more likely to get answered in its own post since it is a new question.

  • RE: Min & Max Memory Settings.

    What you are seeing is normal.  When you have 2GB allocated to SQL Server, it will allocate most of it for the buffer pool, but it will also reserve around...

  • RE: DTS not running with schedule

    If this is a scheduled job, there should be more information in the job history.  Check there and in the SQL and application logs for error messages.  What account is...

  • RE: Timeout Expired Issue

    I guess I got away from what he'd originally stated about the stored procedure running for more than 30 seconds.  Yelena is correct, look at the stored procedure code.  If...

  • RE: Timeout Expired Issue

    It looks like those counters have more to do with activity.  Watching them could over a period of time could tell you how active your network card is.  You may...

  • RE: Timeout Expired Issue

    A timeout expired error could be a number of things, network included.  The error means just what it says, there is a timeout occuring either in the database, session, or...

  • RE: Comparing two backup files

    In order to compare 2 database backups, you must restore both of them.  Enterprise manager will not compare databases for you.  There many third party tools that will do this...

  • RE: unable to insert row into table with uniqueidentifier column

    If the Unique Identifier column does not allow nulls, you need to insert a value. 

     

    Insert into DirectoryHierarchy(directoryId,ParentDN,RDN,Type)

    select NEWID() as DirectoryID, ParentDN, (FirstName + ' ' + LastName) as RDN,...

  • RE: Maintenance Plan & Job Failed

    Has this plan ever worked before?  This looks like a permissions problem.  Do you have your SQL Server service running under the system account or a local or domain account...

  • RE: Help! Blocks in Database when the SP is executed

    I would recommend creating the index, but not removing the BEGIN TRAN keyword.  As Colins stated, transactions are best made small and quick.  I do not feel that removing the...

  • RE: msde tsql backup question

    Yes, however, if you wish to overwrite your backup file each day, you will need to set your RETAINDAYS to zero or 1.

  • RE: msde tsql backup question

    You need to set the ExpireDate/RetainDays.  From Backup in BOL:

    If EXPIREDATE or RETAINDAYS is not specified, expiration is determined by the media retention configuration setting of sp_configure. These options only prevent...

  • RE: Suspect Database - Torn Page

    SQL Server is telling you that you have a physical inconsistancy in your data file.  You must restore from backup (or rebuild in your case).  Read TORN_PAGE_DETECTION in BOL.  There...

Viewing 15 posts - 2,911 through 2,925 (of 3,233 total)