.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> Sql Server >> Post New Question Subscribe to Interview Questions

Database: state whether function and Views are similar in some respect?

Posted By :shankey     Posted Date :July 27, 2011    Points :40   Category :Sql Server 
Yes, Function take parameters and can be used in joins and other row set operations.

You can also find related Interview Question to Database: state whether function and Views are similar in some respect?  below: 

Which function is used to know the database property in SQL Server.


It will return the specified property of the specified database.



You can use this function to know other properties of your database. (More...)

Which function is used to know the database name by giving the database ID?

The DB_NAME function is used to know the database name. It takes the database id as the argument.


Example:- SELECT DB_NAME(5) -->Student (More...)

Database should be created as a SINGLE_USER state Whenever you create a new Database. What should you do ?

1. Normally, when we create a new database, All the properties will be inherited from the Model database.

2. So, Just change the Model database's State to SINGLE_USER.

3. Now onwards, The new database will be created as SINGLE_USER state. (More...)

Database: State whether Trigger is a stored procedure or not?

.Yes, It is a Stored procedure that initiates an action when an event occurs. (More...)

Database: State whether a trigger can be called or executed?

.No, It is called by DBMS automatically whenever any changes are made to the associated table. (More...)

Database: Difference between Function and stored procedure?


Function can be used in sql statements anywhere in where/select/having etc. where as stored procedure cannot be.

Database: State Can an Identity column be index?

No, Identity and GUID column do not need to be indexed. (More...)

Database:State whether the TCP/IP port can be changed on which SQL Server run

Yes, It can be changed from
1)Network utility TCP/IP properties
2)Port number, both on client and server (More...)

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. (More...)

What is Method Overriding? How to override a function in C#?

Use the override modifier to modify a method, a property, an indexer, or an event. An override method provides a new implementation of a member inherited from a base class. The method overridden by an override declaration is known as the overridden base method. The overridden base method must have the same signature as the override method.
You cannot override a non-virtual or static method. The overridden base method must be virtual, abstract, or override. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

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 Interview Question 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    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend