Hello,
I don't know if there is some SQL feature or if I should do this in my app.
What I need,
change the above code to add (col1 & current date).
col1 = Primary Key varchar(50)
column 1 = Primary Key varchar(50)
data example for column1 = '12-34/2023' . Once the user copies data to col1 it should be '12-34/2023 01-01-2023'
I don't know if there is some SQL feature or if I should do this in my app.
What I need,
Code:
INSERT INTO table1 (col1, col2, col3)
SELECT column1, column2, column3
FROM table2
col1 = Primary Key varchar(50)
column 1 = Primary Key varchar(50)
data example for column1 = '12-34/2023' . Once the user copies data to col1 it should be '12-34/2023 01-01-2023'