Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / s

SQL aggregate functions
SUM,COUNT,MIN,MAX,AVG

BUILT-IN FUNCTIONS includes the above and other functions
like DATE,TIME,DAY,YEAR,DAYS,TIMESTAMP,NULLIF,HEX,SUBSTR

Is This Answer Correct ?    3 Yes 0 No

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

Answer / kishaloy bhowmick

Built in functions include all the mathematical functions
like sum,difference,multiply,division,max,min,avg.

And also date,time,year,month,timestamp etc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well

0 Answers  


Can a array declared with an index be displayed(readable format) in spool?

4 Answers   Syntel, UST,


What is the result of open cursor statement?

0 Answers  


what is the maximum number of tables that can be joined ?

8 Answers   IBM, TCS,


Where can you declare a cursor in a cobol-db2 program?

0 Answers  


why should we bind the DB2 program . What if we did not BIND a BD2 program ??

9 Answers   Infosys, TCS, Xansa,


Explain about open switch business continuity software?

0 Answers  


What is the function of buffer manager?

1 Answers  


How do I optimize a query in db2?

0 Answers  


What is dclgen in db2?

0 Answers  


How can deadlocks be resolved?

0 Answers  


SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

0 Answers  


Categories