As far as I know, there is no such setting. I believe that's part of
what makes SQL perform quickly. If you turned that off it would have to
recompile the query every time and that may add up. It's a common
problem that people complain about but I don't think there's really a
way to "fix" it. Again, there are other reasons to stay away from select
* so you may want to consider those before trying to find a work around
for the views problem.

John

-----Original Message-----
From: Brent Shaub [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 16, 2006 12:50 PM
To: CF-Talk
Subject: Re: Select * in a view needs "recompiled"

I was just thinking that there might be a setting in SQL Server that was
geared for optimization and cached the view definition.  Perhaps there
is a way to reconfigure it to check for changes more often.  I might not
change it because it's a small extra step to re-save each view (there
aren't many) when I change a table that is referenced by a * in that
view.  It's a question of SQL-processing performance vs development-time
performance.

Just thinking out loud.

Brent



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250017
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to