>>I have no control over the structure of the db
>I think I'd do it in the SQL - that way the rest of the app is clean.

+1
And hope that some day you'll gain some control  over the structure of the
db ;)

Reply via email to