mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-12-23 12:44:13 +02:00
11 lines
258 B
Transact-SQL
11 lines
258 B
Transact-SQL
CREATE LOGIN test_user WITH PASSWORD = 'Password-123';
|
|
GO
|
|
CREATE USER test_user FOR LOGIN test_user;
|
|
GO
|
|
CREATE SCHEMA test_db AUTHORIZATION test_user;
|
|
GO
|
|
ALTER USER test_user WITH default_schema = test_db;
|
|
GO
|
|
EXEC sp_addrolemember db_ddladmin, test_user;
|
|
GO
|