Board index   FAQ   Search  
Register  Login
Board index php forum :: Database Other Database Engines

problem with odbc with as400

Do you have questions regarding other database enginges (not MySQL) -- ask here!

Moderators: macek, egami, gesf

problem with odbc with as400

Postby Garet » Thu Feb 17, 2011 8:12 am

Hi,
I have two queries: [var_dump view]
1) "SELECT * FROM DDDATSOT.§LOCA00F WHERE §LALOCALI LIKE "A%" ORDER BY §LALOCALI ASC"
2) "SELECT * FROM DDDATSOT.CIIA00F"

the answer to the first query is: Warning: odbc_exec(): SQL error: [unixODBC][IBM][System i Access ODBC Driver]Invalid string or buffer length., SQL state S1090 in SQLExecDirect in /var/www/test/test_sql.php

Second query works fine.

I think problem is §! but I can't rename table...
What can I do?
Garet
New php-forum User
New php-forum User
 
Posts: 1
Joined: Thu Feb 17, 2011 8:01 am

Return to Other Database Engines

Who is online

Users browsing this forum: No registered users and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron