JohnDW
Well-known member
Hello,
I have the following sql query to fill a datagrid
The underlined column gives me a problem. In that column I want the day of Datum. Datum = "yyyy/mm/dd" .Is it possible that for each datum (day,month,year of the week) the query returns the day (like monday, tuesday, etc..)
Grtz, John
I have the following sql query to fill a datagrid
VB.NET:
[FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2]Cmd.CommandText = [/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515]"Select ViewTotaal.Expr1 As [Totale Verkoop], ViewTotaal.Datum, [U]Datum(day)[/U] As Day From ViewTotaal "[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT]
The underlined column gives me a problem. In that column I want the day of Datum. Datum = "yyyy/mm/dd" .Is it possible that for each datum (day,month,year of the week) the query returns the day (like monday, tuesday, etc..)
Grtz, John