亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? table.test

?? sqlite庫(kù)
?? TEST
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
# 2001 September 15## The author disclaims copyright to this source code.  In place of# a legal notice, here is a blessing:##    May you do good and not evil.#    May you find forgiveness for yourself and forgive others.#    May you share freely, never taking more than you give.##***********************************************************************# This file implements regression tests for SQLite library.  The# focus of this file is testing the CREATE TABLE statement.## $Id: table.test,v 1.45 2006/03/29 00:24:07 drh Exp $set testdir [file dirname $argv0]source $testdir/tester.tcl# Create a basic table and verify it is added to sqlite_master#do_test table-1.1 {  execsql {    CREATE TABLE test1 (      one varchar(10),      two text    )  }  execsql {    SELECT sql FROM sqlite_master WHERE type!='meta'  }} {{CREATE TABLE test1 (      one varchar(10),      two text    )}}# Verify the other fields of the sqlite_master file.#do_test table-1.3 {  execsql {SELECT name, tbl_name, type FROM sqlite_master WHERE type!='meta'}} {test1 test1 table}# Close and reopen the database.  Verify that everything is# still the same.#do_test table-1.4 {  db close  sqlite3 db test.db  execsql {SELECT name, tbl_name, type from sqlite_master WHERE type!='meta'}} {test1 test1 table}# Drop the database and make sure it disappears.#do_test table-1.5 {  execsql {DROP TABLE test1}  execsql {SELECT * FROM sqlite_master WHERE type!='meta'}} {}# Close and reopen the database.  Verify that the table is# still gone.#do_test table-1.6 {  db close  sqlite3 db test.db  execsql {SELECT name FROM sqlite_master WHERE type!='meta'}} {}# Repeat the above steps, but this time quote the table name.#do_test table-1.10 {  execsql {CREATE TABLE "create" (f1 int)}  execsql {SELECT name FROM sqlite_master WHERE type!='meta'}} {create}do_test table-1.11 {  execsql {DROP TABLE "create"}  execsql {SELECT name FROM "sqlite_master" WHERE type!='meta'}} {}do_test table-1.12 {  execsql {CREATE TABLE test1("f1 ho" int)}  execsql {SELECT name as "X" FROM sqlite_master WHERE type!='meta'}} {test1}do_test table-1.13 {  execsql {DROP TABLE "TEST1"}  execsql {SELECT name FROM "sqlite_master" WHERE type!='meta'}} {}# Verify that we cannot make two tables with the same name#do_test table-2.1 {  execsql {CREATE TABLE TEST2(one text)}  catchsql {CREATE TABLE test2(two text default 'hi')}} {1 {table test2 already exists}}do_test table-2.1.1 {  catchsql {CREATE TABLE "test2" (two)}} {1 {table "test2" already exists}}do_test table-2.1b {  set v [catch {execsql {CREATE TABLE sqlite_master(two text)}} msg]  lappend v $msg} {1 {object name reserved for internal use: sqlite_master}}do_test table-2.1c {  db close  sqlite3 db test.db  set v [catch {execsql {CREATE TABLE sqlite_master(two text)}} msg]  lappend v $msg} {1 {object name reserved for internal use: sqlite_master}}do_test table-2.1d {  catchsql {CREATE TABLE IF NOT EXISTS test2(x,y)}} {0 {}}do_test table-2.1e {  catchsql {CREATE TABLE IF NOT EXISTS test2(x UNIQUE, y TEXT PRIMARY KEY)}} {0 {}}do_test table-2.1f {  execsql {DROP TABLE test2; SELECT name FROM sqlite_master WHERE type!='meta'}} {}# Verify that we cannot make a table with the same name as an index#do_test table-2.2a {  execsql {CREATE TABLE test2(one text); CREATE INDEX test3 ON test2(one)}  set v [catch {execsql {CREATE TABLE test3(two text)}} msg]  lappend v $msg} {1 {there is already an index named test3}}do_test table-2.2b {  db close  sqlite3 db test.db  set v [catch {execsql {CREATE TABLE test3(two text)}} msg]  lappend v $msg} {1 {there is already an index named test3}}do_test table-2.2c {  execsql {SELECT name FROM sqlite_master WHERE type!='meta' ORDER BY name}} {test2 test3}do_test table-2.2d {  execsql {DROP INDEX test3}  set v [catch {execsql {CREATE TABLE test3(two text)}} msg]  lappend v $msg} {0 {}}do_test table-2.2e {  execsql {SELECT name FROM sqlite_master WHERE type!='meta' ORDER BY name}} {test2 test3}do_test table-2.2f {  execsql {DROP TABLE test2; DROP TABLE test3}  execsql {SELECT name FROM sqlite_master WHERE type!='meta' ORDER BY name}} {}# Create a table with many field names#set big_table \{CREATE TABLE big(  f1 varchar(20),  f2 char(10),  f3 varchar(30) primary key,  f4 text,  f5 text,  f6 text,  f7 text,  f8 text,  f9 text,  f10 text,  f11 text,  f12 text,  f13 text,  f14 text,  f15 text,  f16 text,  f17 text,  f18 text,  f19 text,  f20 text)}do_test table-3.1 {  execsql $big_table  execsql {SELECT sql FROM sqlite_master WHERE type=='table'}} \{$big_table\}do_test table-3.2 {  set v [catch {execsql {CREATE TABLE BIG(xyz foo)}} msg]  lappend v $msg} {1 {table BIG already exists}}do_test table-3.3 {  set v [catch {execsql {CREATE TABLE biG(xyz foo)}} msg]  lappend v $msg} {1 {table biG already exists}}do_test table-3.4 {  set v [catch {execsql {CREATE TABLE bIg(xyz foo)}} msg]  lappend v $msg} {1 {table bIg already exists}}do_test table-3.5 {  db close  sqlite3 db test.db  set v [catch {execsql {CREATE TABLE Big(xyz foo)}} msg]  lappend v $msg} {1 {table Big already exists}}do_test table-3.6 {  execsql {DROP TABLE big}  execsql {SELECT name FROM sqlite_master WHERE type!='meta'}} {}# Try creating large numbers of tables#set r {}for {set i 1} {$i<=100} {incr i} {  lappend r [format test%03d $i]}do_test table-4.1 {  for {set i 1} {$i<=100} {incr i} {    set sql "CREATE TABLE [format test%03d $i] ("    for {set k 1} {$k<$i} {incr k} {      append sql "field$k text,"    }    append sql "last_field text)"    execsql $sql  }  execsql {SELECT name FROM sqlite_master WHERE type!='meta' ORDER BY name}} $rdo_test table-4.1b {  db close  sqlite3 db test.db  execsql {SELECT name FROM sqlite_master WHERE type!='meta' ORDER BY name}} $r# Drop the even numbered tables#set r {}for {set i 1} {$i<=100} {incr i 2} {  lappend r [format test%03d $i]}do_test table-4.2 {  for {set i 2} {$i<=100} {incr i 2} {    # if {$i==38} {execsql {pragma vdbe_trace=on}}    set sql "DROP TABLE [format TEST%03d $i]"    execsql $sql  }  execsql {SELECT name FROM sqlite_master WHERE type!='meta' ORDER BY name}} $r#exit# Drop the odd number tables#do_test table-4.3 {  for {set i 1} {$i<=100} {incr i 2} {    set sql "DROP TABLE [format test%03d $i]"    execsql $sql  }  execsql {SELECT name FROM sqlite_master WHERE type!='meta' ORDER BY name}} {}# Try to drop a table that does not exist#do_test table-5.1.1 {  catchsql {DROP TABLE test009}} {1 {no such table: test009}}do_test table-5.1.2 {  catchsql {DROP TABLE IF EXISTS test009}} {0 {}}# Try to drop sqlite_master#do_test table-5.2 {  catchsql {DROP TABLE IF EXISTS sqlite_master}} {1 {table sqlite_master may not be dropped}}# Make sure an EXPLAIN does not really create a new table#do_test table-5.3 {  ifcapable {explain} {    execsql {EXPLAIN CREATE TABLE test1(f1 int)}  }  execsql {SELECT name FROM sqlite_master WHERE type!='meta'}} {}# Make sure an EXPLAIN does not really drop an existing table#do_test table-5.4 {  execsql {CREATE TABLE test1(f1 int)}  ifcapable {explain} {    execsql {EXPLAIN DROP TABLE test1}  }  execsql {SELECT name FROM sqlite_master WHERE type!='meta'}} {test1}# Create a table with a goofy name##do_test table-6.1 {#  execsql {CREATE TABLE 'Spaces In This Name!'(x int)}#  execsql {INSERT INTO 'spaces in this name!' VALUES(1)}#  set list [glob -nocomplain testdb/spaces*.tbl]#} {testdb/spaces+in+this+name+.tbl}# Try using keywords as table names or column names.# do_test table-7.1 {  set v [catch {execsql {    CREATE TABLE weird(      desc text,      asc text,      key int,      [14_vac] boolean,      fuzzy_dog_12 varchar(10),      begin blob,      end clob    )  }} msg]  lappend v $msg} {0 {}}do_test table-7.2 {  execsql {    INSERT INTO weird VALUES('a','b',9,0,'xyz','hi','y''all');    SELECT * FROM weird;  }} {a b 9 0 xyz hi y'all}do_test table-7.3 {  execsql2 {    SELECT * FROM weird;  }} {desc a asc b key 9 14_vac 0 fuzzy_dog_12 xyz begin hi end y'all}# Try out the CREATE TABLE AS syntax#do_test table-8.1 {  execsql2 {    CREATE TABLE t2 AS SELECT * FROM weird;    SELECT * FROM t2;  }} {desc a asc b key 9 14_vac 0 fuzzy_dog_12 xyz begin hi end y'all}do_test table-8.1.1 {  execsql {    SELECT sql FROM sqlite_master WHERE name='t2';  }} {{CREATE TABLE t2(  "desc" text,  "asc" text,  "key" int,  "14_vac" boolean,  fuzzy_dog_12 varchar(10),  "begin" blob,  "end" clob)}}do_test table-8.2 {

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区蜜桃网| 国产成人在线看| 一区二区三区在线视频免费| 自拍偷自拍亚洲精品播放| 久久亚洲二区三区| 久久久亚洲欧洲日产国码αv| 欧美www视频| 久久尤物电影视频在线观看| 精品国偷自产国产一区| xnxx国产精品| 日本一区二区视频在线| 欧美国产精品一区| 国产精品成人免费在线| 亚洲美女淫视频| 亚洲国产精品自拍| 日本v片在线高清不卡在线观看| 日本伊人午夜精品| 蜜桃免费网站一区二区三区| 狠狠色丁香久久婷婷综合丁香| 激情综合亚洲精品| 成人精品高清在线| 色哟哟亚洲精品| 91精品一区二区三区久久久久久| 日韩欧美中文一区二区| 久久网这里都是精品| 国产精品欧美一级免费| 一区二区在线观看av| 三级精品在线观看| 美女任你摸久久| 国产91高潮流白浆在线麻豆| 91丨九色丨蝌蚪丨老版| 欧美午夜片在线看| 精品99一区二区| **欧美大码日韩| 日本午夜精品一区二区三区电影| 国产一区二区在线观看免费| 成人一二三区视频| 欧美视频一区在线观看| 日韩三级中文字幕| 国产精品麻豆久久久| 亚洲国产wwwccc36天堂| 激情五月婷婷综合| 9久草视频在线视频精品| 精品视频1区2区3区| 精品国产人成亚洲区| 亚洲人成在线观看一区二区| 日本视频一区二区三区| 国产suv精品一区二区6| 欧美日韩你懂的| 国产蜜臀av在线一区二区三区| 亚洲韩国精品一区| 狠狠色狠狠色综合| 色视频欧美一区二区三区| 91精品福利在线一区二区三区 | 色综合久久中文字幕| 这里是久久伊人| 国产精品美女久久久久久久| 五月婷婷激情综合| 9i看片成人免费高清| 精品福利一二区| 亚洲国产日韩一级| 成人av网址在线| 欧美成人伊人久久综合网| 亚洲一区二区免费视频| 国产宾馆实践打屁股91| 欧美成人一区二区三区| 亚洲国产精品一区二区www在线| 成人午夜视频在线观看| 91精品国产aⅴ一区二区| 有码一区二区三区| 国产不卡免费视频| 精品国产乱码久久久久久图片| 夜夜精品视频一区二区| 白白色 亚洲乱淫| 久久综合色播五月| 日韩国产欧美在线播放| 在线日韩av片| 亚洲人快播电影网| 不卡一卡二卡三乱码免费网站| 26uuu精品一区二区在线观看| 日韩精品电影在线| 欧美少妇一区二区| 亚洲综合一区二区| 99v久久综合狠狠综合久久| 久久久久久久综合色一本| 美女视频黄 久久| 欧美一级在线免费| 性做久久久久久| 欧美日韩免费一区二区三区视频| 亚洲欧洲精品天堂一级| 亚洲精品久久嫩草网站秘色| 成人不卡免费av| 色综合夜色一区| 中文字幕一区二区三区四区| 国产精品一区二区在线播放| 日韩免费高清视频| 日韩av成人高清| 4438亚洲最大| 丝瓜av网站精品一区二区| 欧美日韩在线三级| 亚洲国产日韩一级| 欧美日韩国产系列| 亚洲成av人片一区二区三区| 欧美日韩在线综合| 婷婷一区二区三区| 777精品伊人久久久久大香线蕉| 亚洲一级二级三级| 欧美午夜电影网| 无码av免费一区二区三区试看| 欧美男男青年gay1069videost| 亚洲成人综合视频| 91精品国产综合久久国产大片| 午夜影院久久久| 欧美一区三区四区| 日韩高清不卡一区| 欧美成人一区二区| 国产成人av一区| 亚洲欧洲日韩女同| 欧美性大战久久久久久久蜜臀| 亚洲成av人片| 精品国产乱码久久| 国产尤物一区二区在线| 国产欧美一区二区三区在线看蜜臀| gogo大胆日本视频一区| 亚洲裸体xxx| 欧美巨大另类极品videosbest| 精品一区二区影视| 国产偷国产偷精品高清尤物| av动漫一区二区| 亚洲国产精品一区二区尤物区| 日韩视频在线你懂得| 国产高清不卡二三区| 综合中文字幕亚洲| 欧美日韩久久久一区| 久久99精品国产麻豆婷婷| 国产欧美日韩一区二区三区在线观看| 99re视频精品| 蜜臀av一区二区在线观看 | 午夜伦欧美伦电影理论片| 日韩免费福利电影在线观看| 成人性生交大片| 亚洲一区二区在线播放相泽| 欧美v亚洲v综合ⅴ国产v| 99re热这里只有精品免费视频| 五月天一区二区| 欧美国产日韩一二三区| 欧美日韩第一区日日骚| 国产一区二区三区久久久| 亚洲精品美腿丝袜| 日韩欧美一级在线播放| 色综合色综合色综合色综合色综合| 午夜精品一区二区三区三上悠亚| 精品国产免费久久| 欧美这里有精品| 国产精品乡下勾搭老头1| 一区二区三区不卡视频| 久久久一区二区三区捆绑**| 欧美亚洲国产bt| 国产一区二区精品在线观看| 亚洲精品免费在线观看| 久久女同互慰一区二区三区| 欧美丝袜丝nylons| 国产成人精品aa毛片| 日韩精品福利网| 亚洲激情网站免费观看| 久久久高清一区二区三区| 在线观看亚洲精品| 粉嫩av亚洲一区二区图片| 美女视频一区在线观看| 樱花草国产18久久久久| 日本一二三不卡| 日韩欧美国产一区二区在线播放| 色视频一区二区| 高清在线不卡av| 蜜桃av一区二区三区电影| 亚洲女人的天堂| 国产日韩影视精品| 欧美一级日韩免费不卡| 欧美亚洲一区二区在线观看| 粉嫩av一区二区三区在线播放| 麻豆成人久久精品二区三区红 | 91香蕉国产在线观看软件| 精品一区二区三区免费毛片爱 | 国产成人a级片| 久久福利资源站| 奇米精品一区二区三区在线观看一| 亚洲在线一区二区三区| 亚洲一区二区免费视频| 亚洲精品一卡二卡| 国产精品美女久久久久久| 久久久久国色av免费看影院| 精品免费国产一区二区三区四区| 欧美性大战久久久| 欧美亚洲一区三区| 色综合天天在线| 色综合天天综合色综合av| 91丨porny丨在线| 99精品国产视频| av中文字幕在线不卡| 成人精品一区二区三区四区|