Re: [sqlite] Insert record in c++

2013-01-23 Thread Stephan Beal
On Wed, Jan 23, 2013 at 2:36 PM, wrote: > 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. > Google for "sqlite3_bind example" and you'

[sqlite] Insert record in c++

2013-01-23 Thread roystonjames
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 example