You are browsing the archive for Technology.

ColdFusion Tip: User CFQUERYPARAM CFSQLTYPE to Format Your SQL Variables

March 9, 2012 in Web Dev

If you’ve ever tried to move data between two different flavors of databases, you know it can be painful, frustrating, time-consuming and often disappointing. But if you’re working in ColdFusion, CFQUERYPARAM’s CFSQLTTYPE parameter makes life a lot easier, particularly when moving large amounts of text.

 

 

 

After banging my head trying to convert MS SQL data types to ColdFusion data types to MySQL datatypes, I found a trick that works well AND enhances the security of our ColdFusion queries:

 

Use <cfqueryparam cfsqltype=”cf_sql_integer” value=”#myVar#” /> in your insert queries instead of trying to cast the perfect MS SQL or MySQL format. The “cfsqlytype” parameter has several types, including dates and varchars, so any type of data can be magically converted to the proper flavor of datatype and format without jumping through hoops. The “cfqueryparam” tag also provides protection against SQL injection and seems to process large requests much more quickly.

 

Bon appetit!

LightSquared 4G Tech Impacts 75 Percent of GPS Devices

December 12, 2011 in News Briefs, Technology

LightSquared is under fire again. Bloomberg reports their 4G technology could interfere with 75 percent of GPS devices.
Read the full story
.

Jeppesen Issues Notice On iPad IOS 5 Compatibility Issues

October 24, 2011 in Technology

Jeppessen issued a notice on October 13, 2011 outlining several issues with running Jeppessen Mobile FliteDeck and Jeppessen Mobile TC on Apple iPad’s running the new IOS 5 operating system. The full notice is here:

http://ww1.jeppesen.com/documents/publications/2011/10/2011-10-12_ios5.pdf