On 8/16/06, Brent Shaub <[EMAIL PROTECTED]> wrote:
> 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.
>

You can use the sp_refreshview stored procedure when making
changes...if you google on it, you can find scripts out there for
looping through all views that reference a certain table and
refreshing them.  There is an option to create a view with
SCHEMABINDING, but that actually locks the underlying structure, so
you can't make changes to the table.

-- 
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:250043
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to