[sqlalchemy] Re: How to display table creation sql statement?

2009-02-03 Thread limodou
2009/2/3 Sergei Beilin sbei...@narod.ru: On 3 фев, 09:31, limodou limo...@gmail.com wrote: Thanks and I want to know if I must call meta.create_all(engine), because this code will create the tables, but I just want to see the SQL statements, but not create the tables. Note the additional

[sqlalchemy] Re: How to display table creation sql statement?

2009-02-02 Thread Michael Bayer
current method is http://www.sqlalchemy.org/trac/wiki/FAQ#HowcanIgettheCREATETABLEDROPTABLEoutputasastring . 0.6 has something more general purpose. On Feb 2, 2009, at 8:55 PM, limodou wrote: I want to know if there is a simple way to show the table creation sql statement, and I don't

[sqlalchemy] Re: How to display table creation sql statement?

2009-02-02 Thread limodou
On Tue, Feb 3, 2009 at 11:40 AM, Michael Bayer mike...@zzzcomputing.com wrote: current method is http://www.sqlalchemy.org/trac/wiki/FAQ#HowcanIgettheCREATETABLEDROPTABLEoutputasastring . 0.6 has something more general purpose. Thanks and I want to know if I must call