Hey all,

I've been looking through the documentation and searching google for
answers to this, but I can't seem to find a solution.

if I set meta.bind.echo=True, I can see the SQL statement that is
being generated when I call table.create(). Is there any way I can
easily grab this sql statement and store it into a variable (as a
string)? I know you can easily print the SQL generated for insert()
commands etc, but I can't find an easy way to do this with creates.

Sorry if I missed something obvious! Any help would be greatly
appreciated.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to