2010-03-07 17:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/simple.prg
! Fixed date in SQL command to work regardless of mm/dd
positions in date.
I wonder what is the proper solution which uses a fully
portable date format. Anyone?
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-03-07 17:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbpgsql/tests/simple.prg
|
||||
! Fixed date in SQL command to work regardless of mm/dd
|
||||
positions in date.
|
||||
I wonder what is the proper solution which uses a fully
|
||||
portable date format. Anyone?
|
||||
|
||||
2010-03-07 17:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbpgsql/tests/simple.prg
|
||||
! Fixed wrong code in sample.
|
||||
|
||||
@@ -71,7 +71,7 @@ FUNCTION Main( cHost, cDatabase, cUser, cPass )
|
||||
|
||||
FOR i := 1 TO 10
|
||||
cQuery := "INSERT INTO test(code, dept, name, sales, tax, salary, budget, Discount, Creation, Description) "
|
||||
cQuery += "VALUES( " + Str( i ) + ", 2, "TEST", "y", 5, 3000, 1500.2, 7.5, "12-22-2003", "Short Description about what ? ")"
|
||||
cQuery += "VALUES( " + Str( i ) + ", 2, "TEST", "y", 5, 3000, 1500.2, 7.5, "01-01-2003", "Short Description about what ? ")"
|
||||
|
||||
oQuery := oServer:Query( cQuery )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user