Forum Replies Created

Viewing 15 posts - 1,726 through 1,740 (of 2,897 total)

  • RE: Backup

    If the job completes successfully, I assume it's ok. Verify the backup file is there. It's good to practice restoring once in a while.

  • RE: export multiple SP

    CirquedeSQLeil (11/4/2009)


    Into a single file or 1 file per stored proc?

    Either way, right click on the Database -> Tasks -> Generate Scripts

  • RE: restore to a point in time/recover deleted data

    This might help you avoid future problems:

    -- Databases NOT Backed Up Since YYYY-MM-DD

    select * from master..sysdatabases db

    where (not exists

    (select * from msdb.dbo.backupset

    where db.name = msdb.dbo.backupset.database_name

    and backup_start_date >...

  • RE: Significance of using dbo in create statement

    Using dbo specifies the schema. But since dbo is the default, you don't really need to specify it unless you have stored procedures with the same name under a different...

  • RE: Restore a Database without restoring LDF

    Why is the log file so big ? Are you doing regular transaction log backups ?

  • RE: how to migrate changes to production server

    Krishna -878600 (11/3/2009)


    y.koteswarrao-652921 (11/3/2009)


    Hi,

    Iam a junior DBA, how to migrate changes made in the development environment to production environment.

    Regards

    Koteswarrao

    You can use Backup-Restore method which is the easier one for not...

  • RE: Script for Restoring

    Here's a rough draft starting point for you:

    select bset.database_name, bset.Type, convert(varchar(25),backup_start_date,101),convert(varchar(25),getdate()-1,101) , media.physical_device_name

    ,bset.*

    from msdb.dbo.backupset bset

    join msdb.dbo.backupmediafamily as media on bset.media_set_id = media.media_set_id

    where database_name = 'MyDatabase' and

    type...

  • RE: Migrating Sql 2000 database to Sql 2008

    It might be better to ask in the 2008 Administration forum, where you're sure to find people with 2008 experience, then update this thread with a link to the new...

  • RE: Autometic Kill

    As discussed in the similar thread a few days ago, there may be a better solution. Discussing WHY you want to kill the spid, may lead to new ideas.

  • RE: SQL Server 2000 SP4

    Are you sure you cannot keep going with SP4 ? If you give more details about your problem, maybe some of the experts here (not me) will have advice...

  • RE: SQL Server 2000 SP4

    Under what conditions would you need to uninstall a service pack ? I haven't experienced problems, but it seems they do exist. This is the 2nd post in the...

  • RE: Testing a BAK file

    Testing by doing an actual restore, including transaction logs, will be more beneficial because it will make sure you know the actual steps .... you'll be more prepared in case...

  • RE: Database Size Notification

    There's probably a better way, but this should work:

    select count(*)

    frommaster.sys.databasesas DB

    inner joinmaster.sys.master_filesas MF on MF.database_id = DB.database_id

    where DB.name = 'Express_DB'

    and MF.name = 'Express_Data'

    and (MF. /131072.) >3.5

    if @@rowcount > 0

    EXEC...

  • RE: DTSrun/DTExe in sql server 2005

    This is an 18 month old thread. Not sure that necro-posting has much value in most cases.

    Wasted my time reading it until I noticed.

  • RE: job history getting deleted within 3 days

    george sibbald-364359 (10/30/2009)


    campag or shimano mr brew?

    Mish-Mash of Campy 10. That's my homemade Franken-bike

Viewing 15 posts - 1,726 through 1,740 (of 2,897 total)