Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Reg:Auto Shrink Database [modified]

Reg:Auto Shrink Database [modified]

Scheduled Pinned Locked Moved Database
databasesql-serversysadminhelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    P T R K
    wrote on last edited by
    #1

    Hi Friends, I was running following command in SQL Server 2005.But,it was not worked. The command is, "ALTER DATABASE [mydatabase name] SET AUTO_SHRINK ON WITH NO_WAIT;" Is this correct , i was using in sql server? Please suggest me. The following syntax using for auto shrink database log. ALTER DATABASE database SET optionspec [ ,...n ] [ WITH termination ] [;] optionspec: AUTO_SHRINK {ON | OFF} Termination: ROLLBACK AFTER integer [SECONDS] ROLLBACK IMMEDIATE NO_WAIT My problem is, i have shrink my database transaction log every time by manually. So, i was using above auto shrink command. Thanks in advance, Rameshkumar Thirumalaisamy

    modified on Thursday, January 31, 2008 7:31:20 AM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups