Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

how toRetrieve date in sql server if date = now date

$
0
0

I have in sql table column name "Datumpåmin" type date "yyyy.MM.dd."

I want to make a query if date i Datumpåmin = now date

like this command 
("SELECT Action, ([var]), ([Date]), ([hours]) FROM mam WHERE Datumpåmin = getdate ()", con). 
But no result. have no idea plz help


Viewing all articles
Browse latest Browse all 8428

Latest Images

Trending Articles



Latest Images

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