On Mar 26, 2008, at 1:49 PM, Rick Morrison wrote:
> > quote=True should not be needed, that is automatic....this stuff > should work for MS-SQL as well though I dont have a test environment > here for MS-SQL Heres a sqlite script illustrating both concepts in > action: > > > Where are the default Dialect quoting rules pertaining to spaces? > I'm presuming in sql/compiler.py:IdentifierPreparer, but I don't see > the regexp expressions for spaces there..... the regexp is compiler.LEGAL_CHARACTERS, and is used within IdentifierPreparer._requires_quotes. > As far as I know, the MSSQL Dialect doesn't override the normal > quoting rules, but the Dialect interface has changed since I last > spent any significant time working with it, so I'm not really all > that sure about it. can you try my test script with an MS-SQL database and see what you get ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
