Ask a Question related to PHP Notes, Design and Development.
-
Devendra Joshi #1
note 33924 added to function.odbc-primarykeys
I want a list of primary keys of a table in db2
by using
'select * from SYSIBM.SYSKEYCOLUSE ' query i am getting the result on CLP
but when i am writing it in PHP as follows it returns 0 ROWS.
$mstmt="select * from SYSIBM.SYSKEYCOLUSE";
$b=odbc_exec($conn,$mstmt);
echo odbc_result_all($b);
where as if we write this code
$mstmt="select * from SYSIBM.SYSFUNCTIONS";
$b=odbc_exec($conn,$mstmt);
echo odbc_result_all($b);
it returns the correct data.
----
Manual Page -- [url]http://www.php.net/manual/en/function.odbc-primarykeys.php[/url]
Edit Note -- [url]http://master.php.net/manage/user-notes.php?action=edit+33924[/url]
Delete Note -- [url]http://master.php.net/manage/user-notes.php?action=delete+33924&report=yes[/url]
Reject Note -- [url]http://master.php.net/manage/user-notes.php?action=reject+33924&report=yes[/url]
Devendra Joshi Guest
-
note 33965 added to function.odbc-primarykeys
Please take note I have same problem. While using with DB2. ---- Manual Page -- http://www.php.net/manual/en/function.odbc-primarykeys.php Edit... -
note 33928 added to function.odbc-fetch-array
It seems as if this function doesn't work in PHP 4.3.2. The "Call to Undefined Function" error occurs when calling this function. ---- Manual Page... -
note 33893 added to function.odbc-do
i have use this function so many times. it works well for my requirements. ok well done... <?php $sqlstr="SELECT bill_no FROM SCROL";... -
note 33622 added to function.odbc-fetch-row
Hey, This odbc_fetch_row() doesn't works... -_T Is Not this function usage same to mysql_fetch_row() ??? ex) $row = odbc_fetch_row($result);... -
note 33591 added to ref.odbc
yeah its my note alright yeah its my note alright yeah its my note alright yeah its my note alright yeah its my note alright yeah its my note alright...



Reply With Quote

