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

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

?? isqltcl-4.0.readme

?? TCL的數據庫處理支撐庫及一些示例
?? README
?? 第 1 頁 / 共 2 頁
字號:
Last Updated: Fri Oct 20 14:27:30 EDT 1995SEE NOTES ON Release 3.1 at bottomINFORMIX 4.x and 5.x SUPPORT FOR TCL 7.0 and TCL 6.7 (2nd Release)------------------------------------------------------------------    This article describes the Informix support added to TCL (It should work    with the new and the old releases of TCL).    The most significant change has been to make all sql commands as minor    commands.    A single major commands called sql has been added.    Thus,        sql_open "select query ..." [?arg] ...    would now be written as        sql open "select query ..." [?arg]    Similarly        sql_fetch       is now      sql fetch        sql_run         is now      sql run    etc.    A few other minor changes (will not affect the external TCL or C calls)    have also been made. It should now compile cleanly with TCL or TK.    The rest of the article is organized as follows            TCL CALLS            TCL EXAMPLES            C CALLS            COMPILING TCL            COMPILING TK            C EXAMPLES            CONCLUSIONS    TCL CALLS available            A single major command called sql has been added. This            command takes additional arguments (minors like open, close etc.).            The minors may be abbreviated (e.g. o for open etc.).            The following TCL calls are available -            sql database "database"                opens a connection to the database specified by the argument                "database". If the argument is "", the the environment                variable DATABASE will be used                RETURNS integer 0 on success, non-zero on failure            sql open    "sql statement" [?arg] [?arg] ..                opens the sql query specified and sets the bind variables                if specified. To see what bind variables are, look at the                description in C CALLS below.                This command compiles the query, allocates space for the                return values and makes it available for execution using                sql fetch.                RETURNS an integer (>= 0) on success, < 0 on failure                This return values is to be treated like an open file                descriptor and should be closed finally to release space.                This is used typically to open a select query.            sql fetch ?fd [1]                fetches a single row of the opened fd. If an optional second                argument with value 1 is specified, then the trailing white                spaces in the list elements are removed.                RETURN value is a TCL list on successful fetch, the NIL list                or "" when the end is reached.            sql close ?fd                closes the compiled query and release all memory associated                with it                RETURNS 0 on success, non-zero on failure            sql reopen ?fd                reopens the query specified by fd so that fetches may be done                from the start again. Uses the old parameters specified for                the open            sql run "sql statement" [?arg] [?arg] ..                executes the sql query specified immediately after setting                the bind variables. Useful for INSERT, UPDATE, DELETE and                other sql calls.                RETURNS 0 on success, non-zero on failure            sql exists table_name column_name column_value ?optional_where                check for existence of column_name in table_name with                value column_value and optionally a where_clause.                RETURNS 0 on success, non-zero on failure                This can be used to validate values quickly without using up                an fd or setting up a sql open, sql fetch, sql close structure.            sql explain ?fd                sets debug on for the query fd. This feature may be used                for debugging and the implementation may vary from database                to database. It may be used to print out queries as they are                executed along with the bind variables etc. The database may                add other options like cost of the query etc.                RETURNS 0 on success, non-zero on failure            sql geterror                RETURNS a string containing a complete description of the                last sql error. This will include the complete text of the                SQL error (and ISAM error if the database uses ISAM) and the                complete sql statement being processed.            Advanced functions:            sql sqlca                RETURNS a TCL list of the sqlca elements            sql sqld ?fd ?type                RETURNS the number of sqld elements present for the                sqlda associated with fd. If ?type is 1, then the sqlda used                is the input sqlda and if ?type is 0, then the sqlda used is                the output sqlda. This is useful to find out the number of                columns fetched from the dynamic query.            sql sqlda ?fd ?type ?num                RETURNS a TCL list containing all information about the                num'th element in the sqlda structure.                If ?type is 1, then the input sqlda is used.                If ?type is 0, then the output sqlda is used.                Information is returned for the ?num'th element.                ?num varies from 0 to [sql sqld ?fd ?type]            sql finish                closes the database opened earlier                RETURNS 0 on success, non-zero on failure            sql getdatabase                returns the database name opened with sql database    EXAMPLES            1)                set fd [sql open                    "select e.*, d.*                    from employee e, department d                    where e.dept_num = d.dept_num"]                set line [sql fetch $fd]                while {$line != ""} {                    puts stdout "values are ($line)"                    set line [sql fetch $fd]                }                sql close $fd            2)                set emp_name "FOO'BAR"                sql run "delete from employee where emp_name = ?" $emp_name            3)                catch {sql database ""} ret                if {$ret != 0} {                    puts stdout "Connect Error: [sql geterror]"                    exit_action                }    C CALLS            The following C calls have been provided (to ensure that the            above TCL sql calls are available).            int sql_database(char *dbname)                Connects to the database specified by dbname or uses                DATABASE environ variable if dbname is "" or cannot be                opened.                Return value: 0 on success, < 0 on failure            int sql_open (char *stmt, int argc, char **argv)                opens the query specified by stmt and set the bind variables                from the argv. This compiles the query and allocates space                for the return values.                BIND VARIABLES:                    bind variables may be thought of as parameters which get                    substituted (like \1, \2 in regsub etc.) when the                    sql query is compiled. The substituted values may contain                    any character like ", ', : * , embedded spaces etc..                    If we do not use bind variables, then each column                    value has to be inspected to ensure that the special                    characters are escaped (using \, etc).                Return value: fd (>= 0) on success, < 0 on failure            int sql_fetch (int fd)                fetch a single row into the allocated space                Use sql_values() to retrieve it.                There is no need to free the sql_values return value.                Return value: 0 on success, > 0 on end, < 0 on error            char **sql_values(int fd, int *numvalues, int dostrip)                Return the values fetched by the previous fetch.                Set the number of argv values in numvalues.                If dostrip is 1, then trailing blanks are stripped from                each value                There is no need to free the return value from this function.                The function manages it by re-allocating space if needed.                Return value: NULL on error, char **argv on success            int sql_close(int fd)                Closes the compiled query and releases all memory associated                with it.                Return value: 0 on success, < 0 on failure            int sql_run(char *stmt, int argc, char **argv)                Calls sql_open, sql_fetch and sql_close returning the                status of sql_fetch.                Return value: 0 on success, < 0 on failure, > 0 on no such                record            int sql_exists(char *table, char *field, char *value, char *where)                Check for existence of field in table with value value and                an optional where clause.                Return value: 0 on success, < 0 on error, > 0 on no such record            char *sql_geterror()                Return a static pointer into the text of the last error            int sql_explain(int fd)                Sets debug on for the query associated with fd            int sql_print(int fd)                Prints internal values from fd structure on stdout                (the command being executed, bind variables, last return value                etc.)            char **sql_sqlca(int *num)                Returns the sqlca structure as an array of character pointers                and sets the number of such pointers in num            int sql_sqld(int fd, int type)                Returns the number of sqld elements associated with fd                If type is 1, then the input sqlda is used.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产乱妇无码大片在线观看| 久久精品一区蜜桃臀影院| 亚洲精品成人a在线观看| 91黄色激情网站| 亚洲一区二区视频| 欧美日韩国产综合一区二区 | 国产精品电影一区二区| 国产精品一区二区在线观看网站| 国产日本欧美一区二区| 99久久精品情趣| 午夜成人免费电影| 欧美精品一区在线观看| 成人h动漫精品一区二| 悠悠色在线精品| 欧美一区二区三区公司| 国产在线视视频有精品| 欧美高清在线视频| 色又黄又爽网站www久久| 天堂蜜桃一区二区三区| 久久久夜色精品亚洲| 一本久道久久综合中文字幕| 日本欧洲一区二区| 国产精品理伦片| 7777精品伊人久久久大香线蕉完整版| 国产一区二区三区黄视频 | 成人精品亚洲人成在线| 亚洲国产精品一区二区尤物区| 日韩一区二区在线免费观看| 成人亚洲精品久久久久软件| 图片区小说区区亚洲影院| 国产丝袜欧美中文另类| 欧美日韩一区在线观看| 高清不卡在线观看| 午夜精品久久久久久久蜜桃app| 91视频免费播放| 老司机精品视频一区二区三区| wwww国产精品欧美| 91国产视频在线观看| 日韩电影一区二区三区四区| 欧美韩日一区二区三区| 欧美亚洲高清一区二区三区不卡| 奇米色一区二区三区四区| 久久精品一级爱片| 欧美在线免费视屏| 国产精品影视网| 夜夜嗨av一区二区三区四季av | 青娱乐精品视频在线| 精品久久久久久久久久久久久久久| 极品美女销魂一区二区三区| 久久综合久色欧美综合狠狠| 色婷婷综合久久久久中文一区二区 | 亚洲成人精品影院| 久久免费电影网| 欧美三级韩国三级日本一级| 国产综合久久久久久鬼色| 亚洲精品高清在线观看| 久久久九九九九| 97久久精品人人爽人人爽蜜臀 | 欧美日韩国产片| 黄色资源网久久资源365| 亚洲三级久久久| 欧美变态tickle挠乳网站| 成人深夜福利app| 日本欧美在线观看| 国产精品色呦呦| 色哟哟国产精品免费观看| 激情五月激情综合网| 亚洲高清中文字幕| 中文天堂在线一区| 精品国产91久久久久久久妲己| 在线视频欧美精品| 成人福利视频网站| 国产一区在线精品| 日韩黄色免费电影| 国产精品麻豆99久久久久久| 欧美mv日韩mv| 7777精品伊人久久久大香线蕉的 | 国产精品久久精品日日| 日韩一区二区中文字幕| 日本丶国产丶欧美色综合| 国产精品一区专区| 麻豆91在线观看| 日韩精品视频网| 国产精品大尺度| 亚洲视频在线一区观看| **欧美大码日韩| 中文在线资源观看网站视频免费不卡| 日韩欧美国产午夜精品| 日韩三级伦理片妻子的秘密按摩| 欧美体内she精视频| 色婷婷av一区二区三区软件| 99国产精品久久久久久久久久久| 国产精品亚洲午夜一区二区三区| 精一区二区三区| 国产剧情av麻豆香蕉精品| 人人精品人人爱| 青青草国产成人av片免费| 51午夜精品国产| 欧美日韩国产中文| 宅男噜噜噜66一区二区66| 欧美日韩国产在线观看| 51精品秘密在线观看| 日韩午夜中文字幕| 精品国产污网站| 精品国产乱码久久久久久久久| 精品国产不卡一区二区三区| 精品理论电影在线观看| 国产欧美一二三区| 国产精品二三区| 亚洲九九爱视频| 亚洲综合色视频| 强制捆绑调教一区二区| 激情综合五月婷婷| 美日韩一区二区三区| 久久精品国产99国产| 顶级嫩模精品视频在线看| 色偷偷久久人人79超碰人人澡| 欧洲视频一区二区| 91麻豆精品国产91久久久久久| 日韩精品一区在线| 国产日韩欧美综合一区| 亚洲欧美日韩久久| 亚洲成人免费看| 国产综合色精品一区二区三区| 国产福利电影一区二区三区| 亚洲一级电影视频| 天天做天天摸天天爽国产一区| 免费av网站大全久久| 国产伦精一区二区三区| 91影院在线观看| 欧美一级欧美一级在线播放| 日韩精品一区二区三区三区免费| 日韩精品一区二区三区在线播放| 中文字幕制服丝袜一区二区三区 | 日韩av一级片| 国产成人精品www牛牛影视| 日本韩国欧美一区二区三区| 精品三级在线观看| 亚洲精品国产精品乱码不99| 久久精品72免费观看| 一本久久a久久精品亚洲| 欧美大胆人体bbbb| 一区二区三区.www| 国产91精品在线观看| 欧美精品一级二级三级| 亚洲国产精品av| 日本不卡123| 91精品福利视频| 久久久.com| 天堂av在线一区| 91麻豆成人久久精品二区三区| 欧美精品一区二区三区在线| 亚洲大片免费看| av亚洲精华国产精华| 亚洲国产精品传媒在线观看| 五月天精品一区二区三区| av电影一区二区| 国产调教视频一区| 毛片av一区二区三区| 在线精品视频小说1| 中文字幕免费不卡| 狠狠色丁香婷婷综合久久片| 欧美美女激情18p| 亚洲男人的天堂在线aⅴ视频| 美国欧美日韩国产在线播放| 色中色一区二区| 一区二区三区欧美亚洲| av成人免费在线观看| 欧美国产成人在线| 国产一区二区调教| 日韩一区二区三区在线视频| 午夜精品一区在线观看| 色999日韩国产欧美一区二区| 国产精品美女久久久久aⅴ| 国产精品正在播放| 国产夜色精品一区二区av| 精品一区二区成人精品| 精品精品国产高清a毛片牛牛 | 91碰在线视频| 国产精品久久久久婷婷二区次| 国产专区欧美精品| 日韩欧美另类在线| 久久精品国产网站| 日韩三级.com| 激情文学综合插| 久久综合丝袜日本网| 精品一区二区在线看| 欧美精品123区| 天天免费综合色| 欧美一区二区成人6969| 另类中文字幕网| 日韩免费看的电影| 国产又黄又大久久| 欧美一级片在线观看| 久久爱另类一区二区小说| 精品少妇一区二区三区在线播放| 久久精品国内一区二区三区| 日韩女优av电影| 成人小视频免费观看| 亚洲美女少妇撒尿|