Developer17 Posted July 26, 2024 at 10:12 AM Report Share #633312 Posted July 26, 2024 at 10:12 AM Ao tentar eliminar umas tabelas de backup deparei-me com a seguinte mensagem TITLE: Microsoft SQL Server Management Studio ------------------------------ Drop failed for Table 'dbo.BackUpbi00001'. (Microsoft.SqlServer.Smo) For help, click: https://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=16.200.48044.0&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Drop+Table&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ The transaction ended in the trigger. The batch has been aborted. Table [dbo].[BackUpbi00001] cannnot be dropped! Mail (Id: 55354) queued. (Microsoft SQL Server, Error: 3609) For help, click: https://docs.microsoft.com/sql/relational-databases/errors-events/mssqlserver-3609-database-engine-error ------------------------------ BUTTONS: OK ------------------------------ Alguém me pode explicar qual é a limitação? Obrigado. Link to comment Share on other sites More sharing options...
user Posted August 1, 2024 at 05:21 PM Report Share #633372 Posted August 1, 2024 at 05:21 PM Existe algum trigger na tabela que estas a eliminar? o que esse trigger faz? Link to comment Share on other sites More sharing options...
Developer17 Posted August 2, 2024 at 10:42 AM Author Report Share #633374 Posted August 2, 2024 at 10:42 AM Em 01/08/2024 às 18:21, user disse: Existe algum trigger na tabela que estas a eliminar? o que esse trigger faz? Não tem nenhum trigger Link to comment Share on other sites More sharing options...
user Posted August 2, 2024 at 12:00 PM Report Share #633375 Posted August 2, 2024 at 12:00 PM Será que existe outra tabela que tenha alguma foreign key associada a essa tabela? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now