Monthly Archives: May 2010

Select TOP n vs Set Rowcount n

We had an issue this week while migrating our databases from Sybase to SQL SERVER. In sybase we would use SET ROWCOUNT 1 if we wanted to return only 1 record within a cfquery. Works just fine and it is … Continue reading

Posted in Code, Problems & Fixes | Comments Off on Select TOP n vs Set Rowcount n

dumping form variables

Occasionally I need to see the form variables passed from the form to the next page. There are a couple of ways to do it depending on your needs. CFDump is probably the easiest and outputs the results to a … Continue reading

Posted in Code, Coldfusion, Snippets | Comments Off on dumping form variables

CSS3 – The vanishing shadow

Do you usually resort to Photoshop to create an image of text or object with a drop shadow, save it as a gif or png (and hope no-one is using IE6)? Or do you layer boxes within background boxes to … Continue reading

Posted in Code, CSS, Snippets | Comments Off on CSS3 – The vanishing shadow