I have the below table: Using SQL Server 

```
create table PoojaDetails
(
    PoojaDetailsID int identity constraint pk_PoojaDetailsID Primary Key, 
    ReceiptNo AS 'PB' + '/' + datepart(yy,getdate()) + '/' + RIGHT('000000' + CAST(PoojaDetailsID AS VARCHAR(10)), 6) PERSISTED,
    ReceiptDate datetime not null constraint df_ReceiptDate default getdate(),
    FirstName varchar(100) not null,
    LastName varchar(100) not null,
    TelNo bigint
)

```

When i execute the query: Computed column 'ReceiptNo' in table 'PoojaDetails' cannot be persisted because the column is non-deterministic.

I would like to have the ReceiptNo as : PB/year/no
for e.g; PB/13/213433

Any ideas??? Thanks for your time