Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing very long SQL-Commands to MySQL-Server
Message
De
26/03/2003 12:53:19
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Passing very long SQL-Commands to MySQL-Server
Divers
Thread ID:
00770320
Message ID:
00770320
Vues:
40
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform