Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Compare SQL Query Result Set Column Names to the Column Names in an exising Table

Avatar of ThomasCox
ThomasCox asked on
Oracle Database
9 Comments1 Solution540 ViewsLast Modified:
I know how to compare the column names in two tables by querying the SYS.All_Tab_COLUMNS Table.  

However, I want to compare the columns in an existing table in the SYS.All_Tab_COLUMNS Table to the Column Names in the Result Set of a SQL Query.

l have been looking all over and cannot find a resolution.