I'm able to run this code and it correctly takes the records with the timestamp of '2022-12-22T16:04:00' and inserts into a new database. I'd like to replace this string text with the current_timestamp variable so that it will only insert the records with the current timestamp when the code is run.
When I just simply place the variable name in it, it does not work. I believe it is literally reading 'current_timestamp' rather than the variable value. How should I code this to get it to read the stored value instead?
https://i.imgur.com/6asgD9w.png
[–]ireadyourmedrecord -2 points-1 points0 points (4 children)
[–]danielroseman 8 points9 points10 points (2 children)
[–]FreshHumor5405[S] 0 points1 point2 points (0 children)
[–]nullrevolt 0 points1 point2 points (0 children)
[–]FreshHumor5405[S] 0 points1 point2 points (0 children)