J Juzer Hussain Active Member Licensed User Longtime User Sep 24, 2016 #1 Hi Guys, I am getting different results with same sql query in 4.1.2 and 6.0.The query is simple though but i suspect CAST function (I am casting TEXT to INT) and IN() functionality. Is this a known issue. Pls advice. Thanks Juzer
Hi Guys, I am getting different results with same sql query in 4.1.2 and 6.0.The query is simple though but i suspect CAST function (I am casting TEXT to INT) and IN() functionality. Is this a known issue. Pls advice. Thanks Juzer
J Juzer Hussain Active Member Licensed User Longtime User Sep 24, 2016 #2 Juzer Hussain said: Hi Guys, I am getting different results with same sql query in 4.1.2 and 6.0.The query is simple though but i suspect CAST function (I am casting TEXT to INT) and IN() functionality. Is this a known issue. Pls advice. Thanks Juzer Click to expand... "Cast" was the issue AutoNumber >cast(" & sLastReadRecord & " As Int) fails in 4.1.2 works in 6.0 cast(AutoNumber as int)>cast(" & sLastReadRecord & " As Int) works in 4.1.2 works in 6.0 AutoNumberis TEXT field Upvote 0
Juzer Hussain said: Hi Guys, I am getting different results with same sql query in 4.1.2 and 6.0.The query is simple though but i suspect CAST function (I am casting TEXT to INT) and IN() functionality. Is this a known issue. Pls advice. Thanks Juzer Click to expand... "Cast" was the issue AutoNumber >cast(" & sLastReadRecord & " As Int) fails in 4.1.2 works in 6.0 cast(AutoNumber as int)>cast(" & sLastReadRecord & " As Int) works in 4.1.2 works in 6.0 AutoNumberis TEXT field