You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello together and thank you for providing this great LinqPad driver!
I have an issue with querying the Firebird database. To verify if the data in my table is correct I did some calculation where I calculate minutes / 60.0 * hourlyRate.
Depending on whether I hardcode the value 60.0 or use a variable defined earlier I get different SQL queries and different result data.
Here is the wrong behavior using the hardcoded / const value:
Here is the right behavior using a SQL variable:
What I would expect:
If the hardcoded value is of type double/float, it should be used with the sql-related floating point datatype in the query.
Or is this somehow expected behavior?
Thanks in advance!
Used LinqPad version: v8.2.4 (X64)
Used Driver version: v5.2.2
The text was updated successfully, but these errors were encountered:
Hello together and thank you for providing this great LinqPad driver!
I have an issue with querying the Firebird database. To verify if the data in my table is correct I did some calculation where I calculate
minutes / 60.0 * hourlyRate
.Depending on whether I hardcode the value
60.0
or use a variable defined earlier I get different SQL queries and different result data.Here is the wrong behavior using the hardcoded / const value:
Here is the right behavior using a SQL variable:
What I would expect:
If the hardcoded value is of type double/float, it should be used with the sql-related floating point datatype in the query.
Or is this somehow expected behavior?
Thanks in advance!
Used LinqPad version: v8.2.4 (X64)
Used Driver version: v5.2.2
The text was updated successfully, but these errors were encountered: