Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: SQL queries from weird data

by RichardK (Parson)
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 :)

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019596]
[choroba]: Already considered, but I don't understand why they replied with a shell script to "shell script to Perl"?
[Corion]: Likely they want that script to be converted to Perl, magically :)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2018-05-25 08:20 GMT
Find Nodes?
    Voting Booth?