Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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]
[LanX]: Jeez ... the new location for GPW so remote that hotels are cheaper than AirBnB oO
[LanX]: ... and I can get faster to the Dutch PW or French PW ...
LanX ...(by train from Frankfurt)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2018-03-19 11:50 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (239 votes). Check out past polls.