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

month date

$
0
0
I have in sql table column name "Datum" type date "yyyy.MM.dd."

I want to make a query if month date i Datum = now month
("SELECT sum([Ob4])'Ob4' FROM arb WHERE month([datum]) = MONTH(date)", cs)
like this command 
 
But no result. have no idea plz help

Viewing all articles
Browse latest Browse all 8428

Trending Articles



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