Would anyone know how to get the table names from a specific database in C++ or 
just using the C API for sqlite?


I have tried the below but I get nothing.  Thought I might be able to move the 
list of names into a table but it doesn't seem to want to work.  Clearly I 
can't do this using sql.. Any clues as to the easiest ways to do this?



 string exec_string = "SELECT name FROM sqlite_master  WHERE type='table' ORDER 
BY name;";


   dbase_return_tbl = 
sqlite3_get_table(db_handle,exec_string.c_str(),&result,&row,&column,&error_msg);



T
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to