Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What causes re-resolution of a stored procedure?

0
Posted

What causes re-resolution of a stored procedure?

0

When a stored procedure references an object that is modified after the creation of the stored procedure, the stored procedure must be re-resolved. Re-resolution is the process of verifying the location of referenced objects, including the object id number. Re-resolution will occur under the following circumstances: 1. One of the tables used by the stored procedure is dropped and re-created. 2. A rule or default is bound to one of the tables (or unbound). 3. The user runs sp_recompile on one of the tables. 4. The database the stored procedure belongs to is re-loaded. 5. The database that one of the stored procedure’s tables is located in is re-loaded. 6. The database that one of the stored procedure’s tables is located in is dropped and re-created.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123