Microsoft
Software
Hardware
Network
Question : USING TO_DATE ORACLE FUNCTION IN SELECT STRING FROM VB.NET
i'm using Select Method for a datatable in Oracle with the following string
dt_anagraficabt = New DataTable
dt_anagraficabt = objDataSet.Tables("anagraf
icabt")
strselect ="pod=TRIM('IT023E00092157
') AND TO_DATE('27/01/2010','DD/M
M/YYYY') BETWEEN contract_date AND NVL(contract_date_final,TO
_DATE('01/
01/2090','
DD/MM/YYYY
'))"
Trovato = dt_anagraficabt.Select(str
Select, strSort)
I received the error that TO_DATE() is an undefined function.
Answer : USING TO_DATE ORACLE FUNCTION IN SELECT STRING FROM VB.NET
Use the convert function
Convert(DateTime, fieldname, 103)
Random Solutions
Darwing a line with Line method
Where are email attachments stored in windows mobile 6.5?
Screen resolution is off in Internet explorer.
WS_EX_TRANSPARENT
UNION all view % is not updatable because a partitioning column was not found
getting error message when download offline address book
Conversion failed when converting date and/or time from character string.
.net User Control Events
WIndows 2003 Server Cluster without any External Storage
Grid: display one record in different rows