server-re/decomp/schema/RustyHearts_Auth/procs/up_auth_agentaccount.sql

13 lines
290 B
Transact-SQL

CREATE procedure [dbo].[up_auth_agentaccount]
@Account nvarchar(16),
@Password nvarchar(32)
as
BEGIN
set nocount on
set transaction isolation level read uncommitted
select permission from dbo.AgentAccount where [Account] = @Account and [Password] = @Password
return @@error
END