Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9239

Re: [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'User-Defined Values' (CSHS)

$
0
0

Gordon

 

Sorry!

 

The problem is related to how can I pass the value for selection.

(T00.DocDate >= convert(datetime,'+@tempdate+',5)) AND (T00.DocDate <= dateadd(day,-1,(dateadd(month, 1,convert(datetime,'+@tempdate+',5)))))


Viewing all articles
Browse latest Browse all 9239

Trending Articles