I working in a shared project
In ASCData database, i have a procedure, but I do not understand the meaning of it
set @srvid = -1
SELECT @srvid = srvid FROM master.dbo.sysservers where srvname = 'ASCData_Log'
if(@srvid <> -1)
begin
-- Some insert and select query here
end
Please explain help me
why have to compare @srvid ? and where is master.dbo.sysservers ?
ASCData_Log is one of database of this project.