Last active
February 3, 2017 16:03
-
-
Save suspecie/0f24acd059efb3912a30e2570996690b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM AccountingTransactionItem | |
WHERE | |
id_transacao_contabil IN (SELECT | |
id_transacao_contabil | |
FROM | |
dev_gestorfox.AccountingTransaction | |
WHERE | |
id_descricao_transacao_contabil = 79); | |
DELETE FROM AccountingTransaction | |
WHERE | |
id_descricao_transacao_contabil = 79; | |
DELETE FROM AccountingBalanceSheetAccountBalance WHERE id_balanco_contabil in(SELECT id_balanco_contabil FROM dev_gestorfox.AccountingBalanceSheet where tipo_balanco = 'E'); | |
DELETE FROM AccountingBalanceSheet where tipo_balanco = 'E'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment