CreateTable - sqlite

前端之家收集整理的这篇文章主要介绍了CreateTable - sqlite前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

relation functions insqlite::

sqlite3AddColumn

case 37: /* columnid ::= nm */

{
sqlite3AddColumn(pParse,&yymsp[0].minor.yy0);
yygotominor.yy0 = yymsp[0].minor.yy0;
}



struct yyStackEntry {
YYACTIONTYPE stateno; /* The state-number */
YYCODETYPE major; /* The major token value. This is the code
** number for the token at this stack level */
YYMINORTYPE minor; /* The user-supplied minor token value. This
** is the value of the token */
};


sqlite3CreateIndex


sqlite3NestedParse(pParse,
"INSERT INTO %Q.%s VALUES('index',%Q,#%d,%Q);",
db->aDb[iDb].zName,SCHEMA_TABLE(iDb),
pIndex->zName,
pTab->zName,
iMem,
zStmt
);



#ifndef XWANG_DBG printf("\n %s\n","In sqlite3AddPrimaryKey"); #endif

原文链接:https://www.f2er.com/sqlite/200732.html

猜你在找的Sqlite相关文章