Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MySQL question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01499811
Message ID:
01500056
Views:
63
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform