SQL Language (MOSC)

MOSC Banner

SQL Aplication Issue

edited Oct 10, 2011 2:04PM in SQL Language (MOSC) 9 commentsAnswered
This is not a technical problem, but an application sql problem for which we are not too aware of the solution...

Currently we have two identical tables sol_a and sol_b and a master table that contains the version currently used, i.e. a or b for queries.

At any point in time a or b is empty and a query runs that gets data from both by doing a union....

We would like to have a view or a query that does a select from onlythe relevant table, selecting the table by looking at the parameter in the master table, ie 'a' or 'b'.  We have not come up with a solution, and would be grateful for assistance. Also, please guide as to what to do in the future when we have non techical queries like this that are non severe...

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center