sql - query multiple tables and combine results into one return table for stored procedure? -


I have several different tables, but they have 2 columns that have the same names. I want to write a stored procedure. I am searching for a column in all tables and gives results. idea? When it comes to SQL, I am quite a lot.

The operation you are looking for is unions or unions All .