Simple DateTime sql query

前端 未结 8 542
借酒劲吻你
借酒劲吻你 2020-12-07 21:42

How do I query DateTime database field within a certain range?

I am using SQL SERVER 2005

Error code below

SELECT * 
  FROM TABLENAME 
 WHERE         


        
8条回答
  •  旧巷少年郎
    2020-12-07 22:14

    Open up the Access File you are trying to export SQL data to. Delete any Queries that are there. Everytime you run SQL Server Import wizard, even if it fails, it creates a Query in the Access DB that has to be deleted before you can run the SQL export Wizard again.

提交回复
热议问题