I'm aware with Oracle I could probably do something like this:
REPLACE(REPLACE(REPLACE(o.jobdtl_cmd, CHR(9), ''), CHR(10), ''), CHR(13),
'') as COMMAND
Is there a database agnostic way of doing this in SQLAlchemy?
Would it be possible to provide a list of numbers, like 9,10,13, that
would get iterated through to strip out the character and replace with an
I was looking under func, thinking it maybe something you could do there...
Perhaps via Register function?
Does anyone have an example of a register function?
Many thanks again.
The Python SQL Toolkit and Object Relational Mapper
To post example code, please provide an MCVE: Minimal, Complete, and Verifiable
Example. See http://stackoverflow.com/help/mcve for a full description.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.