i wish i knew that yesterday!

Post on 05-Dec-2014

517 Views

Category:

Technology

8 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

I wish I knew that yesterday!

SQL Server 2012 Awesomeness

and some other stuff

Matt Horn

• Senior Consultant – Aphelion Software• Microsoft® Certified Technology Specialist• Co-lead JHB Business Intelligence

Developer Network• Lead - IntelliCape B.I. User Group

9/27/2013 |

Managing role based security with SharePoint2 |

Agenda

Sequences Paging Dates String Functions Conversion Functions Other useful @#$%

9/27/2013 |

Footer Goes Here3 |

Sequences

Sequences

Used to generate numeric sequences. Set min and max values Caching of future values minimizing disk

IO. \0/

Paging

OFFSET & FETCH

ORDER BY is mandatory OFFSET  and FETCH are a pair. TOP  is a no no.

Dates

New Functions

DATEFROMPARTS DATETIMEFROMPARTS DATETIME2FROMPARTS SMALLDATETIMEFROMPARTS DATETIMEOFFSETFROMPARTS TIMEFROMPARTS EOMONTH

Strings

String Functions

CONCAT Does what it says on the box

FORMAT Looks simple. MASSIVELY useful

Conversion Functions

PARSE TRY_PARSE TRY_CONVERT

Other useful .. stuff

top related