1
Reply

Is it possible to use NEWID() in function Sql server 2008?

    No, if you want to use newid in function then you will create view to generate newid()
    like:
    create view UniqueNumber
    as
    select Newid()
    after that this view use in function .