[postmodern-devel] Create-table dynamic table name
Marijn Haverbeke
marijnh at gmail.com
Sun Sep 21 07:45:29 UTC 2008
Hi Mark,
(sql-compile `(:create-table ,tableName ....)) should work.
Best,
Marijn
2008/9/21 Mark Slamin <mslamin at gmail.com>:
> Hi.
> How do I use a variable as a table name with create-table?
> The following always takes 'tableName' as the name rather than the value of
> tableName:
> (sql (:create-table tableName
> ((name :type string)
> (address :type string))))
> :raw doesn't seem to work.
> Thanks
> Mark
> _______________________________________________
> postmodern-devel mailing list
> postmodern-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
>
>
More information about the postmodern-devel
mailing list