Export (0) Print
Expand All
Expand Minimize

Microsoft SQL Server Compact 3.5 supports Data Definition Language (DDL) statements.

The following table lists the DDL statements supported by SQL Server Compact 3.5.

Statement

Function

CREATE DATABASE

Creates a new database and the file used to store the database.

CREATE TABLE

Creates a new table.

ALTER TABLE

Modifies a table definition by altering, adding, or dropping columns and constraints.

CREATE INDEX

Creates an index on a given table.

DROP INDEX

Removes one or more indexes from the current database.

DROP TABLE

Removes a table definition and all data, indexes, and constraints for that table.

To delimit identifiers that are keywords or do not conform to the rules for identifiers, you must use double quotation marks in SQL Server Compact 3.5. Brackets are not supported.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft