1 / 13

SQL row functions

SQL row functions. Agenda. String functions Case functions Subtracting functions Manipulation functions Other functions Date time functions Retrieving functions Partial retrieving functions Manipulation functions Convert functions Mathematical functions. String functions.

johngrady
Download Presentation

SQL row functions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SQL row functions

  2. Agenda • String functions • Case functions • Subtracting functions • Manipulation functions • Other functions • Date time functions • Retrieving functions • Partial retrieving functions • Manipulation functions • Convert functions • Mathematical functions

  3. String functions

  4. Case functions • Upper(string) • Lower(string)

  5. Subtracting functions • Left(string , integer) • Right(string , integer) • Substring(string , integer)

  6. Manipulation functions Replace( String, String, String) Reverse(String) Replicate(Sting,Integer)

  7. Other functions • Len(String) • select charindex(String,String,index)

  8. Date-time functions

  9. Retrieving functions • getDate() • getUTCDate()

  10. Partial retrieving functions • Day(Date-time) • Month(Date-time) • Year(Date-time)

  11. Manipulation functions • Dateadd (datepart, integer, datetime) • Datediff (datepart,datetime,datetime)

  12. Convert function • Convert (datatype, any type) • Cast (any type as datatype)

  13. Mathematical functions • Abs() • Sin(), Cos(), Tan() • Floor(), Ceiling() • Power(), Log(), log10() • Sqrt(),Square()

More Related