Forum Replies Created

Viewing 15 posts - 7,366 through 7,380 (of 26,490 total)

  • RE: System Databases / msdb / System Tables / dbo.backup*

    You do realize that you don't need the data in these tables to restore a database, right?

  • RE: Transaction Log Issues

    krypto69 (6/11/2013)


    declare @dbname sysname

    set @dbname = db_name()

    print @dbname

    select backup_start_date,backup_finish_date, -- << look here, you have a comma when you shouldn't

    from msdb..backupset

    where database_name = @dbname and type = 'D'

    Msg...

  • RE: Msg 3013 acting as a mirror database

    Looks like the backup jobs are running on the wrong server or your principal and mirror databses are active on the wrong servers (meaning what should be your principal database...

  • RE: Ideas on a backup that "fails" but Verify says it is good

    Tell us more about the backup process. Are you using a third party backup solution or native backups. Are you backing up locally or directly to a network...

  • RE: Transaction Log Issues

    krypto69 (6/11/2013)


    Lynn,

    results:

    LOG_BACKUP

    Pretty sure it's because the Unitrends software is not working as it should. But I'm stuck with the UNitrends device to backup out servers.

    So my thought was that I...

  • RE: Ideas on a backup that "fails" but Verify says it is good

    Have you tried using the file to restore the database to test or development server to verify that the backup file is good?

    That is the real test.

  • RE: Transaction Log Issues

    krypto69 (6/11/2013)


    Okay given my scenario...

    should I run this first:

    BACKUP LOG <database_name> WITH TRUNCATE_ONLY;

    every night (scheduled), then do a full backup?

    I'm concerned with space..

    NO. First step is figure out why...

  • RE: Transaction Log Issues

    You need to figure out why the t-log is growing. Shrinking it will not solve the problem, it would only be a band aid.

    First step, run the following and...

  • RE: select not working

    Krishna1 (6/11/2013)


    create table remarks ( remark varchar(1000)

    create procedure P1 as

    begin

    while loop

    begin

    .....

    insert into remarks ()

    ...

  • RE: Execution plan shennanigans......

    Instead of posting pictures of the execution plans, how about attaching the actual execution plans (as .sqlplan files) instead. The pictures don't tell as much as the execution plans...

  • RE: urgent tsql

    This:

    SELECT

    distinct @@SERVERNAME AS ServerName,

    CASE

    WHEN J.Name IS NOT NULL THEN cast(1 as varchar) -- job exists

    ELSE 'does not exist' -- 0 Job does not exist

    END AS IsExisting,

    CASE J.enabled

    WHEN...

  • RE: Transaction log size far exceeds database size when running delete

    Looking at this:

    text 16 0 0

    text 16 0 0

    text 16 0 0

    You do realize that the 16 bytes is simply the pointer to the data. What about the data...

  • RE: please help

    You also need to remember that these employers are getting hundreds, if not more, resumes for the positions they post. Just because you feel you are a close match...

  • RE: defferred name resolution

    These are the improvements that have been added to SQL Server over the last few releases. IIRC, this was not the behavior in SQL Server versions from 2000 and...

  • RE: defferred name resolution

    Sean Lange (6/10/2013)


    Krishna1 (6/4/2013)


    Thanks it worked for the missing tables.

    But when i ran it showed me the procedures which are depedent of other procedures. First shot i thought the "called"...

Viewing 15 posts - 7,366 through 7,380 (of 26,490 total)