Functions

About

Catalog and type of function that you can meet in any development language.

Articles Related

Type

Analytics Function

Time serie function

Aggregate functions

Aggregate functions return a single value, calculated from values in a column.

Example of aggregate functions:

  • AVG() - Returns the average value
  • COUNT() - Returns the number of rows
  • FIRST() - Returns the first value
  • LAST() - Returns the last value
  • MAX() - Returns the largest value
  • MIN() - Returns the smallest value
  • SUM() - Returns the sum

Scalar functions

Scalar functions return a single value, based on the input value.

Example of scalar functions:

  • LEN() - Returns the length of a text field
  • ROUND() - Rounds a numeric field to the number of decimals specified
  • NOW() - Returns the current system date and time
  • TRIM() - Strip whitespace (or other characters) from the beginning and end of a text field

Deterministic function

Did they return always the same result ? deterministic properties

  • Bookmark "Functions" at del.icio.us
  • Bookmark "Functions" at Digg
  • Bookmark "Functions" at Ask
  • Bookmark "Functions" at Google
  • Bookmark "Functions" at StumbleUpon
  • Bookmark "Functions" at Technorati
  • Bookmark "Functions" at Live Bookmarks
  • Bookmark "Functions" at Yahoo! Myweb
  • Bookmark "Functions" at Facebook
  • Bookmark "Functions" at Yahoo! Bookmarks
  • Bookmark "Functions" at Twitter
  • Bookmark "Functions" at myAOL
 
function/function.txt · Last modified: 2011/09/12 10:50 by gerardnico