Thursday, February 09, 2012    
Home My Books Blog ColdFusion About Me Back    

Calendar
<< Feb 2004 >>
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29            

Search

Categories
 • Acrobat (5) [RSS]
 • Adobe (110) [RSS]
 • AdobeMAX06 (45) [RSS]
 • AdobeMAX07 (59) [RSS]
 • AdobeMAX08 (66) [RSS]
 • AdobeMAX09 (39) [RSS]
 • AdobeMAX10 (34) [RSS]
 • AdobeMAX11 (27) [RSS]
 • AIR (297) [RSS]
 • Appearances (217) [RSS]
 • Books (86) [RSS]
 • CFEclipse (15) [RSS]
 • Cloud (1) [RSS]
 • ColdFusion (1477) [RSS]
 • ColdFusion Builder (22) [RSS]
 • Data Services (42) [RSS]
 • Fish Tank (5) [RSS]
 • Flash (356) [RSS]
 • Flex (562) [RSS]
 • Home Automation (5) [RSS]
 • HTML5 (23) [RSS]
 • JavaScript (2) [RSS]
 • Jobs (130) [RSS]
 • jQuery (14) [RSS]
 • JRun (14) [RSS]
 • Labs (62) [RSS]
 • LiveCycle (37) [RSS]
 • MAX (284) [RSS]
 • Mobile (239) [RSS]
 • Regular Expressions (19) [RSS]
 • RIA (21) [RSS]
 • SQL (45) [RSS]
 • Stuff (554) [RSS]
 • Tips (CF Studio) (80) [RSS]
 • Tips (CF) (795) [RSS]
 • Tips (Dreamweaver) (91) [RSS]
 • Tips (Flex Builder) (2) [RSS]
 • Using CF (167) [RSS]

Other BLOGs
 • Charlie Arehart
 • Lee Brimelow
 • Ray Camden
 • Christophe Coenraets
 • Sean Corfield
 • Mihai Corlan
 • Cornel Creanga
 • Mark Doherty
 • John Dowdell
 • Danny Dura
 • Enrique Duvos
 • Steven Erat
 • Kevin Hoyt
 • Serge Jespers
 • Adam Lehman
 • Duane Nickull
 • Miti Pricope
 • Andrew Shorten
 • Ryan Stewart
 • James Ward
 • Greg Wilson
 • Full As A Goog

RSS Feeds
 • Feed
 • Subscribe

Join my mailing list and find out about new books and other topics of interest.

Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.

Viewing By Day : February 23, 2004 / Main
February 23, 2004

TechNote: Configuring the MySQL JDBC Driver

All versions of Macromedia ColdFusion MX include a MySQL JDBC Type 4 driver. However, some users may choose to use the latest MySQL JDBC driver distributed by MySQL. This new TechNote describes how to configure ColdFusion MX to use a newer version of the driver, see http://www.macromedia.com/support/coldfusion/ts/documents/config_mysql.htm.


Using SQL "IN" In Lieu of Dynamic Datasources

Support for dynamic datasources was dropped on ColdFusion MX (it had been introduced in ColdFusion 5), and this has made it difficult to connect to data files without having to define a datasource. I was asked about this several times while in Japan, and promised to respond via e-mail with details on a workaround. Having just done so, I thought it worthwhile to share the info with others too. The trick is the use of the non-standard SQL keyword IN (not to be confused with the IN operator used in WHERE clauses) which allows a physical file name to be passed in a SQL statement. Macromedia TechNote http://www.macromedia.com/support/coldfusion/ts/documents/dynamic_dsn_cfmx.htm explains the workaround, and Microsoft page http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/html/acsqlINX.asp lists the exact syntax to be used for Access, Excel, DBF (dBase etc.), and Paradox.

  © Copyright 1997-2009 Ben Forta, All Rights Reserved