Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

SQL 2008 View's collation ?

$
0
0

When creating a new Local View from a linked server on a foreign server that has different source view collation, is it correct that all of the Local View's column collations inherit the same type based on the DB that's it's within ?

If yes then would then trying to do the following be pointless ?

ALTER VIEW [dbo].[LocalCustomersView]
AS

SELECT
 CustomerCode COLLATE SQL_Latin1_General_CP1_CS_AS AS CustomerCode
FROM [LinkedForeignServer].[ForeignCustomersDB].[dbo].[ForeignCustomersView]

Thanks in advance.


Viewing all articles
Browse latest Browse all 1519

Trending Articles



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