Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

sql server

$
0
0

create view
t11
as select * from
[AdventureWorksLT2012].[SalesLT].[Customer] a
inner join  [AdventureWorksLT2012].[SalesLT].[CustomerAddress] b on a.CustomerID
= b.CustomerID
where lastname like 'V%';

receiving errors as:Msg 4506, Level 16, State 1, Procedure t11, Line 4
Column names in each view or function must be unique. Column name 'CustomerID' in view or function 't11' is specified more than once.


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>