Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
What is a VIEW in Sql Server?
Posted By :
Posted Date :
April 21, 2011
View is a Virtual table which contains columns from one or more tables. It does not contain any data directly. A group of Query incorporated into one or more tables which is stored in the Database as a form of an Object.
You can also find related Interview Question to
What is a VIEW in Sql Server?
Name of the command to view the current amount of free (unallocated) space in the database in SQL Server?
Name of command is :sp_spaceused
This command displays the database_size in MB, and it's also shows unallocated space for the database.
Can we have order by clause in Sql Server View?
Inorder to have ORDER BY Clause in Sql Server
we have to restrict the rows by Using TOP clause
If there is no TOP Clause then you cannot have ORDER BY clause
in a View
Can we insert data into a View in Sql Server?
Yes. Use INSTEAD OF Trigger on Views and achieve insert or update
View state is client-side or server side state management technique?
Database Concurrency in Sql Server.
When two or more user try to update same type of data in a table then Database Concurrency helps in this situation.
There are 2 types of Database Concurrency
Pessimistic: When one user try to change the data with pessimistic concurrency then a lock is placed on the data in a table so that another user cannot change data. when one user finishes then other user can able to change.
Optimistic: When two user works on the same data in a table and one change that data first then second user cannot change that same data becasue the which he have using is allready changed so he cannot do the change becasue change apply to another data that is changed by first user.
Is it true that COM objects no longer need to be registered on the server?
Yes and No. Legacy COM objects still need to be registered on the server before they can be used. COM developed using the new .NET Framework will not need to be registered. Developers will be able to auto-register these objects just by placing them in the 'bin' folder of the application.
What are server controls?
ASP.NET server controls are components that run on the server and encapsulate user-interface and other related functionality. They are used in ASP.NET pages and in ASP.NET code-behind classes.
Which index option causes SQL Server to create an index with empty space on
the leaf level of the index?
What do you need to specify to create a linked server?
OLE DB Data Source
When do you need to specify an external data source by using a linked server?
When you need to access a different instance.
Which authentication mode lets you use both SQL Server logins and Windows logins?
Mixed Mode authentication mode lets you use both SQL Server logins and Windows logins?
What is a view?
If we have several tables in a db and we want to view only specific columns from specific tables we can go for views. It would also suffice the needs of security some times allowing specfic users to see only specific columns based on the permission that we can configure on the view. Views also reduce the effort that is required for writing queries to access specific columns every time.
What are the types of indexes available with SQL Server?
There are basically two types of indexes that we use with the SQL Server. Clustered and the Non-Clustered.
What is a view? How it is related to data independence?
A view may be thought of as a virtual table, that is, a table that does not really exist in its own right but is instead derived from one or more underlying base table. In other words, there is no stored file that direct represents the view instead a definition of view is stored in data dictionary.
Growth and restructuring of base tables is not reflected in views. Thus the view can insulate users from the effects of restructuring and growth in the database. Hence accounts for logical data independence.
Quick Links For Interview Questions Categories:
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.
So, Start looking our
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Terms of Service
Tell A Friend