150 likes | 304 Views
Microsoft SQL Server 2008 R2. IT:Network:Applications. SQL Server Administration Tasks. Verify data Import data Backup data Schedule/backup/maintain databases. Verify Data. Review target data for consistency/integrity Define delimiter Comma, tab, etc Remove inconsistencies if possible
E N D
Microsoft SQL Server 2008 R2 IT:Network:Applications
SQL Server Administration Tasks • Verify data • Import data • Backup data • Schedule/backup/maintain databases
Verify Data • Review target datafor consistency/integrity • Define delimiter • Comma, tab, etc • Remove inconsistencies if possible • Possibly define columns
Verify Data • Align indexes/table links (if multiple relationships exist
Import Data • Open Microsoft SQL Server Management Studio • Connect to your SQL Server • Right click on your databaseTasksImport Data
Import Data • Select Import data • Choose data source • Choose columns • Complete import
Backup Data • In SQL Server Mgmt Studio • Right click on DatabaseTasksBackup • Delete “default” backup destination and Add new one
Backup Data • Equivalent Script • BACKUP DATABASE [ABCCompany] TO DISK = N'C:\backup\ABCCompany' WITH NOFORMAT, NOINIT, NAME = N'ABCCompany-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10
Schedule/backup/maintain Databases • SQL Server MgmtStudioManagementMaintenancePlansMaintenance Plan Wizard
Schedule/backup/maintain Databases • Select maintenance tasks • Integrity • Rebuild Index • Backup • Etc.