I have SQL tables column name "Datumpåmin" type date "yyyy.MM.dd."
I want to remove all items if the day now has paserat date in Datumpåmin
SQL = "DELETE * FROM ma WHERE Datumpåmin < cast(getdate() as date)"
I got the error message syntax eror near ""
I want to remove all items if the day now has paserat date in Datumpåmin
SQL = "DELETE * FROM ma WHERE Datumpåmin < cast(getdate() as date)"
I got the error message syntax eror near ""