I HAVE A DATABASE WITH DATE AND OTHER DATA IN IT
NOW I WANT TO EXTRACT DATE YEAR WISE,MONTH WISE,DAY WISE.
PLEASE CORRECT THE STATEMATE FOR EXTRACTING YEAR WISE (ANY YEAR)
Cursor1 = SQL1.ExecQuery("SELECT col1, col2, col3, col4 FROM table2 WHERE col1 = year 2013 ")
PLEASE SUGGEST STATEMATE FOR EXTRACTING YEAR AND MONTH WISE
PLEASE SUGGEST STATEMATE FOR EXTRACTING YEAR AND MONTH AND DAY WISE
NOW I WANT TO EXTRACT DATE YEAR WISE,MONTH WISE,DAY WISE.
PLEASE CORRECT THE STATEMATE FOR EXTRACTING YEAR WISE (ANY YEAR)
Cursor1 = SQL1.ExecQuery("SELECT col1, col2, col3, col4 FROM table2 WHERE col1 = year 2013 ")
PLEASE SUGGEST STATEMATE FOR EXTRACTING YEAR AND MONTH WISE
PLEASE SUGGEST STATEMATE FOR EXTRACTING YEAR AND MONTH AND DAY WISE