Created
January 26, 2017 17:28
-
-
Save suspecie/85592d19b439a7dec83698fea465f5d2 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 AccountingTransactionDescriptionProfile; | |
INSERT INTO AccountingTransactionDescriptionProfile (id_descricao_transacao_contabil, id_perfil) SELECT | |
id_descricao_transacao_contabil, p.id_perfil | |
FROM | |
AccountingTransactionDescription | |
LEFT JOIN | |
erp_perfil p ON 1 = 1 | |
WHERE | |
p.id_perfil IN (62 , 146, 120, 117); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment