In that case, for efficiency purpose, would it be helpful to "create proc
with recompile"? My guess is that it's irrelevant since a re-resolution
automatically implies a recompilation. But maybe someone has a more
in-depth view?
--
Q Vincent Yin | Repeat
um...@mctrf.mb.ca | delete(next->bug);
| Until 0 = 1;
Jerry,
How did you come to find this?
We are having problems with stored procedures using temporary
tables which regularly get 703 errors (SQL Server 4.9.2).
I thought the only way to get the query tree rebuilt
rather than appended to was to drop and re-create the
stored procedure.
We are using a 'create table #table' statement within the stored
procedure to create the temporary table. Do you know of
a better way? Perhaps 'select into #table' is better?
- Anne Mahoney
State Street Bank
alm%i...@clipper.ssb.com