| [SQLDownUnder] Quickie Q - Index Tuning Wizard and SQL 2000 functions |
- From: zzsober
- Subject: [SQLDownUnder] Quickie Q - Index Tuning Wizard and SQL 2000 functions
- Date: Tue, 04 Sep 2007 16:32:05 -0700
- Prev by Date: RE: [SQLDownUnder] Contraints on Temporary tables
- Next by Date: Re: [SQLDownUnder] Quickie Q - Index Tuning Wizard and SQL 2000 functions
- Previous by thread: RE: [SQLDownUnder] Contraints on Temporary tables
- Next by thread: Re: [SQLDownUnder] Quickie Q - Index Tuning Wizard and SQL 2000 functions
- Index(es):
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi guys,
Does the Index Tuning Wizard tune SQL Server 2000 functions?
My findings are that it doesn't.... I log select the statement in Query Analyzer and run the Index Tuning wizard against it and it doesn't recommend any indexes, but when I manually run some of the sql statements inside my function through the Analyzer, it does recommend indexes.
Is this normal, or am I missing a setting somewhere....
The reason I'm using a function is to further filter the results of a stored procedure. If I didn't use a function, I'd have to maintain the where clause in two locations. See
http://www.stillhq.com/sqldownunder/archives/msg00220.html for the post back in 2005.
Regards,
Scott
(Click here for more information on the sqldownunder mailling list)
