decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
|
|
@ -0,0 +1,24 @@
|
|||
CREATE procedure [dbo].[up_insert_agentaccount]
|
||||
@Account nvarchar(16),
|
||||
@Password nvarchar(16)
|
||||
|
||||
as
|
||||
BEGIN
|
||||
set nocount on
|
||||
BEGIN TRAN
|
||||
|
||||
if NOT EXISTS (select Account from dbo.AgentAccount with (nolock) where [Account] = @Account)
|
||||
begin
|
||||
insert into dbo.AgentAccount ( [Account], [Password] ) values
|
||||
( @Account, @Password );
|
||||
end
|
||||
|
||||
if(@@error <> 0 )
|
||||
BEGIN
|
||||
ROLLBACK TRAN
|
||||
return
|
||||
END
|
||||
|
||||
COMMIT TRAN
|
||||
END
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue