adspace


Explain user defined views?

Answer Posted / Diwakar Rai

"User-Defined Views in SQL Server are custom views created by users to simplify complex queries or provide a more user-friendly interface for data access. They are created using the CREATE VIEW statement and can be used like tables in SELECT, INSERT, UPDATE, and DELETE statements."

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I start sql server 2017?

1022


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?

2574


How to convert character strings into numeric values?

1196


What is temporary table in sql server? Why we use temp table?

1027


How do I create a trace in sql server?

1125


Explain system functions or built-in functions? What are different types of system functions?

1069


How raid can influence database performance?

1126


Disadvantages of the indexes?

1230


What are the kinds of subquery?

1116


Is it possible to have clustered index on separate drive from original table location?

1046


Does view occupy space?

1028


How to enter binary string literals in ms sql server?

1253


How to rebuild the master database?

1173


What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

1303


What is clustered index

1092