If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > LOAD/UNLOAD sql command in ESQL/C

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-29-03, 00:13
jisc jisc is offline
Registered User
 
Join Date: Jan 2003
Location: Nomad
Posts: 3
Unhappy LOAD/UNLOAD sql command in ESQL/C

Why can't I use the LOAD/UNLOAD SQL command in ESQL/C Code? Is there another why? I always get a syntax error while compiling. Hope someone can help me.
Reply With Quote
  #2 (permalink)  
Old 01-29-03, 02:03
eherber eherber is offline
Registered User
 
Join Date: Aug 2002
Location: Bonn/Germany
Posts: 152
load/unload are no SQL commands. They can't be
used inside esql/c. They are only built in into 'dbaccess',
'isql' or 4gl (AFAIK).

You need to write your own load/unload in esql/c or
call 'dbaccess' for unload/load or 'dbload' or 'HPL'.


HTH.

Best regards

Eric
--
IT-Consulting Herber
WWW: http://www.herber-consulting.de
Email: eric@herber-consulting.de

***********************************************
Download the IFMX Database-Monitor for free at:
http://www.herber-consulting.de/BusyBee
***********************************************
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On