Link to home
Start Free TrialLog in
Avatar of JeffAA
JeffAAFlag for United States of America

asked on

How can I change the collation of an existing view?

Is there a way to change the collation of a view?

Avatar of jorge_toriz
jorge_toriz
Flag of Mexico image

CREATE VIEW GetProducts
AS
    SELECT ProductID, Name FROM Production.Product
GO
ALTER VIEW GetProducts
AS
    SELECT ProductID, Name COLLATE Modern_Spanish_CS_AS FROM Production.Product
Avatar of JeffAA

ASKER

This appears to alter the collation for the field [name]. I'm trying to change the collation for the entire view.
ASKER CERTIFIED SOLUTION
Avatar of jorge_toriz
jorge_toriz
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial