EasyManuals Logo

Cisco TMS SQL DATABASE User Manual

Cisco TMS SQL DATABASE
35 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #33 background imageLoading...
Page #33 background image
Tips category – Maintaining/Upkeep
Cisco TMS Database Knowledge Tips Page 33 of 35
FROM sysobjects
WHERE xtype = 'U' order by name
open c1
fetch next from c1 into @table_name
while @@Fetch_Status = 0
begin
print(@table_name)
DBCC DBREINDEX (@table_name, '')
fetch next from c1 into @table_name
end
print('finished')
close c1
deallocate c1
GO
DECLARE @table_name varchar(1000),@sql nvarchar(4000)
declare c1 cursor for SELECT name
FROM sysobjects
WHERE xtype = 'U' order by name
open c1
fetch next from c1 into @table_name
while @@Fetch_Status = 0
begin
print(@table_name)
Select @sql = 'UPDATE STATISTICS '+ @table_name +' WITH FULLSCAN'
exec sp_executesql @sql
fetch next from c1 into @table_name
end
print('finished')
close c1
deallocate c1
GO
2. Execute the script against your Cisco TMS database by entering the following command in a
command prompt. Replace server with localhost or localhost\sqltms depending on your
installation
osql –E –S server –d tmsng –i update.txt
Extra reference links
Upgrading MSDE 2000 to SQL Server 2005 Express
SQL Server 2005 Express Download
Microsoft .NET Framework 2.0 Service Pack 1 (x86)
SQL Server Management Studio Express Download

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco TMS SQL DATABASE and is the answer not in the manual?

Cisco TMS SQL DATABASE Specifications

General IconGeneral
BrandCisco
ModelTMS SQL DATABASE
CategorySoftware
LanguageEnglish

Related product manuals