I have the following scenario:
I need to feed into either a Procedure or Function the Following Parameters:
Link_1_ID, Link_2_ID, Address1, Address2, City, State, Zip, Address_Type
These will be used to query a table (we'll call the Table ADDRESS_INFO) surrounding some logic and then hardcode the variable LOC_CDE with '0001'.
I then need this all to return in the form of a User Defined Table type (though it should only pull one record at a time).The table would output the following:
Link_1_ID, Link_2_ID, Address1, Address2, City, State, Zip, LOC_CDE (no Address_Type)
I am VERY new to PL/SQL and have had little luck in returning anything. I would also prefer to keep ALL code in one defined PACKAGE (which is also causing trouble).
Any advice or help would be appreciated.