Hi Everyone,
I am extremely new to sqlite and using sql syntax. I have been searching the
web for examples but I am not finding any that actually helps me understand
what I am doing.
Can someone show me in c++ how to insert a record into the database utilizing
variables? The examples I see all have hard coded values, even when I try to
put a variable instead of the values my code never compiles.
Example, I found this code
String Data = "INSERT INTO friend(name, address, age) VALUES('John','Anywhere
here','25')";
How would you actually pull the VALUES from variables and use them. A complete
example will be very helpful.
I am currently trying to write a small demo that will show how to CreateDB,
OpenDB, Create Multiple Tables at once or just one table, Insert Record, Delete
Record, Next Record, Prior Record etc etc. Just the basics so I will at least
know how to use code.
Thanks
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users