File: db_quote.kbs

package info (click to toggle)
basic256 2.0.99.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,888 kB
  • sloc: cpp: 17,185; yacc: 4,025; lex: 1,466; java: 1,091; sh: 39; xml: 33; makefile: 20
file content (8 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
dbfile$ = "db_quote.sqlite3"
e = exist(dbfile$)
dbopen dbfile$
if not e then
  # create table and a few entries if file does not exist
  dbexecute "create table quote (id integer primary key, saying text, author text);"

end