How do you resize a data file?

Answer Posted / monal

in SQL Server 2005:

ALTER DATABASE <Database Name> MODIFY FILE
(NAME =<File Name>, MAXSIZE = <Size>)

Is This Answer Correct ?    9 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences in clustering in sql server 2005 and 2008 or 2008 r2? : sql server DBA

548


What is a system database and what is a user database? : sql server DBA

599


Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?

2191


what is the last version,the release date of that version and fix pack of ibm db2 udb?

1520


A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables?

1998






what is the use of ocr?

600


What are the steps you will take to improve performance of a poor performing query?

2421


What is the difference between clustered and non-clustered index? : sql server DBA

545


how can you enable flashback feature?

536


how can you process messages in order asynchronously?

557


I have A,B,C servers.i want to 3 servers jobs move to D server(target server)..how? note: i said that take the backup of msdb and restore to the target server..he said while restoring jobs replaced. what is the solution

1644


What is replication? : sql server DBA

626


how can you generate profile of pl/sql applications to identify performance bottlenecks?

598


what is a crs resource?

600


What are the different authentication modes in sql server and how can you change authentication mode? : sql server DBA

557