2012-10-15 12:57 UTC+0200 Viktor Szakats (harbour syenar.net)

* contrib/hbpgsql/tests/simple.prg
    ! fixed SQL query syntax (via xhb)
This commit is contained in:
Viktor Szakats
2012-10-15 10:57:51 +00:00
parent 7d17a485e2
commit 52636b561c
2 changed files with 5 additions and 1 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-10-15 12:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbpgsql/tests/simple.prg
! fixed SQL query syntax (via xhb)
2012-10-15 12:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
* new TOFIX:

View File

@@ -71,7 +71,7 @@ PROCEDURE Main( cHost, cDatabase, cUser, cPass )
FOR i := 1 TO 10
cQuery := "INSERT INTO test(code, dept, name, sales, tax, salary, budget, Discount, Creation, Description) " +;
"VALUES( " + Str( i ) + ', 2, "TEST", "y", 5, 3000, 1500.2, 7.5, "2003-12-17", "Short Description about what ? ")'
"VALUES( " + Str( i ) + ", 2, 'TEST', 'y', 5, 3000, 1500.2, 7.5, '2003-12-17', 'Short Description about what ? ')"
oQuery := oServer:Query( cQuery )