Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3780

Is there something wrong with this database?

$
0
0

Hiya,

I’m trying to process some data for work. I have converted the data (which was in CSV format) to an SQLite database using Norman Palardy’s tool (GitHub - npalardy/CSVParser: Event based and recordset like CSV parser for Xojo).

The database has a single table (Radiologists) and the full database has about 18,000 rows.

I was just trying a simple SQL statement:

SELECT * FROM Radiologists WHERE radID = 19;

but I get an SQL error saying that column radID doesn't exist. I have definitely spelled it correctly. As far as I can tell there are no weird characters in the column name.

Oddly, if I do an almost identical query but use the Values column the query works fine:

SELECT * FROM Radiologists WHERE Values = 6;

I have attached a massively edited version of the database with only 500 rows that exhibits the same behaviour.

I have tried querying the database both from within Xojo and using a third party tool (Base for macOS) and get the same error.

What am I doing wrong?

Radiologists.sqlite.zip (186.5 KB)

45 posts - 12 participants

Read full topic


Viewing all articles
Browse latest Browse all 3780

Trending Articles