ColdFusion tutorial to create same hash as CF, but in MS SQL!, directly in the MS SQL RDMBS?
January 6, 2008 at 5:54 am Taco Fleur Leave a comment
How cool would it be, being able to create the same MD5 hash as ColdFusion, directly in the MS SQL RDMBSH?
I know there’s been quite some demand for this function, most people create the MD5 hash in ColdFusion and then pass it the Database, this mean a couple more round trips to the db, which we prefer to avoid at anytime.
We’ll make some assumptions in this article to make things easier, and they are;
– you are running MS SQL 2005
– you are running ColdFusion
Ready to get started?
The first thing to do is go into your MS SQL database and create the following function that creates the hash and return a string value…..
I know there’s been quite some demand for this function, most people create the MD5 hash in ColdFusion and then pass it the Database, this mean a couple more round trips to the db, which we prefer to avoid at anytime.
We’ll make some assumptions in this article to make things easier, and they are;
– you are running MS SQL 2005
– you are running ColdFusion
Ready to get started?
The first thing to do is go into your MS SQL database and create the following function that creates the hash and return a string value…..
Because our blog doesn’t maintain formatting and colour coding, we’ll just make this tutorial available in a Word document 😉
You can download the document on the following link: ColdFusion tutorial to create same hash as CF, but in MS SQL!, directly in the MS SQL RDMBS?.
Entry filed under: ColdFusion, MS SQL. Tags: hash, MS SQL, Programming.
Trackback this post | Subscribe to the comments via RSS Feed