here is the code:

engine_src= create_engine('mssql://blah_blah_blah)
engine_dst= create_engine('sqlite:///new.sqlite')

metadata_src = MetaData(bind=engine_src,reflect=True)


metadata_dst= MetaData(bind=engine_dst)
for table in metadata_src.sorted_tables:
    dest_table = table.tometadata(metadata_dst)
    engine_iODM.echo = True
    dest_table.create()

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

Reply via email to