House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Odd SQL Problem

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brian Thornton
05/08/2012 11:58 PM

I don't know if it's because its 11PM or what but I got a get of SQL working on MSQL client but wont work via cfquery significant amount of googleing was a nogo... Any ideas? select * into NewTable FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',     'Excel 8.0;Database=C:\Brian.xls;HDR=YES',     'SELECT * FROM [Sheet1$]') SQL MS comes back with "1500 record(s) added but cfcomes back with "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" turns out this is a generic message and could very to permissions to single quotes.... Any ideas or does anyone have cfquery example to the insert into?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
05/09/2012 12:13 AM

----- Excess quoted text cut - see Original Post for more ----- I suspect that OPENROWSET isn't going to work with CF through JDBC. I'm not sure why - perhaps it expects the connection string to work from the machine running CF. You could try writing it as a stored procedure, then calling the sproc from CF. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or ons

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group

<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 19, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       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 30 31   

Designer, Developer and mobile workflow conference