Quantcast
Channel: Shannon Whitley
Viewing all articles
Browse latest Browse all 12

Transact SQL Gems

$
0
0

New in 2012, they added OFFSET and FETCH.  This is fantastic for paging!  If you’ve ever used MySQL and wished for this in SQL Server, here you go.  Windows Azure SQL DB (SQL Azure) is 2012, by the way.

I don’t know how long this has been around, but I recently needed to generate an MD5 Hash.  The platform I was using didn’t have a function, so I just let SQL Server do the work.

SELECT CONVERT(VARCHAR(MAX), HASHBYTES( ‘MD5′,  ‘Hash Me’), 2)

 

 

 

data-url=”http://www.voiceoftech.com/swhitley/index.php/2012/07/transact-sql-gems/”
data-text=”Transact SQL Gems (Shannon Whitley)”
data-count=”vertical”
>Tweet

App.netShare


Viewing all articles
Browse latest Browse all 12

Latest Images

Trending Articles





Latest Images