How do you resize a data file?

Answers were Sorted based on User's Feedback



How do you resize a data file?..

Answer / guest

alter databse datafile 'location of datafile' resize 2000M



Regards
Abhinav Phadnis

Is This Answer Correct ?    13 Yes 3 No

How do you resize a data file?..

Answer / 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

More DB Administration Interview Questions

When setting replication, can you have distributor on sql server 2005, publisher on sql server 2008? : sql server DBA

0 Answers  


What would you use to improve performance on an insert statement that places millions of rows into that table?

2 Answers   TCS,


Oracle 11g new features?

2 Answers  


how will you see when the database was started using sql prompt?

2 Answers   IBM,


What is the difference between dropping a database and taking a database offline? : sql server DBA

0 Answers  


You have just compiled a PL/SQL package but got errors, how would you view the errors?

3 Answers  


How to determine the service pack currently installed on SQL Server?

1 Answers  


when does an alert gets signaled?

0 Answers   Oracle,


what is the use of recording information about current session?

0 Answers   Oracle,


What view would you use to look at the size of a data file?

3 Answers  


what is ora 600?

1 Answers  


What are the recovery models for a database? : sql server DBA

0 Answers  


Categories