on 09-28-2016 10:26 AM
Hello,
Is anyone ever use VFP to connect to the Hana database/tables?
I face several problems.
1) For example I cannot access the OITM table because "too many columns" (over 255)
2) I Cannot select a column, for example
connector = "DRIVER={HDBODBC32};UID=SYSTEM;PWD=mypassword;SERVERNODE=194.x.xxx.xxx:30015;DATABASE=MYDATABASE"
SQLExec(connector, "SELECT ItmsGrpCod from mydatabase.OITB", "zoitb") do not return anything
while
SQLExec(connector, "SELECT * from mydatabase.OITB", "zoitb") return all columns and data...
Basically it does not allow you to get around the "too many columns" limitation because you cannot select them!
Do you have any idea????
Thank you
Dear Patrice,
Answer to yourself....
Put the field name into cote like this :
SQLExec(connector, 'SELECT "ItmsGrpCod" from mydatabase.OITB', "zoitb")
and this will allow you to go around the 255 limitation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.