
Table of contents
Cisco TMS Database Knowledge Tips
Page 2 of 35
Table of contents
Tip format .................................................................................................................................................... 5
TIP T100 –Different types of SQL Server ................................................................................................... 6
Extra reference links ............................................................................................................................ 6
TIP T101 –SQL Server management tools ......................................................................................... 7
Extra reference links ............................................................................................................................ 7
TIP T103 –SQL Versions bundled with Cisco TMS .................................................................................... 8
TIP T104 –Cisco TMS SQL version compatibility ....................................................................................... 9
TIP T105 –Cisco TMS database and files ................................................................................................ 10
TIP T106 –The SQL Server instance........................................................................................................ 11
TIP T107 – Identifying the SQL Server instance name ............................................................................ 12
TIP T108 –SQL authentication modes...................................................................................................... 13
Extra reference links .......................................................................................................................... 13
Tip T109 –When do I need a full version of SQL? .................................................................................... 14
Extra reference links .......................................................................................................................... 14
TIP T109 –Using osql for Cisco TMS tasks .............................................................................................. 15
Simple examples for Cisco TMS use ................................................................................................ 16
Extra reference links .......................................................................................................................... 16
TIP T200 –Enabling remote access to SQL ............................................................................................. 17
Extra reference links .......................................................................................................................... 17
TIP T201 –SQL Server 2005 and firewalls ............................................................................................... 18
Possible scenarios ............................................................................................................................. 18
Using Windows Firewall for a single instance ................................................................................... 18
Using Windows Firewall for multiple instances ................................................................................. 18
Extra reference links .......................................................................................................................... 19
TIP T202 –SQL Server 2000 and Firewalls .............................................................................................. 20
Possible Scenarios ............................................................................................................................ 20
Using Windows Firewall for single instance ...................................................................................... 20
Using Windows Firewall for multiple instances ................................................................................. 20
To find the port a SQL Server instance is currently using: ................................................................ 20
Extra reference links .......................................................................................................................... 21
TIP T300 –Backing up the Cisco TMS Database using osql .................................................................... 22
Extra reference links .......................................................................................................................... 22
TIP T301 –Restoring the Cisco TMS Database using osql ...................................................................... 23
Restoring a database to the same SQL server ................................................................................. 23
Restoring a database to a different SQL server ................................................................................ 23
Extra reference links .......................................................................................................................... 24
TIP T302 –Automating backups with SQL 2005 Express ......................................................................... 25
Extra reference links .......................................................................................................................... 26
TIP T303 –Detaching and reattaching databases .................................................................................... 27
To detach the Cisco TMS database using osql ................................................................................. 27
To attach the Cisco TMS database using osql. ................................................................................. 27
Extra reference links .......................................................................................................................... 27
TIP T304 –Upgrading MSDE 2000 to SQL 2005 Express ........................................................................ 28
Cisco TMS customers running MSDE 2000 and Cisco TMS versions 9.0 through 10.0 ................... 28
Cisco TMS Customers running MSDE 2000 and Cisco TMS Versions 11.0 through 11.9.1 ............ 29
Alternative 1 – Install SQL Server manually ...................................................................................... 29