Hello,
i am trying to get the month number to order the months in my sql query from an column (abbMon) with abbreviated month names in the format MMM.
this is what i have
select month(abbMon,T) from myTable
order by month(abbMon,T)
But I get an error indicating wrong number of arguments used in my query. I looked up the month function and the syntax is the following
Month(date,(abbrev))
where abbrev is a boolean character to indicate if date is abbreviated.
What am i doing wrong?
Thanks,
i am trying to get the month number to order the months in my sql query from an column (abbMon) with abbreviated month names in the format MMM.
this is what i have
select month(abbMon,T) from myTable
order by month(abbMon,T)
But I get an error indicating wrong number of arguments used in my query. I looked up the month function and the syntax is the following
Month(date,(abbrev))
where abbrev is a boolean character to indicate if date is abbreviated.
What am i doing wrong?
Thanks,