Date Conversion Issue MS Access to SQL Server
问题 I'm creating a table B from an exisitng table A. In the table A I have a column ValDate which is varchar and contains Date. When I try to create the table B I have a function used in the query as given below and I get a conversion error. Table A contains null values as well. MS Access: ((DateDiff("d",Date(),format(Replace(Replace([Table A].ValDate,".","/"),"00/00/0000","00:00:00"),"dd/mm/yyyy")))>0)). Tables were in MS Access and are being migrated to SQL Server 2012. SQL Server: ((DATEDIFF