MySQL Forums
Forum List  »  MySQL Workbench

Re-Importing Exported 'CodeGen' .cs (C#) file?
Posted by: Callen Gilmartin
Date: February 10, 2019 12:03AM

I had created a large number of accidental tables inside of a database.
I decided to export the tables I still needed using the 'CodeGen' format export option.

I then deleted all the tables from the database.

When I go to re-import the exported tables, MySQL replies with the error:

"#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using System' at line 1"

How can I fix this? Is there anyway to either import the now C# code or comvert the code into an importable format?

Options: ReplyQuote

Written By
Re-Importing Exported 'CodeGen' .cs (C#) file?
February 10, 2019 12:03AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.