Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MySQL question
Message
 
À
14/02/2011 02:42:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01499811
Message ID:
01500056
Vues:
65
>yes I logged in as an administrator.
>I only have one database.
>
>thanks for the help.
>
>-------------------------
>
>Did you check the error? Is the logged in user an administrator? Use mydatabase may be a problem if the login string already assigns a database.
>>I have tried:
>>
>>
>>mcode1="use mydatabase;alter table customer ADD email_add VARCHAR(45);"
>>store sqlexec(thisform.zConnHandle,mcode1,'resultcur') to result1
>>
>>
>>unfortunately it doesn't work.

The support for multicommands is not default choice on MySQL server.
mcode1="use mydatabase" 
store sqlexec(thisform.zConnHandle,mcode1,'resultcur') to result1

mcode1="alter table customer ADD email_add VARCHAR(45)" 
store sqlexec(thisform.zConnHandle,mcode1,'resultcur') to result1
MartinaJ
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform