One MySql query MS SQL doesn't seem to like is copying parts of one table 
to another table. The tables should be identical as I created both with the 
same query only changing the table name.

I am suspecting some syntax problem, but being new to MS SQL I just can't 
see what it is.

Below is the query.

Thanks,

Nick

<cfquery name = "GetResultsDRC" dataSource = "DRDB" >
        INSERT INTO ChartGraph
        SELECT *
        FROM MasterTable
        Where Col1= 'TransactionDate' AND TransactionTime <= #EndTime# AND 
TransactionTime >=#StartTime#
        order by TransactionTime
</cfquery>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195592
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

Reply via email to