Lines Matching refs:zCol
10259 char *zCol; /* Name of column in zTo. If 0 use PRIMARY KEY */
73269 ** Return TRUE if the name zCol occurs anywhere in the USING clause.
73272 ** zCol.
73274 static int nameInUsingClause(IdList *pUsing, const char *zCol){
73278 if( sqlite3StrICmp(pUsing->a[k].zName, zCol)==0 ) return 1;
73316 const char *zCol, /* Name of the column. */
73331 assert( zCol ); /* The Z in X.Y.Z cannot be NULL */
73375 if( sqlite3StrICmp(pCol->zName, zCol)==0 ){
73382 if( nameInUsingClause(pItem->pUsing, zCol) ) continue;
73419 if( sqlite3StrICmp(pCol->zName, zCol)==0 ){
73426 if( iCol>=pTab->nCol && sqlite3IsRowid(zCol) ){
73453 if( cnt==0 && cntTab==1 && sqlite3IsRowid(zCol) ){
73474 if( zAs!=0 && sqlite3StrICmp(zAs, zCol)==0 ){
73525 sqlite3ErrorMsg(pParse, "%s: %s.%s.%s", zErr, zDb, zTab, zCol);
73527 sqlite3ErrorMsg(pParse, "%s: %s.%s", zErr, zTab, zCol);
73529 sqlite3ErrorMsg(pParse, "%s: %s", zErr, zCol);
73804 char *zCol = pE->u.zToken;
73807 if( zAs!=0 && sqlite3StrICmp(zAs, zCol)==0 ){
79060 char *zCol; /* Null-terminated column definition */
79134 zCol = sqlite3DbStrNDup(db, (char*)pColDef->z, pColDef->n);
79135 if( zCol ){
79136 char *zEnd = &zCol[pColDef->n-1];
79138 while( zEnd>zCol && (*zEnd==';' || sqlite3Isspace(*zEnd)) ){
79146 zDb, SCHEMA_TABLE(iDb), pNew->addColOffset, zCol, pNew->addColOffset+1,
79149 sqlite3DbFree(db, zCol);
81038 ** Invoke the authorization callback for permission to read column zCol from
81049 const char *zCol, /* Column name */
81056 rc = db->xAuth(db->pAuthArg, SQLITE_READ, zTab,zCol,zDb,pParse->zAuthContext);
81059 sqlite3ErrorMsg(pParse, "access to %s.%s.%s is prohibited",zDb,zTab,zCol);
81061 sqlite3ErrorMsg(pParse, "access to %s.%s is prohibited", zTab, zCol);
81087 const char *zCol; /* Name of the column of the table */
81117 zCol = pTab->aCol[iCol].zName;
81120 zCol = pTab->aCol[pTab->iPKey].zName;
81122 zCol = "ROWID";
81125 if( SQLITE_IGNORE==sqlite3AuthReadCol(pParse, pTab->zName, zCol, iDb) ){
83469 pFKey->aCol[i].zCol = z;
87932 char *zKey = pFKey->aCol[0].zCol; /* Name of left-most parent key column */
88005 if( sqlite3StrICmp(pFKey->aCol[j].zCol, zIdxCol)==0 ){
88247 const char *zCol; /* Name of column in child table */
88268 zCol = pFKey->pFrom->aCol[iCol].zName;
88269 pRight = sqlite3Expr(db, TK_ID, zCol);
88516 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName;
88517 rcauth = sqlite3AuthReadCol(pParse, pTo->zName, zCol, iDb);
88665 char *zKey = p->aCol[i].zCol;
90338 char *zCol = pTab->aCol[pIdx->aiColumn[j]].zName;
90341 sqlite3StrAccumAppend(&errMsg, zCol, -1);
93112 char *zCol = pFK->aCol[j].zCol;
93120 sqlite3VdbeAddOp4(v, zCol ? OP_String8 : OP_Null, 0, 5, 0, zCol, 0);
94690 static int columnIndex(Table *pTab, const char *zCol){
94693 if( sqlite3StrICmp(pTab->aCol[i].zName, zCol)==0 ) return i;
94700 ** table that has a column named zCol.
94710 const char *zCol, /* Name of the column we are looking for */
94715 int iCol; /* Index of column matching zCol */
94719 iCol = columnIndex(pSrc->a[i].pTab, zCol);
95702 char *zCol;
95712 zCol = "rowid";
95714 zCol = pTab->aCol[iCol].zName;
95721 zName = sqlite3MPrintf(db, "%s.%s", pTab->zName, zCol);
95724 sqlite3VdbeSetColName(v, i, COLNAME_NAME, zCol, SQLITE_TRANSIENT);
117634 const char *zCol = sqlite3_column_name(pStmt, i);
117635 nStr += (int)strlen(zCol) + 1;
117645 const char *zCol = sqlite3_column_name(pStmt, i);
117646 int n = (int)strlen(zCol)+1;
117647 memcpy(p, zCol, n);