Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

SQL Server Alias Types

Options
  • 25-05-2008 3:19pm
    #1
    Closed Accounts Posts: 461 ✭✭


    So I have a user defined alias type

    CREATE TYPE col1 FROM nVarChar(100);

    Does anybody know how to define a collation for that user defined alias type?

    E.g

    CREATE TABLE dbo.Tab
    (
    mycol col1 COLLATE SQL_Latin1_General_CP1_CS_AS NULL;
    )

    Does not work.

    Using Server 2005, anybody know if this is possible?


Comments

Advertisement