Don't you need to wrap the entire SELECT in parenthesis? INSERT INTO ChartGraph (field 1, field2, field3) (SELECT field1, field2, field3 FROM MasterTable Where Col1= 'TransactionDate' AND TransactionTime <= #EndTime# AND TransactionTime >=#StartTime#)
-----Original Message----- From: Nick Baker [mailto:[EMAIL PROTECTED] Sent: Saturday, February 19, 2005 11:45 PM To: CF-Talk Subject: Re: OT: Copy parts of a MySQL table to a MS SQL tablE Thanks for the suggestions. Unfortunately, the INSERT code you provided didn't work either. Yes, the standalone SELECT does work. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:195637 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

