I am trying to get a recordset based off of the integer value of a column
Dim sql as String = “SELECT * from Rabbit WHERE GenderID = 2”
GenderID is an integer column that will have only a value of 1 or 2.
I get all the rows back. Should limit them. What do I have to do?
I am sure it is simple, but I have not been able to find the documentation or example of this.
There are only rows that have a value of 1 or 2 in them.
There are only 10 rows. two of the rows have a 1 the rest a 2 of the genderID
I am getting back all 10 rows. It is as if the where clause is not being used.
I am using SQLite.