you have couple of stored procedures that depend on a table you dropped the table and recreated it what do you have to do to reestablish those stored procedure dependencies?



you have couple of stored procedures that depend on a table you dropped the table and recreated it ..

Answer / Eshoo Jain

You can recompile the affected stored procedures after dropping and recreating the table. In SQL Server, you can use the RECOMPILE option for SP_REcompile or ALTER PROCEDURE statement.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is a trigger and its types?

1 Answers  


Explain the working of sql privileges?

1 Answers  


Is it important for a database administrator to understand the operating system and file access?

1 Answers  


what types of replication are supported in sql server? : Sql server database administration

1 Answers  


What is local temp table?

1 Answers  


After removing a table from database, what other related objects have to be dropped explicitly?

1 Answers  


What are the indexes in sql server?

1 Answers  


What are the main control-of-flow T-SQL constructs?

1 Answers  


Can group by be used without aggregate functions?

1 Answers  


Name few of the dcl commands in sql?

1 Answers  


How do you drop an index?

1 Answers  


Explain triggers in sql?

1 Answers  


Categories