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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sqlite.tcl

?? 這是一個嵌入式系統上運行的輕量級數據庫
?? TCL
?? 第 1 頁 / 共 2 頁
字號:
## Run this Tcl script to generate the sqlite.html file.#set rcsid {$Id: sqlite.tcl,v 1.21 2003/06/29 16:11:13 drh Exp $}puts {<html><head>  <title>sqlite: A program of interacting with SQLite databases</title></head><body bgcolor=white><h1 align=center>sqlite: A program to administer SQLite databases</h1>}puts "<p align=center>(This page was last modified on [lrange $rcsid 3 4] UTC)</p>"puts {<p>The SQLite library includes a simple command-line utility named<b>sqlite</b> that allows the user to manually enter and execute SQLcommands against an SQLite database.  This document provides a briefintroduction on how to use <b>sqlite</b>.<h2>Getting Started</h2><p>To start the <b>sqlite</b> program, just type "sqlite" followed bythe name the file that holds the SQLite database.  If the file doesnot exist, a new one is created automatically.The <b>sqlite</b> program willthen prompt you to enter SQL.  Type in SQL statements (terminated by asemicolon), press "Enter" and the SQL will be executed.</p><p>For example, to create a new SQLite database named "ex1" with a single table named "tbl1", you might do this:</p>}proc Code {body} {  puts {<blockquote><tt>}  regsub -all {&} [string trim $body] {\&amp;} body  regsub -all {>} $body {\&gt;} body  regsub -all {<} $body {\&lt;} body  regsub -all {\(\(\(} $body {<b>} body  regsub -all {\)\)\)} $body {</b>} body  regsub -all { } $body {\&nbsp;} body  regsub -all \n $body <br>\n body  puts $body  puts {</tt></blockquote>}}Code {$ (((sqlite ex1)))SQLite version 2.0.0Enter ".help" for instructionssqlite> (((create table tbl1(one varchar(10), two smallint);)))sqlite> (((insert into tbl1 values('hello!',10);)))sqlite> (((insert into tbl1 values('goodbye', 20);)))sqlite> (((select * from tbl1;)))hello!|10goodbye|20sqlite>}puts {<p>You can terminate the sqlite program by typing your systemsEnd-Of-File character (usually a Control-D) or the interruptcharacter (usually a Control-C).</p><p>Make sure you type a semicolon at the end of each SQL command!The sqlite looks for a semicolon to know when your SQL command iscomplete.  If you omit the semicolon, sqlite will give you acontinuation prompt and wait for you to enter more text to beadded to the current SQL command.  This feature allows you toenter SQL commands that span multiple lines.  For example:</p>}Code {sqlite> (((CREATE TABLE tbl2 ()))   ...> (((  f1 varchar(30) primary key,)))   ...> (((  f2 text,)))   ...> (((  f3 real)))   ...> ((();)))sqlite> }puts {<h2>Aside: Querying the SQLITE_MASTER table</h2><p>The database schema in an SQLite database is stored ina special table named "sqlite_master".You can execute "SELECT" statements against thespecial sqlite_master table just like any other tablein an SQLite database.  For example:</p>}Code {$ (((sqlite ex1)))SQlite vresion 2.0.0Enter ".help" for instructionssqlite> (((select * from sqlite_master;)))    type = table    name = tbl1tbl_name = tbl1rootpage = 3     sql = create table tbl1(one varchar(10), two smallint)sqlite>}puts {<p>But you cannot execute DROP TABLE, UPDATE, INSERT or DELETE againstthe sqlite_master table.  The sqlite_mastertable is updated automatically as you create or drop tables andindices from the database.  You can not make manual changesto the sqlite_master table.</p><p>The schema for TEMPORARY tables is not stored in the "sqlite_master" tablesince TEMPORARY tables are not visible to applications other than theapplication that created the table.  The schema for TEMPORARY tablesis stored in another special table named "sqlite_temp_master".  The"sqlite_temp_master" table is temporary itself.</p><h2>Special commands to sqlite</h2><p>Most of the time, sqlite just reads lines of input and passes themon to the SQLite library for execution.But if an input line begins with a dot ("."), thenthat line is intercepted and interpreted by the sqlite program itself.These "dot commands" are typically used to change the output formatof queries, or to execute certain prepackaged query statements.</p><p>For a listing of the available dot commands, you can enter ".help"at any time.  For example:</p>}Code {sqlite> (((.help))).databases             List names and files of attached databases.dump ?TABLE? ...      Dump the database in a text format.echo ON|OFF           Turn command echo on or off.exit                  Exit this program.explain ON|OFF        Turn output mode suitable for EXPLAIN on or off..header(s) ON|OFF      Turn display of headers on or off.help                  Show this message.indices TABLE         Show names of all indices on TABLE.mode MODE             Set mode to one of "line(s)", "column(s)",                        "insert", "list", or "html".mode insert TABLE     Generate SQL insert statements for TABLE.nullvalue STRING      Print STRING instead of nothing for NULL data.output FILENAME       Send output to FILENAME.output stdout         Send output to the screen.prompt MAIN CONTINUE  Replace the standard prompts.quit                  Exit this program.read FILENAME         Execute SQL in FILENAME.schema ?TABLE?        Show the CREATE statements.separator STRING      Change separator string for "list" mode.show                  Show the current values for various settings.tables ?PATTERN?      List names of tables matching a pattern.timeout MS            Try opening locked tables for MS milliseconds.width NUM NUM ...     Set column widths for "column" modesqlite> }puts {<h2>Changing Output Formats</h2><p>The sqlite program is able to show the results of a queryin five different formats: "line", "column", "list", "html", and "insert".You can use the ".mode" dot command to switch between these outputformats.</p><p>The default output mode is "list".  Inlist mode, each record of a query result is written on one line ofoutput and each column within that record is separated by a specificseparator string.  The default separator is a pipe symbol ("|").List mode is especially useful when you are going to send the outputof a query to another program (such as AWK) for additional processing.</p>}Code {sqlite> (((.mode list)))sqlite> (((select * from tbl1;)))hello|10goodbye|20sqlite>}puts {<p>You can use the ".separator" dot command to change the separatorfor list mode.  For example, to change the separator to a comma anda space, you could do this:</p>}Code {sqlite> (((.separator ", ")))sqlite> (((select * from tbl1;)))hello, 10goodbye, 20sqlite>}puts {<p>In "line" mode, each column in a row of the databaseis shown on a line by itself.  Each line consists of the columnname, an equal sign and the column data.  Successive records areseparated by a blank line.  Here is an example of line modeoutput:</p>}Code {sqlite> (((.mode line)))sqlite> (((select * from tbl1;)))one = hellotwo = 10one = goodbyetwo = 20sqlite>}puts {<p>In column mode, each record is shown on a separate line with thedata aligned in columns.  For example:</p>}Code {sqlite> (((.mode column)))sqlite> (((select * from tbl1;)))one         two       ----------  ----------hello       10        goodbye     20        sqlite>}puts {<p>By default, each column is at least 10 characters wide. Data that is too wide to fit in a column is truncated.  You canadjust the column widths using the ".width" command.  Like this:</p>}Code {sqlite> (((.width 12 6)))sqlite> (((select * from tbl1;)))one           two   ------------  ------hello         10    goodbye       20    sqlite>}puts {<p>The ".width" command in the example above sets the width of the firstcolumn to 12 and the width of the second column to 6.  All other columnwidths were unaltered.  You can gives as many arguments to ".width" asnecessary to specify the widths of as many columns as are in yourquery results.</p><p>If you specify a column a width of 0, then the columnwidth is automatically adjusted to be the maximum of threenumbers: 10, the width of the header, and the width of thefirst row of data.  This makes the column width self-adjusting.The default width setting for every column is this auto-adjusting 0 value.</p><p>The column labels that appear on the first two lines of outputcan be turned on and off using the ".header" dot command.  In theexamples above, the column labels are on.  To turn them off youcould do this:</p>}Code {sqlite> (((.header off)))sqlite> (((select * from tbl1;)))hello         10    goodbye       20    sqlite>}puts {<p>Another useful output mode is "insert".  In insert mode, the outputis formatted to look like SQL INSERT statements.  You can use insertmode to generate text that can later be used to input data into a different database.</p><p>When specifying insert mode, you have to give an extra argumentwhich is the name of the table to be inserted into.  For example:</p>}Code {sqlite> (((.mode insert new_table)))sqlite> (((select * from tbl1;)))INSERT INTO 'new_table' VALUES('hello',10);INSERT INTO 'new_table' VALUES('goodbye',20);sqlite>}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品综合久久久久久| 国产精品三级在线观看| 国产欧美日韩另类视频免费观看| 1024亚洲合集| 免费看日韩a级影片| 成人午夜av电影| 日韩一区二区三区四区五区六区| 国产精品久久久久aaaa| 裸体一区二区三区| 在线观看亚洲一区| 欧美激情一区不卡| 九九九久久久精品| 欧美久久久一区| 一区二区在线观看免费| 3d动漫精品啪啪1区2区免费| 亚洲欧美影音先锋| 国产成人在线观看| 欧美哺乳videos| 免费观看成人鲁鲁鲁鲁鲁视频| 色婷婷综合久色| 国产精品成人一区二区三区夜夜夜| 国产自产2019最新不卡| 欧美一二三区在线观看| 日韩和欧美一区二区| 欧美视频一区二区三区四区| 亚洲图片激情小说| 99vv1com这只有精品| 国产精品久久免费看| 不卡大黄网站免费看| 中文字幕电影一区| 成人毛片在线观看| 国产精品免费观看视频| 懂色av噜噜一区二区三区av| 久久众筹精品私拍模特| 国产伦精品一区二区三区免费| 日韩亚洲国产中文字幕欧美| 五月综合激情日本mⅴ| 欧美吻胸吃奶大尺度电影 | 亚洲一级二级三级在线免费观看| av电影在线观看完整版一区二区| 亚洲国产精品黑人久久久| 国产成人亚洲综合a∨猫咪| 国产三级一区二区| 粉嫩欧美一区二区三区高清影视| 国产午夜亚洲精品理论片色戒| 国产精品影音先锋| 日本一区二区三区电影| 不卡一区二区三区四区| 亚洲免费色视频| 欧美日韩不卡一区二区| 国产专区欧美精品| 国产精品久久久久久久久图文区 | 成人免费视频视频在线观看免费| 国产欧美日韩三级| 91黄色免费版| 免费观看一级特黄欧美大片| 国产色91在线| 欧美日韩一级视频| 国产一区二区三区免费| 亚洲女同ⅹxx女同tv| 91精品国产全国免费观看| 精品一区二区三区av| 综合在线观看色| 制服丝袜一区二区三区| 国产99精品视频| 亚洲成人免费电影| 久久久天堂av| 欧美在线视频全部完| 麻豆精品视频在线观看| 中文字幕一区三区| 在线成人av网站| 国产精品1区2区| 亚洲国产精品久久人人爱| 欧美日韩成人一区二区| 欧美一区二区在线播放| 蜜桃一区二区三区四区| 国产亚洲欧洲997久久综合| 99久久伊人网影院| 午夜精品123| 久久久久久久久久久99999| 99视频一区二区| 丝袜诱惑亚洲看片| 亚洲国产成人自拍| 欧美电影在哪看比较好| 国产精品一区二区三区99| 亚洲欧美色一区| 日韩欧美国产麻豆| 91视频国产资源| 精品一区二区三区不卡 | 欧美人与性动xxxx| 精品夜夜嗨av一区二区三区| 中文字幕一区视频| 久久久99免费| 欧美丰满美乳xxx高潮www| 国产盗摄一区二区| 日本成人中文字幕| 精品国产免费久久| 欧美韩日一区二区三区四区| 在线电影院国产精品| 91原创在线视频| 老司机免费视频一区二区三区| 亚洲色图欧美激情| 亚洲精品一线二线三线无人区| www.欧美亚洲| 国产麻豆91精品| 肉肉av福利一精品导航| 亚洲黄色免费网站| 国产精品无圣光一区二区| 久久综合久久综合亚洲| 欧美优质美女网站| 99视频国产精品| 国产一区二区在线观看视频| 午夜精品久久久久久久99水蜜桃 | 国产精品高潮久久久久无| 久久综合久久综合亚洲| 久久久久久久久久久久久夜| 精品国产在天天线2019| 日韩美女主播在线视频一区二区三区| 欧美日韩高清一区二区不卡| 欧美午夜精品久久久| 欧美色综合久久| 欧美精品亚洲二区| 制服.丝袜.亚洲.另类.中文 | 欧美日韩在线播放三区四区| 蜜芽一区二区三区| 免费久久精品视频| 日日骚欧美日韩| 亚洲成a人v欧美综合天堂| 日韩精品一级中文字幕精品视频免费观看| ...中文天堂在线一区| 国产精品久久毛片av大全日韩| 日本一区二区在线不卡| 国产欧美精品一区二区三区四区| 久久综合av免费| 国产激情视频一区二区三区欧美 | 国产一区二区在线观看免费| 成人性视频网站| 99久久综合99久久综合网站| 94-欧美-setu| 在线精品视频免费观看| 色香蕉成人二区免费| 欧美精品一二三区| 欧美成人一区二区三区片免费| 精品国产一区二区三区久久久蜜月| 欧美一区二区三区免费大片| 日韩欧美成人午夜| 欧美精品视频www在线观看| 26uuu色噜噜精品一区二区| 国产精品欧美久久久久无广告| 国产精品国产自产拍高清av王其| 亚洲欧美色一区| 日日噜噜夜夜狠狠视频欧美人| 日韩欧美一二区| 国产亚洲一区二区三区四区| 综合久久久久综合| 视频精品一区二区| 国产一区二区伦理| 丁香啪啪综合成人亚洲小说| 91在线高清观看| 91精品国产福利| 中文字幕精品—区二区四季| 亚洲一区日韩精品中文字幕| 偷窥国产亚洲免费视频| 成人av在线播放网址| 欧美日韩在线精品一区二区三区激情 | 亚洲精品成人少妇| 青青草国产成人av片免费| 裸体在线国模精品偷拍| 欧美亚洲国产一区二区三区| 欧美一区二区三区免费大片| 国产精品久久久久7777按摩| 白白色 亚洲乱淫| 欧美一区二区三区在线电影| 国产精品不卡视频| 蜜臀av国产精品久久久久| 99这里只有久久精品视频| 北条麻妃国产九九精品视频| 日韩免费视频一区二区| 亚洲国产精品一区二区久久| 欧美国产精品v| 色香色香欲天天天影视综合网| 国产精品亚洲午夜一区二区三区| 色噜噜久久综合| 国产亚洲一区二区三区| 亚洲成人资源在线| 国产欧美日本一区视频| 免费日本视频一区| 亚洲精品福利视频网站| 免费成人在线视频观看| 欧美影院午夜播放| 久88久久88久久久| 欧美日韩三级在线| 自拍偷在线精品自拍偷无码专区 | 五月婷婷欧美视频| 成人美女在线视频| 精品国产一区二区三区忘忧草| 精品免费视频一区二区| 看电视剧不卡顿的网站| 欧美卡1卡2卡| 亚洲成av人综合在线观看|