30 lines
850 B
Transact-SQL
30 lines
850 B
Transact-SQL
/* To prevent any potential data loss issues, you should review this script in detail before running it outside the context of the database designer.*/
|
|
BEGIN TRANSACTION
|
|
SET QUOTED_IDENTIFIER ON
|
|
SET ARITHABORT ON
|
|
SET NUMERIC_ROUNDABORT OFF
|
|
SET CONCAT_NULL_YIELDS_NULL ON
|
|
SET ANSI_NULLS ON
|
|
SET ANSI_PADDING ON
|
|
SET ANSI_WARNINGS ON
|
|
COMMIT
|
|
BEGIN TRANSACTION
|
|
GO
|
|
ALTER TABLE dbo.RegistryRowsFinancialControlling
|
|
DROP CONSTRAINT FK_RegistryRowsFinancialControlling_ReInvoiceReason
|
|
GO
|
|
ALTER TABLE dbo.ReInvoiceReason SET (LOCK_ESCALATION = TABLE)
|
|
GO
|
|
COMMIT
|
|
BEGIN TRANSACTION
|
|
GO
|
|
DROP INDEX iReInvoiceReason_RegistryRowsFinancialControlling ON dbo.RegistryRowsFinancialControlling
|
|
GO
|
|
ALTER TABLE dbo.RegistryRowsFinancialControlling
|
|
DROP COLUMN ReInvoiceReason
|
|
GO
|
|
ALTER TABLE dbo.RegistryRowsFinancialControlling SET (LOCK_ESCALATION = TABLE)
|
|
GO
|
|
COMMIT
|
|
|