question

Mischa Spelt avatar image
1 Like"
Mischa Spelt asked anthony.johnson commented

Query works or not, depending on FROM order

I ran into a weird issue where a query that I knew should give me some rows returned an empty result set.

After a lot of trial-and-error, I found out that swapping the order of the tables in the FROM statement fixed the problem.

Is this a bug?

In the attached model, emptyresultset.fsm, run the Script to see the empty result set in the DEBUG table. If you swap the order of the tables in the FROM, as per the comment at the bottom of the script, you will get one row.

FlexSim 17.1.2
bug reportquerysql join
emptyresultset.fsm (20.6 KiB)
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

anthony.johnson avatar image
1 Like"
anthony.johnson answered anthony.johnson commented

Yes, this is a bug. We'll get it fixed for the next release.

· 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.