Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird MySQL Behavior
Message
 
 
To
15/02/2011 08:32:44
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01500180
Message ID:
01500231
Views:
42
>Naomi,
>
>In SQL Server string constants use single quotes. I think MySQL is probably the same. Single quote should be safer. Also, use p and s instead of a/b for aliases.
>
>I have change my double quotes into single quotes, with the same (unwanted) result. Kindly check message 1500219 - I have also changed the table alias A and B into AA and BB as per Tore's advise. Still the same.
>
>Funny thing is, it works on the MySQL side. It also works on VFP side, but shows an error message (trapped by my code) first, then displays the correct results!
>
>Jeeezz!!
>
>Dennis

One more try - get rid of aliases completely (even if it will make it longer to write) and use table name as alias.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform