Hi Andy thanks but I get the following message
Server: Msg 5063, Level 16, State 1, Line 1
Database 'nab_pcs' is in warm standby. A warm-standby database is read-only.
Server: Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.
sp_dboption command failed.