System Administrator SQL Basics - Epicor

Post on 09-Nov-2021

8 views 0 download

transcript

System Administrator SQL Basics

This class is designed for…

System Administrators

Overview

CommerceCenter DatabasesBackup a DatabaseRestore a DatabaseCreate SQL Login IDs

Objectives

Discuss CC Play, Import, and Production DatabasesUnderstand how to backup a databaseKnow how to restore from a backupCreate SQL Login Ids and assign access to databases

This course will NOT cover…

Advanced SQL topicsSQL ProfilerSQL Query AnalyzerScheduled Backups

User Maintenance in CommerceCenter

Databases

CommerceCenter PlayCommerceCenter ImportCommerceCenter

Databases

CommerceCenter Play

Use to begin database creation After SA training is complete, copy this database and restore to ImportUsers eventually practice/train in this database

DatabasesCommerceCenter Import

Use to import data Backup this database and restore from Play for users to verify dataOnce completely verified, backup and restore to CommerceCenter for your go-live

Databases

CommerceCenter Production databaseOnly database you will use from Go-live moving forward

Database Timeline

•Install SQL Server/CommerceCenter•3 Databases

• SA/WBC Training• Complete in DB• Backup/Restore to

CommerceCenter_Import

•Import data: CommerceCenter_Import•Restore Import backups to Play for testing/verification

•Go-live•CommerceCenter_Import: data completely verified by users.•Only the data necessary for go-live/history present – no training/testing/play data

Business Analysis

Go Live

Manual Database Back-up

Manual back-upPreserve data in database by capturing a copy at a particular time

Perform during SA TrainingImportsUpgrades

Manual Database Back-up

Open Enterprise Manager

Locate your database

Back-up the Database

Back-up the Database

Verify the database

Select the destination

for the backup

Back-up the Database

Back-up the Database

Select OK to perform the backup

Restore the Database

Overwrite the database with a previous copyUse when:

Import data incorrectlyMake adjustments to setup

Restore the Database

Open Enterprise Manager

Locate your database

Restore the Database

Restore the Database

Choose database to restoreChoose

From device option

Restore the Database

Restore the Database

Restore the Database

Restore the Database

Restore the Database

Restore the Database

Creating Login IDs

User IDs must be created in SQL and in CommerceCenter

Ability to assign multiple databases

Creating Login IDs

Enterprise Manager

Security

Logins

Implementation and Login IDs

Users must be able to access the databases during implementationTake care in assigning access to databases

Accidents happen!!

You may want to create a ‘Play’ login idUse for all users during implementationOnly access CommerceCenter_Play

New Login ID

RMB on LoginSelect New Login

New Login ID

Enter Login ID

New Login ID

Determine how to authenticate login:

•Windows Authentication

•SQL Server Authentication

New Login ID

•Enter a Password if necessary

•Select the Default Database

New Login ID

•Select Database Access tab

•Select databases user may access

•In Database role field, select PxxiUser IF you want user to have access to DB outside of CC

Existing Login ID

Edit an existing ID:

Existing Login ID

Adjust passwords

Enable additional database access

Deleting a Login ID

Locate LoginRMB > Select Delete

Summary

Discuss CC Play, Import, and Production Databases

Understand how to backup a database

Know how to restore to a backup

Create SQL Login IDs and assign access to databases

For More Information…

CommerceCenter Help FilesWBT-SQL Server Administration SuiteVisit Activant on the web: distribution.activant.com

Search the Solutions databaseView Educational Services course offeringsSubmit a Support case

Email Professional Services Sales: pss@activant.com