Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 8 of 8 total |
Export Table OS Error |
Fri, Jul 13 2007 4:46 AM | Permanent Link |
Michael Thompson | When I run this Query:
SQL.Add('EXPORT TABLE patient'); SQL.Add('TO ''C:\Users\Michael\Desktop\Patient.csv'''); SQL.Add('Include Headers'); Prepare; ExecSQL; I get an error #600 "Path is invalid", But the path is good and I can use CreateFile() with no problems. |
Fri, Jul 13 2007 4:49 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Michael,
<< When I run this Query: SQL.Add('EXPORT TABLE patient'); SQL.Add('TO ''C:\Users\Michael\Desktop\Patient.csv'''); SQL.Add('Include Headers'); Prepare; ExecSQL; I get an error #600 "Path is invalid", But the path is good and I can use CreateFile() with no problems. >> What is the full error message ? If it includes an "OS Error" section, then the error is coming from the OS and we really have no control over the "why" of the error. -- Tim Young Elevate Software www.elevatesoft.com |
Fri, Jul 13 2007 5:54 PM | Permanent Link |
Michael Thompson | I changed the query to
SQL.Add('EXPORT TABLE "Patient"'); SQL.Add('TO ''C:\Patient.csv'''); SQL.Add('Include Headers'); Prepare; ExecSQL; And it runs with no errors but The is no Paatient.csv file to be found anywhere. If I run this same query in the EDB Manager everything works fine. |
Mon, Jul 16 2007 4:40 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Michael,
<< And it runs with no errors but The is no Paatient.csv file to be found anywhere. If I run this same query in the EDB Manager everything works fine. >> Is this running over a local or remote session ? -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Jul 16 2007 5:00 PM | Permanent Link |
Michael Thompson | Tim,
I'm using a Remote Session "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote: Michael, << And it runs with no errors but The is no Paatient.csv file to be found anywhere. If I run this same query in the EDB Manager everything works fine. >> Is this running over a local or remote session ? -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Jul 16 2007 5:20 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Michael,
<< I'm using a Remote Session >> And are you looking on the ElevateDB Server's c:\ driver for the exported file ? With remote sessions, the export is done from the perspective of the ElevateDB Server, not the client application. -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Jul 16 2007 7:04 PM | Permanent Link |
Michael Thompson | It's is a local database 127.0.0.1
"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote: Michael, << I'm using a Remote Session >> And are you looking on the ElevateDB Server's c:\ driver for the exported file ? With remote sessions, the export is done from the perspective of the ElevateDB Server, not the client application. -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Jul 16 2007 8:08 PM | Permanent Link |
Michael Thompson | I'm sorry your right I checked the server and the file were there.
I thought I had the address set for 127.0.0.1 but it was set for my server. That explains why it could not find the path error I was getting. I am going to bang my head against the wall now. |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |