Hello Everybody

 

In my application i do

 

TEXT TO l_cmd NOSHOW FLAGS 2

create table AAATEST (AAA char (20) ascii NOT NULL,BBB date NOT NULL)

//  

create table AAABBBTEST (AAA char (20) ascii NOT NULL,BBB date NOT NULL)

//       

commit

endtext

 

l_ok = sqlexecute(con_nr,l_cmd)

 

the database returns an error:

 

SQLBefehl: create table AAATEST (AAA char (20) ascii NOT NULL,BBB date NOT NULL)

//  

create table AAABBBTEST (AAA char (20) ascii NOT NULL,BBB date NOT NULL)

//       

commit

1526

Connectivity-Fehler: [MySQL MaxDB][SQLOD32 DLL][MaxDB] Syntax error or access 
violation;-3014 POS(72) Invalid end of SQL statement

[MySQL MaxDB][SQLOD32 DLL][MaxDB] Syntax error or access violation;-3014 
POS(72) Invalid end of SQL statement

37000

-3014

1

 

How can I pass more then one command to maxdb via odbc??

What about linefeeds, return ... at end of each line ???

 

Mit freundlichen Grüssen

Albert Beermann

    Piepenbrock Service GmbH & Co. KG
Hannoversche Straße 91-95
49084 Osnabrück
Tel:  + 49 (0) 5 41/ 58 41-868
Fax: + 49 (0) 5 41/ 58 41-869
mailto:[EMAIL PROTECTED] 

Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der angegebene 
Empfänger sind oder falls diese E-Mail irrtümlich an Sie adressiert wurde, 
verständigen Sie bitte den Absender sofort und löschen Sie die E-Mail sodann. 
Das unerlaubte Kopieren sowie die unbefugte Übermittlung sind nicht gestattet. 
Die Sicherheit von Übermittlungen per E-Mail kann nicht garantiert werden. 
Falls Sie eine Bestätigung wünschen, fordern Sie bitte den Inhalt der E-Mail 
als Hardcopy an.

<http://www.piepenbrock.de/>  

 

Reply via email to