On Thu, Dec 19, 2013 at 9:47 AM, Joseph Mokos <[email protected]>wrote:

> According to the SQLite doc, the format of the ATTACH statement allows an
> expression to be used for the filename of the database I want to attach to.
>  I have written a user function that generates the filename based upon
> certain criteria.  If I try:
>
> ATTACH fn() AS somedb;
>
> I receive: SQL prepare error: invalid name: "fn"
>


Fixed here: http://www.sqlite.org/src/info/df70a1f303


-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to