Primeiramente, vc terá q modificar a 'Triggers' do user, se n souber procure um tuto 'Como Por para todos começarem com todos os chars e classe' q la terá como editar o Triggers do user
Bem, troque a parte q tem :
Código:
INSERT INTO [dbo].[Characters](Login, CharType) SELECT Login, 0 FROM [Inserted](nolock) INSERT INTO [dbo].[Characters](Login, CharType) SELECT Login, 1 FROM [Inserted](nolock) INSERT INTO [dbo].[Characters](Login, CharType) SELECT Login, 2 FROM [Inserted](nolock) INSERT INTO [dbo].[Characters](Login, CharType) SELECT Login, 3 FROM [Inserted](nolock) INSERT INTO [dbo].[Characters](Login, CharType) SELECT Login, 4 FROM [Inserted](nolock) INSERT INTO [dbo].[Characters](Login, CharType) SELECT Login, 5 FROM [Inserted](nolock)
Código:
INSERT INTO [dbo].[Characters](Login, CharType, Indicador) SELECT Login, 0, 0 FROM [Inserted](nolock) INSERT INTO [dbo].[Characters](Login, CharType, Indicador) SELECT Login, 1, 0 FROM [Inserted](nolock) INSERT INTO [dbo].[Characters](Login, CharType, Indicador) SELECT Login, 2, 0 FROM [Inserted](nolock) INSERT INTO [dbo].[Characters](Login, CharType, Indicador) SELECT Login, 3, 0 FROM [Inserted](nolock) INSERT INTO [dbo].[Characters](Login, CharType, Indicador) SELECT Login, 4, 0 FROM [Inserted](nolock) INSERT INTO [dbo].[Characters](Login, CharType, Indicador) SELECT Login, 5, 0 FROM [Inserted](nolock)
Nenhum comentário:
Postar um comentário