<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>It isn't that useful to get the table list, only for introspection would you need it. Most users of the API will know the schema of the database, and know the table names they need. It would be useful if the SQL back-end did not support CREATE TABLE IF NOT EXISTS. But users can just blinding try to create a table and look for any errors about it already existing in that case.</div><div><br class="webkit-block-placeholder"></div><div>Regarding introspection, it would have helped us write the Web Inspector feature. We ended up making a special call to get the table names.</div><div><br class="webkit-block-placeholder"></div><div><div>On Oct 19, 2007, at 6:13 PM, Brady Eidson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>There is no standard way in SQL that I know of to get the list of tables in a database.<br><br>In SQLite you can enumerate tables out of sqlite_master, but that should not be encouraged.<br><br>What are people's thoughts about adding this to the API?<br><br>~Brady<br></div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Verdana; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><span class="Apple-style-span" style="font-size: 10px; ">— Timothy Hatcher</span></span></font></div></div><br class="Apple-interchange-newline"></span> </div><br></body></html>