[sqlalchemy] Re: Finding syntax errors in very large sql statements

2010-05-15 Thread Jan-Eric
Hi! thank you for your quick reply. Scanning is a problem - most of my queries have more than 4000 characters (just counted them), and their not formated in anyway in the output of the exception. Usually I try to remember the queries that I most recently changed or added. But reading the select s

[sqlalchemy] Re: Finding syntax errors in very large sql statements

2010-05-15 Thread Michael Bayer
On May 15, 4:37 am, Jan-Eric wrote: > Hi! > > what approaches do you guys use to find syntax errors in very large > sql statements. > > Usually, I build my statements joining several sqlalchemy select > statements together to a single statement. > It works great until if I make a (small) mistake