Android Question ROWID in SQL query

strupp01

Active Member
Licensed User
Longtime User
I want the line no. (Several) from a table 'BRP' and the column 'Plus_Zeit', which contain the value '0.0'. With the command
"SELECT Plus_Zeit, ROWID FROM BRP where Plus_Zeit = '0.0'"
I get the number of rows but not the row no. (ROWID).

How must the command look right?
 

strupp01

Active Member
Licensed User
Longtime User
ROWID is the internal column name of SQL for the number of records. I did not create a column ID number with the command 'AUTO_INCREMENT' when creating the table.

upload_2017-6-5_14-33-56.png


This is an excerpt from the table with a DB browser.
 
Upvote 0

Smee

Well-Known Member
Licensed User
Longtime User
I always use lower case for rowid and I always put it at the beginning of a query, not sure if it makes a difference though
 
Upvote 0
Top