Microsoft
Software
Hardware
Network
Question : Oracle Build Table of tables
I need to make a table look like another table where they differ by column names and a "record type"
So Let's say the following:
Table 1
rtA_field1
rtA_field2
rfA_field3
rtB_field1
rtB_field2
rfB_field3
Table 2
field1
field2
field3
rt_type
I was hoping something like the following would work:
select x.*, y.* from
(Select field1 as rtA_field1, field2 as rtA_field2, field3 as rtA_field3 from Table2 where rt_type='A') x,
(Select field1 as rtB_field1, field2 as rtB_field2, field3 as rtB_field3 from Table2 where rt_type='B') y
)
So that Table2 can get a view created from it that mimics the columns of Table1.
Answer : Oracle Build Table of tables
that will work except you'll get every combination of A and B from Table2, is that what you want?
Random Solutions
Looping
What format should I save audio files to burn a CD that will play on most CD players?
How to move a DC from one Win 2K3 Server to another via a backup method?
Windows XP video doesn't show
.htaccess Redirect Folder BUT Keeping Additional Strings / Variables?
Creating automated monthly labels for a chart in crystal reports
Exchange 2007, how to configure exchange anti-spam to always pass content filtering for several external mail domains
Computer isn't allowing access anymore
Filter out a calculated formula in group header
How do I refine the group policy governing storage of credentials or .NET Passports?