Welcome to Sign in | Help

Re: View cu coloane not null

  •  11-20-2009, 7:17 PM

    Re: View cu coloane not null

    Încearcă un:

    create view v as
    select ISNULL(-1 * row_number() over (col1),0) as col1 from table1
    union
    select col1 from table1

    (poţi să afli dacă SQL Server consideră că acea coloană poate conţine null-uri din coloana IS_NULLABLE în INFORMATION_SCHEMA.COLUMNS)

    Răzvan
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems