Does anyone have some code for parsing an ugly block of SQL and printing it out in a more easily readable form? -Steve -- Steve Purcell, Pythangelist Get testing at http://pyunit.sourceforge.net/ Any opinions expressed herein are my own and not necessarily those of Yahoo