gerie
Member
OE 10.1B
OS Windows 2003
I'm trying to update a datefield, because one of the users entered a wrong date and processed the change.
I'm tying to update the field using Squirell in order to update via a SQL query. However it doesn't work.
I could also update the field via a procedure, but I don't know how to write the correct procedure.
I tried this query:
Update pub.ledtrs set ledtrs."date"='13/04/2011' where ledtrs."adm-nr"=111 and ledtrs."journal-nr"=12 and ledtrs.creditor=20119
Then I'm getting the error:
Error: [DataDirect][OpenEdge JDBC Driver][OpenEdge] Syntax error in SQL statement at or about "."date"='13/04/2011' where ledtrs."adm-n" (10713)
SQLState: HY000
ErrorCode: -210056
I also tried different date formats, but no succes.
I don't know how to update this field via the procedure editor.
I hope someone can help me here.
OS Windows 2003
I'm trying to update a datefield, because one of the users entered a wrong date and processed the change.
I'm tying to update the field using Squirell in order to update via a SQL query. However it doesn't work.
I could also update the field via a procedure, but I don't know how to write the correct procedure.
I tried this query:
Update pub.ledtrs set ledtrs."date"='13/04/2011' where ledtrs."adm-nr"=111 and ledtrs."journal-nr"=12 and ledtrs.creditor=20119
Then I'm getting the error:
Error: [DataDirect][OpenEdge JDBC Driver][OpenEdge] Syntax error in SQL statement at or about "."date"='13/04/2011' where ledtrs."adm-n" (10713)
SQLState: HY000
ErrorCode: -210056
I also tried different date formats, but no succes.
I don't know how to update this field via the procedure editor.
I hope someone can help me here.