Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Umesh said:
> Hi
> I have ids 9.4 oon windows and csdk. l successfully connected
> to the database using Visula Basic 6.
> When l build a string for example
> SQL1 = "select * from hse2 where field1 matches " & "'a*'
> and execute using : DbaseConn.Execute (SQL1) it works fine.
>
> When l try to load data to a table :
> SQL1 = "load from " & " 'd:\\x.unl' " & " insert into hse2"
> or
> SQL1 = "load from 'd:\\x.unl' insert into hse2
>
> I get a syntax error -201. Anyone know why.
Because the LOAD statement is specific to DBACCESS, not SQL.
--
Bye now,
Obnoxio
"C'est pas parce qu'on n'a rien ' dire qu'il faut fermer sa gueule"
- Coluche
"I'm trying to see things your way, but I can't get my head up my ass"
- JCH
"Ogni uomo mi guarda come se fossi una testa di cazzo"
- Marco
I went to the airport to check in and they asked what I did because I
looked like a terrorist. I said I was a comedian. They said, "Say
something funny then." I told them I had just graduated from flying
school.
-- Ahmed Ahmed
sending to informix-list
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.