Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Posts: 235
Registered: ‎12-13-2011
My Device: Curve 9380
My Carrier: Vodafone-IN

How to compare data field in sql?

Hai i am trying to fetch data from mysql.. my query is below but i didint get the result..

sqlStatement.text = "SELECT * FROM shelfTable WHERE currentdate <> @yesterday_date OR currentdate <> @today_date  ";

Anybody have idea about not equal statement and OR gate please help me




Regular Contributor
Posts: 73
Registered: ‎12-30-2011
My Device: All devices
My Carrier: RIM

Re: How to compare data field in sql?

Hi ,


 I am also with this problem please help me.




Thanks Mohd Farhan


Mohd Farhan
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: How to compare data field in sql?

!=. You cal also search the Internet for SQL questions. But remember, SQL lite not support all SQL.