Jump to content

SQL Query Problem


gunas108
 Share

This topic is 5735 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi

This goes out to all the SQL people.

I have a Filemaker Database and a MySQL Database on my computer (localhost). I have set up an ODBC connection with the actual odbc driver. I want to export data from my Filemaker table into my MySQL database with the same table. Therefor i have created a sript that connects successfully to the MySQL database. The only problem is that is inserts my SQL statement into the culumms instead of the Filemaker data. The script goes like this:

INSERT INTO g2_user (g_id, g_userName, g_fullName, g_hashedPassword, g_email, g_language) VALUES ('" & g2_user::g_id & "', '" & g2_user::g_userName & "', '" & g2_user::g_fullName& "', '" & g2_user::g_hashedPassword & "', '" & g2_user::g_email & "', '" & g2_user::g_language & "')

The table and culumm names are the same in both databases.

Whats wrong with this code?

Can anybody help?

Thanks Gunnar

Edited by Guest
Link to comment
Share on other sites

This topic is 5735 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.