Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

SQL Server Alias Types

  • 25-05-2008 03: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
Advertisement