create and use database sql server code example Example: sql crate database CREATE DATABASE databasename;