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?
Answer Posted / 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 View All Answers
What is self contained sub query?
What is standby servers? Explain types of standby servers.
How to convert character strings into numeric values?
Explain system functions or built-in functions? What are different types of system functions?
What is a scheduled job or what is a scheduled task?
How can you append an identity column to a temporary table?
Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?
what is the Ticketing tool used in Wipro technologies at Bangalore...???
How efficient you are in oracle and SQL server?
Can you index views?
This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?
How can I check that whether automatic statistic update is enabled or not?
How to enter binary string literals in ms sql server?
What are the source of constraints?
What is in place upgrade in sql server?