on a replicated db this has started to return NULL
for scope_identity any ideas why?
INSERT
INTO "dbtophorse"."dbo"."tbOrder"("tbOrd_total","tbOrd_datetime","tbUsr_id","tbshipingID")
VALUES(@orderTotal,GETDATE() ,@User,@tbshippingId)
SET @tbOrd_id=Scope_Identity()
Thanks
SDH