... [ Team LiB ] Recipe 10.7 Creating a New SQL Server Database Problem You need to create a new database in your SQL Server. Solution Use the CREATE DATABASE statement. The sample code ... StringBuilder sb = new StringBuilder( ); // SQL DDL command text to create database. String sqlText = "CREATE DATABASE MyDatabase ON PRIMARY " + "(NAME = MyDatabase_Data, " + ... categories of SQL statements: Database Definition Language (DDL) Used to manage all objects in the database, generally with CREATE, ALTER, and DROP statements to create, modify, and delete objects,...