If there exist a index on the table, and we then make a
view on that table (include the indexed column from base
table) than why do we require indexing on view?Doesnt it
create an overhead?

Answer Posted / rama krishna

it depends on search critiria for view

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

2108


What is the difference between primary key and unique constraints?

591


what is dbcc? : Sql server database administration

595


What are the types of indexes?

677


What is the purpose of indexing?

693






What is the full form of ddl?

589


what is a mixed extent? : Sql server administration

685


Tell me what is normalization? Explain different forms of normalization?

650


can you instantiate a com object by using t-sql? : Sql server database administration

613


Why do you want to join software field as you have done your BE in Electronics?

1786


John exports information periodically from a microsoft sql server database to an oracle database what is the best way to do this?

606


Where can you add custom error messages to sql server?

666


How to filter out duplications in the returning rows in ms sql server?

733


Explain about Joins?

686


What are the steps you can take to avoid “deadlocks”?

608