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

Claims and Drains are the locks used to control the concurrency between SQL processes and utilities. Referring to the above statement, what is the maximum number of concurrent Claimers for a Subsystem? Choice 1 32 Choice 2 64 Choice 3 128 Choice 4 256 Choice 5 No limit

2035


Explain the difference between a FUNCTION, PROCEDURE and PACKAGE.

2057


what are the types of connection load-balancing?

748


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

2626


What is replication? : sql server DBA

843


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

813


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

809


how can you find out if a table can be redefined?

789


What is a correlated sub-query? : sql server DBA

781


which background process invoke at the time of upgradation tell me???

2462


Which autogrowth database setting is good? : sql server DBA

761


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

772


Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.

1737


What types of replication are supported in sql server? : sql server DBA

981


What are the different types of upgrades that can be performed in sql server? : sql server DBA

906