Using MS-SQL-08:
Is it possible to somehow temporarily disable dependency checking, so that I can create a view that uses a function that does not exist (has not yet been created) at the time of creating the view. [then create the required function, and finally re-enable dependency checking]
So, lets say I have view V, which uses function F, the order I would like to be able to achieve is
turn off dependency checks
1. create V
2. create F
turn dependency checks back on
Thanks.
This is called
deferred name resolutionand while you can create a proc that select from a table if the table does not exists you cannot do that with a view that uses a functionexample of the proc