Advertisement
Guest User

Untitled

a guest
Jan 6th, 2012
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function setup_js(tx) {
  2.         tx.executeSql('CREATE TABLE IF NOT EXISTS tb_books ( id INTEGER PRIMARY KEY, name TEXT )');
  3.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "Genesis" )');
  4.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "Exodus" )');
  5.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "Leviticus" )');
  6.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "Numbers" )');
  7.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "Deuteronomy" )');
  8.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "Joshua" )');
  9.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "Judges" )');
  10.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "Ruth" )');
  11.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "I+Samuel" )');
  12.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "II+Samuel" )');
  13.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "I+Kings" )');
  14.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "II+Kings" )');
  15.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "I+Chronicles" )');
  16.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "II+Chronicles" )');
  17.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "Ezra" )');
  18.         tx.executeSql('INSERT INTO tb_books ( name ) VALUES ( "Nehemiah" )');
  19. ...
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement