question

Vinay S avatar image
0 Likes"
Vinay S asked Jordan Johnson answered

SQLite exporting error in DB connector

I connected SQLite using DB Connection, Importing data from SQLite data is working but exporting showing error like there is no such columns. but those columns are there in Table.


  1. Error Message in System console: exception: Exception thrown in database export:
  2. Error Message in Compiler console:
  3. Reference to Order could not be resolved to a valid column. Parsing halted.
  4. Could not resolve column references in query: SELECT Priority, Section, Order QTY, Die_Availability, Die_Life FROM $1
FlexSim 23.0.0
export datasqlite
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jordan Johnson avatar image
3 Likes"
Jordan Johnson answered
I will add this suggestion to the dev list.
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image
2 Likes"
Jason Lightfoot answered

FlexSim doesn't automatically interpret column names that included spaces, so put [Order Qty] in your sql statement.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Kavika F avatar image
0 Likes"
Kavika F answered Julie Weller converted comment to answer

Hey @Vinay S, based on line 4 of the error message, it looks like there's a missing comma after Order if you're also looking for a column named QTY. I don't think there's a SQL keyword "QTY".

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.