USE [db_name]
GO

CREATE LOGIN [DB_User] WITH PASSWORD='[Password]', DEFAULT_DATABASE=[db_name], CHECK_POLICY=OFF, CHECK_EXPIRATION=OFF
GO

CREATE USER [DB_User] FOR LOGIN [db_name] WITH DEFAULT_SCHEMA=dbo
GO

exec sp_addrolemember 'db_owner', '[DB_User]'
GO

EXEC sys.sp_configure 'remote access', '1'
GO

RECONFIGURE WITH OVERRIDE
GO
