<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.proggen.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.proggen.org/feed.php">
        <title>proggen.org dbs:sqlite:libsqlite3:communicate</title>
        <description></description>
        <link>https://www.proggen.org/</link>
        <image rdf:resource="https://www.proggen.org/lib/tpl/proggenX/images/favicon.ico" />
       <dc:date>2026-04-12T16:50:54+0200</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sidebar&amp;rev=1663869537"/>
                <rdf:li rdf:resource="https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sqlite3_exec&amp;rev=1663869537"/>
                <rdf:li rdf:resource="https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sqlite3_get_table&amp;rev=1663869537"/>
                <rdf:li rdf:resource="https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sqlite3_prepared&amp;rev=1663869537"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.proggen.org/lib/tpl/proggenX/images/favicon.ico">
        <title>proggen.org</title>
        <link>https://www.proggen.org/</link>
        <url>https://www.proggen.org/lib/tpl/proggenX/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sidebar&amp;rev=1663869537">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-22T19:58:57+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Community</title>
        <link>https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sidebar&amp;rev=1663869537</link>
        <description>Community

	*  Forum
	*  Links
	*  FAQs
	*  Autorenportal
	*  User-Websites

Datenbanken

	*  Startseite
	*  MySQL
	*   SQLite Startseite
	*  libsqlite3 Startseite

SQL-Kommandos ausführen

	*  sqlite3_exec  
	*  sqlite3_get_table
	*  Prepared Statements</description>
    </item>
    <item rdf:about="https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sqlite3_exec&amp;rev=1663869537">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-22T19:58:57+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sqlite3_exec</title>
        <link>https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sqlite3_exec&amp;rev=1663869537</link>
        <description>sqlite3_exec

C-Code

Codeschnipsel für C

sqlite3* dbs;
char command[300];
char *ptr_command = command;
char *error_exec=NULL;


printf(&quot;SQL Kommando eingeben:&quot;);
fgets(ptr_command,300,stdin);
if (sqlite3_exec(dbs,ptr_command,callback,NULL,&amp;error_exec) != SQLITE_OK)
printf(&quot;SQLite Fehler: %s\n&quot;,error_exec);
{
    sqlite3_free(error_exec);
    error_exec=NULL;
}</description>
    </item>
    <item rdf:about="https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sqlite3_get_table&amp;rev=1663869537">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-22T19:58:57+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sqlite3_get_table</title>
        <link>https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sqlite3_get_table&amp;rev=1663869537</link>
        <description>sqlite3_get_table

C-Code

Codeschnipsel für C


sqlite3* dbs;
char command[300];
char* ptr_command = command;
char* error_get_table=NULL;
char** result=NULL;
int column=0;
int row=0;

printf(&quot;SQL Kommando eingeben&quot;);
fgets(ptr_command,300,stdin);
if (sqlite3_get_table(dbs,ptr_command,&amp;result,&amp;row,&amp;column,&amp;error_get_table))
{
   printf(&quot;SQLite Fehler: %s&quot;,error_get_table);
   sqlite3_free(error_get_table);
   error_get_table=NULL;
}
print_result(result,row,column);
sqlite3_free_table(result);
re…</description>
    </item>
    <item rdf:about="https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sqlite3_prepared&amp;rev=1663869537">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-22T19:58:57+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Der Weg über sqlite3_prepare und sqlite3_step</title>
        <link>https://www.proggen.org/doku.php?id=dbs:sqlite:libsqlite3:communicate:sqlite3_prepared&amp;rev=1663869537</link>
        <description>Der Weg über sqlite3_prepare und sqlite3_step

C-Code


sqlite3* dbs;
sqlite3_stmt *stmt;
char command[300];
char* ptr_command = command;
int cols;
int i;
char* col_name;
char* col_value;

printf(&quot;SQL Kommando eingeben:\n&quot;);
fgets(ptr_command,300,stdin);
       
if (sqlite3_prepare_v2(dbs,ptr_command,strlen(command),&amp;stmt,0)!=SQLITE_OK)
{
  printf(&quot;SQL-Fehler: %s\n&quot;,sqlite3_errmsg(dbs));
}
cols = sqlite3_column_count(stmt);
while (sqlite3_step(stmt) == SQLITE_ROW)
{
  for (i=0;i&lt;cols;i++)
  {
  …</description>
    </item>
</rdf:RDF>
