Results 1 to 3 of 3

Thread: [RESOLVED] Need to compact an SQL Express database

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2006
    Posts
    63

    Resolved [RESOLVED] Need to compact an SQL Express database

    I am using VB Express 2005 with an SQL Express 2005 database. I had filled it with an equivalent of 10 years of data to check performance. I have deleted the data and need to compact the database to shrink the size of the database file.

    I have searched extensively but am unable to find any useful information on it. Can somebody please help?

    Greg

  2. #2
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    Re: Need to compact an SQL Express database

    See
    Code:
    DBCC SHRINKDATABASE
    Jorge
    "The dark side clouds everything. Impossible to see the future is."

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2006
    Posts
    63

    Re: Need to compact an SQL Express database

    That did it. Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width