IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[userfunc_462_loadme]') AND type = 'P')
DROP PROCEDURE [dbo].[userfunc_462_loadme]
GO
CREATE PROCEDURE userfunc_462_loadme(@cmpid int,   @branchid int,  @userdpid int,  @useruid int,   @userotid int,  @usersecurity int)
as

begin
  select * from mps_login 
end