June 2015
Intermediate to advanced
1800 pages
70h 6m
English
This section teaches you how to create, alter, and drop databases. The results of these T-SQL operations are the same as what you achieved using the ASD UI. The syntax will be familiar to you from your experience with standard SQL Server, although the options available are more restricted.
When you created your ASD server, the master system database was also generated for you. Whenever you execute a CREATE, ALTER, or DROP DATABASE command in T-SQL, as explained in the following examples, you must do so while in the context of master.
When you create a database using T-SQL, it defaults to the Basic tier. You can, however, specify tier options using the EDITION, SERVICE_OBJECTIVE, and MAXSIZE
Read now
Unlock full access