Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)

  • RE: Transaction Log

    I use

      BACKUP LOG dbname WITH TRUNCATE_ONLY

      DBCC SHRINKFILE ('dbname_log', 1)

  • RE: SELECT... WHERE COD IN (6000 itens)

    Good,

    I have one table like this:

    CREATE TABLE [CUSTOMER] (

     [COD] [bigint] NOT NULL,

     [NAME] [VARCHAR(50)] NOT NULL,

     CONSTRAINT [PK_COD] PRIMARY KEY  CLUSTERED  ([COD])

    )

    My table have 55.000 rows and my query is like this:

  • RE: Best way to shrink LARGE log files

    When i have to clear a log i use:

     BACKUP LOG DBNAME WITH TRUNCATE_ONLY

     DBCC SHRINKFILE ('LOGNAME', 1)

  • RE: Clone Database

    To do this you can use a 'Copy Databases Wizard' on Enterprise Manager!

Viewing 4 posts - 1 through 4 (of 4 total)