Created
April 26, 2022 20:01
-
-
Save vvgsrk/26fa85589592cee690533de104cb5937 to your computer and use it in GitHub Desktop.
Insert a new record to product history table
This file contains hidden or 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
INSERT INTO product_history (product_id, product_name, price_per_unit, basic_unit, is_stock_limited, is_active_for_sale, __event_ts, __load_ts) | |
VALUES(1009, 'Paris Coffee', '3 EUR', '1 piece', 'No', 'Yes', DATEADD(hour, -1, DATEADD(Day ,-1, CURRENT_TIMESTAMP())), CURRENT_TIMESTAMP()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment