This documentation is archived and is not being maintained.
How to: Create a SQL Server Compact Edition Database on a Server
In this topic, you will learn how to create a Microsoft SQL Server 2005 Compact Edition (SQL Server Compact Edition) database on a computer that is running Microsoft SQL Server 2005.
In SQL Server Management Studio, open Object Explorer.
|You can use SQL Server Management Studio orSQL Server Management Studio Express to create a database. You can install SQL Server Management Studio Express from Microsoft Download Center.|
In Object Explorer, click Connect, and then choose SQL Server Compact Edition.
In the Connect to Server dialog box, select <New Database…> from the Database file drop-down list.
In the Create New SQL Server Compact Edition Database dialog box, type a file path and file name for the new database file. You can optionally select the default sort order and choose whether you want to encrypt or password-protect the database. If you choose to encrypt or password-protect the database, type a password, and then click OK.
Click Connect to connect to the new SQL Server Compact Edition database. The database is now displayed in Object Explorer.
Other ResourcesWorking with Databases (SQL Server Compact Edition)
Help and InformationGetting SQL Server Compact Edition Assistance