Home > database >  The elements in the print a table in the database
The elements in the print a table in the database

Time:10-20

Int search_frd (sqlite3 * db, struct FRD * f)
{
Char * FSQL="select id_to from FRD where id_from=% s", [256] SQL="";
Int err;
Struct mgr2 m={0} f,;
Snprintf (SQL, SQL, sizeof FSQL, f - & gt; Id_from);
Err=sqlite3_exec (db, SQL, query_frd, & amp; M, NULL);
If (err!={SQLITE_OK)
The return - 2;
}
If (0==m.c mount) {
return -1;
}
return 0;
}
Bosses help me have a look, I want to print out all id_to found what should I do?

CodePudding user response:

Is to print out all find id_to,
  • Related