adspace


What do you mean by collation recursive stored procedure?

Answer Posted / Amar Pal Singh

A collation recursive stored procedure is a stored procedure that uses the RECURSIVE WITH UNION keyword to execute itself repeatedly while meeting certain conditions. Collation determines how SQL Server compares character data, and a collation recursive stored procedure can be used for iterative tasks such as traversing hierarchical data or performing deep recursion.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql server query analyzer?

1131


What are different types of constraints?

1003


Can we do dml on views?

1039


What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?

1200


Can you index views?

955


How do I start sql server 2017?

1016


What are wait types?

1250


How to remove duplicate rows from table except one?

1090


Where can you add custom error messages to sql server?

1215


How to rebuild the master database?

1167


What is normalization and what are the advantages of it?

1057


How to convert character strings into numeric values?

1192


If any stored procedure is encrypted, then can we see its definition in activity monitor?

1072


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?

2568


Can we shrink data file in sql server?

1130