标签: mysql
Dim query As String = "SELECT * FROM table WHERE column CONTAIN DAYOFWEEK(CURDATE())"
列的DateType是VARCHAR,数据是逗号的数字,如“0,1,2,4,5”
今天的例子是星期五DAYOFWEEK(CURDATE())将返回6如何检查列是否包含6?