Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing very long SQL-Commands to MySQL-Server
Message
From
26/03/2003 12:53:19
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Passing very long SQL-Commands to MySQL-Server
Miscellaneous
Thread ID:
00770320
Message ID:
00770320
Views:
38
Hello everybody!

What is the best way to pass very long SQL_Commands to an MY_SQL Server ??
Until now i do like this:

l_command = 'insert into t_table set data1 = "abc",data2= "yxz"..........'
l_ok= SQLEXEC(l_connection,l_command')

If the length of l_commands grows to more then 254 characters,
i split the task in two parts

first insert with keyfields and half of fields, then updating the inserted record with the rest of the fields ??????????

I believe that there must be a better way to handle this!
What about very long and complex select commands, that can't be split??
Any idea welcomed

Best regards
Albert
Next
Reply
Map
View

Click here to load this message in the networking platform