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


Top 5 Contributors of the Month
david stephan

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

What are some SQL aggregates and other built-in functions?

Posted By :Narayanan     Posted Date :September 28, 2011    Points :40   Category :Sql Server 
AVG, SUM, MIN, MAX, COUNT and DISTINCT.

You can also find related Interview Question to What are some SQL aggregates and other built-in functions?  below: 

I was trying to use an "out int" parameter in one of my functions. How should I declare the variable that I am passing to it?

  
You should declare the variable as an int, but when you pass it in you must specify it as 'out', like the following: int i; foo(out i); where foo is declared as follows: [return-type] foo(out int o) { } (More...)

Explain about the Boolean functions present in Javascript?

  
Three Boolean operators are present in Javascript they are
1) &&
2) II
3) /
All the operators are regarded as true unless the Javascript regards them as false. You can define these operators to make as statement false number0, null, undefined, or a string of length 0, etc. Boolean function performs these conversions explicitly. (More...)

What are the Text and Image Functions?

  
PATINDEX,TEXTPTR,TEXTVALID are the Text and Image Functions (More...)

Tell me some String Functions?

  
SUBSTRING, SOUNDEX, DIFFERENCE (More...)

Tell me some Aggregate Functions?

  
BINARY_CHECKSUM
CHECKSUM
Count
Sum
AVG (More...)

How many in built objects are there in ASP.net?

  
There are 6 objects.

1. Server
2. Session
3. Application
4. ObjectContext
5. Response
6. Request (More...)

What are the built in ways to backup a SharePoint install?

  
Using central administration and the stsadm command you can take backup (More...)

Difference between stored procedures and functions ?

  
1>Procedure can return zero or n values whereas function can return one value which is mandatory.

2>Procedures can have input,output parameters for it whereas functions can have only input parameters.

3>Procedure allow select as well as DML statement in it whereas function allow only select statement in it.

4>Functions can be called from procedure whereas procedures cannot be called from function.

5>Exception can be handled by try-catch block in a procedure whereas try-catch block cannot be used in a function.

6>We can go for transaction management in procedure whereas we can't go in function.

7>Procedures can not be utilized in a select statement whereas function can be embedded in a select statement. (More...)

Sql Server System Functions?

  
@@IDENTITY
Returns the last identity value created by the current connection.

@@ERROR
Returns the error code for the last T-SQL statement that ran on the current connection. If there is no
error, then the value will be zero.

@@ROWCOUNT

Returns The row count of the previous Executed T-Sql Statement (More...)

What are major built in Objects in asp.net ?

  
Application

Request

Response

Server

Session

Context

Trace (More...)

differences between stored procedures and functions:

  
Functions
----------
1) can be used with Select statement
2) Not returning output parameter but returns Table variables
3) You can join UDF
4) Cannot be used to change server configuration
5) Cannot be used with XML FOR clause
6) Cannot have transaction within function

Stored Procedure
-----------------
1) have to use EXEC or EXECUTE
2) return output parameter
3) can create table but won't return Table Variables
4) you can not join SP
5) can be used to change server configuration
6) can be used with XML FOR Clause
7) can have transaction within SP (More...)

Name the built-in markup extensions in WPF?

  
The following are the built-in markup extensions:

1)Binding:-To bind the values of two properties together.

2)StaticResource:-One time lookup of a resource entry

3)DynamicResource:-Auto updating lookup of a resource entry

4)TemplateBinding:-To bind a property of a control template to a dependency property of the control

5)x:Static:-Resolve the value of a static property.

6)x:Null:-Return null
(More...)

Does the .NET Framework have in-built support for serialization?

  
There are two separate mechanisms provided by the .NET class library - XmlSerializer and SoapFormatter/BinaryFormatter. Microsoft uses XmlSerializer for Web Services, and uses SoapFormatter/BinaryFormatter for remoting. Both are available for use in your own code. (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