Creating Microsoft SQL database for a Smart IT upgrade
- Log on to your Microsoft SQL Server database server machine.
- Open the Microsoft SQL Server Management studio.
Click New Query.
Update the script according to your business credentials before running it.use master
GO
use SmartIT
GO
CREATE LOGIN SmartIT_System_New WITH PASSWORD = 'SmartIT', DEFAULT_DATABASE=[SmartIT], CHECK_EXPIRATION=off,CHECK_POLICY=off
GO
CREATE LOGIN SmartIT_Business_New WITH PASSWORD = 'SmartIT', DEFAULT_DATABASE=[SmartIT], CHECK_EXPIRATION=off,CHECK_POLICY=off
GO
CREATE USER SmartIT_System_New from LOGIN SmartIT_System_New
GO
CREATE USER SmartIT_Business_New from LOGIN SmartIT_Business_New
GO
CREATE SCHEMA SmartIT_System_New AUTHORIZATION SmartIT_System_New
GO
CREATE SCHEMA SmartIT_Business_New AUTHORIZATION SmartIT_Business_New
GO
ALTER USER SmartIT_System_New WITH DEFAULT_SCHEMA = SmartIT_System_New
GO
ALTER USER SmartIT_Business_New WITH DEFAULT_SCHEMA = SmartIT_Business_New
GO
GRANT CONNECT,CREATE TABLE,CREATE SCHEMA TO SmartIT_Business_New
GO
GRANT CONNECT,CREATE TABLE,CREATE SCHEMA TO SmartIT_System_New
GO- Run the script.
- On your installation worksheet, write the database name, users, and passwords that you have created using the script.
Replace the credentials in the database information screen with the business credentials. For more information, see Smart-IT-installation-worksheets.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*