Error code

SQL Server 262

SQL SERVER262
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

CREATE DATABASE permission denied in database — insufficient privilege for DDL.

How to fix it

  1. Grant CREATE ANY DATABASE or CREATE DATABASE permission to the login at the server level.
  2. Connect with a login that holds the sysadmin or dbcreator fixed server role.
  3. Create the database using an administrative account and grant the user access afterward.

Not affiliated with SQL Server. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.