Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Can an asterisk be used in an Append Query or some other way?

$
0
0

Hi friends,

Is there anyway to merge two or more tables reflecting the view with all the columns in such a way that similar ones are used ones and additional ones also included in a way other than using the Columns names being literally typed?

As an example table for month of January includes Columns:

Customer_ID     Customer_Name     Customer_Cell_No

While the table for month of Feb includes Columns:

Customer_ID     Customer_Name     Customer_Cell_No     Customer_Email

and the March table contains:

Customer_ID     Customer_Name     Customer_Email     Customer_City

Can a view be created to reflect as:

Customer_ID     Customer_Name     Customer_Cell_No     Customer_Email     Customer_City

Without actually typing all the fields for different tables?

Got monthly tables for Jan 2013 to Jun 2014 being somehow inconsistent with 40 to 50 different but some similar fields

Thanks in advance.


Best Regards, Faraz A Qureshi


Viewing all articles
Browse latest Browse all 8428

Trending Articles