Can someone tell me what is wrong with the following code? I am just starting to use SQL, but was sure this was the code I previously used to create a table in MySQL, and understood the coding was compatible.
<cfset CTDataSourceName = "lgtestDSN"> <CFQUERY NAME="CreateTable" DATASOURCE="#CTDataSourceName#"> CREATE TABLE `lgtestDSN`.`Scheduler` ( `ID` int( 6 ) NOT NULL default '0', `RPCall` varchar( 6 ) default NULL , `TimeMark` datetime NOT NULL default '0000-00-00 00:00:00', KEY `INDEX` ( `ID` ) ) TYPE = MYISAM ; </CFQUERY> Thanks, Nick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192162 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54