question

Arun Kr avatar image
1 Like"
Arun Kr asked Jason Lightfoot answered

SQL Query Exception For WHERE Filter With Parameter

Hi Support,

SQL query throwing exception for WHERE filter with parameters, while debugging. Is this a known issue? Or am I doing a mistake here?

Note: Error happens only when we do debugging and not happening for non-parameter conditions

string x= "A";
Table Q = Table.query("SELECT * FROM GlobalTable1 WHERE Type = $1",x);

return Q[1][2];

exception: SqlQuery - Unknown error in: SELECT * FROM GlobalTable1 WHERE Type = $1

Regards,

Arun KRSQLQuery_WHEREFilterException_Bug.fsm


FlexSim 22.1.1
query
5 |100000

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

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Arun Kr commented

Yes - thanks for posting. This is a known bug that has been reported elsewhere.

5 |100000

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