SQLite Forum

attach-stmt syntax documentation ?
Login
In the documentation for <b>attach-stmt</b> (<i>syntax/attach-stmt.html</i>) and <nobr><b>ATTACH DATABASE</b></nobr> (<i>lang_attach.html</i>)  the statement is shown as:
<nobr><b>ATTACH DATABASE <i>expr</i> AS schema-name</b></nobr>
with a link to the documentation for <b><i>expr</i></b> (<i>syntax/expr.html</i>).
It may be an artifact of my ignorance but I don't understand how the syntax diagram for <b><i>expr</i></b> describes a path to the database file that is being attached.