PaulS:
So, there is some application listening to the serial port, and that can read from/write to the SQLite database. What is the problem?
I am a novice when it comes to using the Arduino Uno.
I currently have a program that is running on the Uno that can write to RFID cards, and also a database on SQLite.
However, I would like to know how to write from the SQLite database on to the card. The most important part is how do I actually access the database via an Arduino program?
What my esteemed colleague is trying to say is that the arduino can only receive and transmit text on the serial port connected to the PC. What you will require is some kind of program running on your PC that listens to text commands from the serial port (eg the RFID codes) , goes and looks up the SQLite database for the information required (names etc) and sends the results back as text.
So there are two programs to write:
The arduino code which reads the RFID chip and sends the results to serial, then listens for and responds in some way to the answer. It sounds like you mostly have that already.
The code on your PC which listens to the serial port, accesses the data, and sends results.
Not sure what your programming background is but I would choose Python for the second part as it has modules for serial and SQLite already. THere are, of course, lots of other choices such as ruby, lua or even dos batch files if you feel really brave.
What my esteemed colleague is trying to say is that the arduino can only receive and transmit text on the serial port connected to the PC.
Not true. The Arduino can wear an ethernet shield or a WiFi shield, and make GET requests to (scripts on) servers, too.
I currently have a program that is running on the Uno that can write to RFID cards, and also a database on SQLite.
That statement needs a bit of clarification. Does that mean "I have a program and I have a database" or does it mean "I have a program that can write to an RFID card and that can write to a database"?
PaulS:
Not true. The Arduino can wear an ethernet shield or a WiFi shield, and make GET requests to (scripts on) servers, too.
In other words, the Arduino itself cannot do the job by itself which is what I believe the OP is actually asking (Though who knows newbies have ambitious plans are completely clueless about implementation.). This is why rw950431 worded his reponse the way he did.
Anyway, the Arduino requires an intermediary that the OP or someone else must also write or provide to get information into the database. This is a must.
No clue of the OP's competence in anything at this point.