Created
June 13, 2021 07:32
-
-
Save Ir001/f12f9289edb07c952391745fb3464ac9 to your computer and use it in GitHub Desktop.
How to TRUNCATE foreign table
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
SET FOREIGN_KEY_CHECKS = 0; | |
TRUNCATE table $table_name; | |
SET FOREIGN_KEY_CHECKS = 1; | |
#DWYOR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment