Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: SQL queries from weird data

by RichardK (Priest)
on Feb 19, 2013 at 15:43 UTC ( #1019596=note: print w/ replies, xml ) Need Help??


in reply to SQL queries from weird data

To me, the problem looks more like an issue with your database schema design.

If you normalised out the "other" column into its own key/value table then your problem would go away and your code would be nice and simple :)


Comment on Re: SQL queries from weird data
Re^2: SQL queries from weird data
by Neighbour (Friar) on Feb 19, 2013 at 15:47 UTC
    Indeed. And you wouldn't be trying to execute data, which is something to be avoided.
Re^2: SQL queries from weird data
by Anonymous Monk on Feb 19, 2013 at 15:51 UTC
    I should have been more clear, this isn't our schema, these aren't our tables. This is generated by a third party product (VB.Net front end, Oracle back end) over which we have zero control. We're trying to provide more functionality via some scripting. We want to do things this product doesn't do.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019596]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-08-01 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (257 votes), past polls