CREATE DATABASE airflow; ALTER DATABASE airflow SET READ_COMMITTED_SNAPSHOT ON; CREATE LOGIN airflow_user WITH PASSWORD='airflow_pass123%'; USE airflow; CREATE USER airflow_user FROM LOGIN airflow_user; GRANT ALL PRIVILEGES ON DATABASE airflow TO airflow_user;
Query 1 ERROR: Msg: 156, Line 7, State: 1, Level: 15 Incorrect syntax near the keyword 'TO'.
GRANT ALL PRIVILEGES ON DATABASE airflow TO airflow_user;
GRANT CONTROL ON DATABASE::airflow TO airflow_user;
GRANT ALL PRIVILEGES TO airflow_user;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)