Michael Bayer wrote:
> hi don -
> 
> heres a script using SQLite which illustrates how the foreign key  
> reflection works.  This same sort of thing should be working on MS-SQL  
> as well but I dont have access to an MS-SQL server here to test.  If  
> the example below is not working for MS-SQL, please file a trac ticket  
> - we have some MS-SQL developers who can take a look.

OK, thanks.  I tried it with MySQL, and it worked fine, so it does seem 
to be mssql-specific.  I've filed Ticket #979.  (I can work around this 
without too much trouble.)

> # reflect an entire DB
> meta3 = MetaData(engine)
> meta3.reflect()

This worked on a large mssql DB -- took several minutes to autoload 760 
tables and views.  I don't think I'll be doing that very often.  8^)

-- 
Don Dwiggins
Advanced Publishing Technology


--~--~---------~--~----~------------~-------~--~----~
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