Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Select Disting date (no matter what is the time)

$
0
0

Hi,

I wonder how can I select the distinct date, no matter if the hours and minutes are differents.

This query will be in a sqlDataSource

Here is what I tried but gives me an error:

SELECT DISTINCT convert(varchar(10), [RECEIPT_START_DATE], 120) FROM LOADING_TABLE

ERROR:

DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'RECEIPT_START_DATE'.




Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>