You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqt3/examples/sql/sqltable
Michele Calgaro 5fffa30386
Rename nt* sql related files to equivalent tq*
4 months ago
..
README Sync with latest script 13 years ago
main.cpp Rename nt* sql related files to equivalent tq* 4 months ago
sqltable.doc Rename nt* sql related files to equivalent tq* 4 months ago
sqltable.pro Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 13 years ago

README

This SQL table example requires a connection to a SQL database.
Modify main.cpp to connect to your specific database.  

This example program expects a table called 'simpletable' to exist in
the database.  You can create this table by running the following SQL
script (modify to suit your backend, if necessary):

drop table simpletable;
create table simpletable
(id number primary key,
name varchar(20),
address varchar(20) );

-- optional, some sample data
insert into simpletable (id, name, address)
values (1, 'Trond', 'Oslo');
insert into simpletable (id, name, address)
values (2, 'Dave', 'Oslo');