sure, you'd use the "mock" executor as in the second example here: 
http://www.sqlalchemy.org/trac/wiki/FAQ#HowcanIgettheCREATETABLEDROPTABLEoutputasastring


On Jun 1, 2011, at 8:01 PM, Randy Syring wrote:

> I'd like to be able to dump an MS SQL server's objects to text on the
> local file system.  I have a working solution for views, stored
> procedures, and functions, but tables are a different story.  Can i
> use SA's reflection and table creation abilities to write create table
> DDL to a text file?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To post to this group, send email to [email protected].
> 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.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
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