On 19 Dec 2013, at 2:47pm, Joseph Mokos <[email protected]> wrote:

> ATTACH fn() AS somedb;
> 
> I receive: SQL prepare error: invalid name: "fn"
> 
> If I run "SELECT fn()", I receive the expected results so it seems my 
> function is working properly.

If it does work, and I'm not saying it does, then you would need to do 
something like

ATTACH (SELECT fn() AS somedb)

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

Reply via email to