Question : Compare Column Names in Tables in Schema A With Column Names in Tables in Schema B.

How to compare Column Names in two tables. I have over a thousand tables in Schema A and just about the same number of tables in Schema B. I have the table level difference. Meaning, which tables are missing in which Schema.  Now I need to comapre the Columns that are in Schema A. TableName but NOT IN Schema B.TableName. I am not worried about the column characteristics (data types, precision, nullable) etc.

Answer : Compare Column Names in Tables in Schema A With Column Names in Tables in Schema B.

select ipist.part_no,
Condition_Code_Manager_Api.Get_Condition_Code (Part_No,Serial_No,Lot_Batch_No) Condition,
sum(Qty_Onhand)
FROM INVENTORY_PART_IN_STOCK_TAB ipist
Where ((Qty_Onhand > 0
--and part_no      = '411305' ))
--or part_no      = '.016 7075-T6 CLAD' ))
and part_no in ('411305','.016 7075-T6 CLAD' )
group by ipist.part_no, Condition_Code_Manager_Api.Get_Condition_Code (Part_No,Serial_No,Lot_Batch_No)
Random Solutions  
 
programming4us programming4us