Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

syntax eror near ""

$
0
0
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 "" 

Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>