Page 1 of 1

Error in RefreshRecord

Posted: Fri 26 Oct 2007 11:03
by sergeyNZ
Upgrade from 5.70 to 6.20

anytable - any table in database which have column with type Date
dat - any column with type Date

OraQuery->Active = false;
OraQuery->SQL->Text = "select a.rowid, a.* from anytable a where dat=to_date(:dat,'dd.mm.yyyy');
OraQuery->SQLRefresh = WHERE ROWID = :Old_ROWID";
OraQuery->ParamByName("dat")->AsString = "01.01.2007";//any date
OraQuery->Active = true;
OraQuery->RefreshRecord();
//ERROR ORA-01830 date format picture ends before converting entire input string

Why???
In 5.70 it's ok.

Posted: Thu 08 Nov 2007 13:02
by Plash
We have fixed this problem. The fix will be included in the next build of ODAC.