⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 function.php-ifx_error.htm

📁 php5的最新帮助文档
💻 HTM
字号:
<html>
<head>
<meta content="text/html; charset=gb2312" http-equiv=Content-Type>
<title>函数:ifx_error()</title>
<style type="text/css">
  a {text-decoration: none;color:#6666ff;}
  a:hover {color:#ff0000;}
</style>
</head>
<body bgcolor=ffffff leftmargin=0 topmargin=0 marginheight=0 marginwidth=0>
<p>
<div align=center><table border=0 width=70%><tr>
<td valign=middle width=20><hr size=1 width=100%></td>
<td valign=middle nowrap><font color=e06060 size=+2><b>函数:ifx_error()</b></font></td>
<td valign=middle width=100%><hr size=1 width=100%></td>
</tr></table></div><p>
<div align=center><table border=0 width=70%><tr><td>
<div align=right><a href="group.php-23.htm" alt="group.php?23">Informix 数据库函数库</a></div><br><h1><font color=0000bb>ifx_error</font></h1><p>
取得 Informix 最后的错误。<p>
<font color=ff8000>语法:</font> <b>string ifx_error(void);</b><p>
<font color=ff8000>返回值:</font> 字符串<p>
<font color=ff8000>函数种类:</font> 数据库功能<p>
<p><table border=0 cellspacing=0 cellpadding=0 width=100% height=1><tr><td height=1 bgcolor=c0c0c0><table border=0 cellspacing=0 cellpadding=0><tr><td></td></tr></table></td></tr>
<tr><td align=left><font color=ff8000>内容说明</font></td></tr></table><p>本函数用来取得 Informix 数据库最后的错误信息,本函数无须加入任何参数。返回的字符串如以下的格式<p>

<code>X [SQLSTATE=aa bbb  SQLCODE=c]</code><p>

其中的 X 代表错误信息的种类,见下表<p>

<table border=1>
<tr><th>字符</th><th>代表种类</th></tr>
<tr><td>空格</td><td>无错误</td></tr>
<tr><td>E</td><td>错误 (Error)</td></tr>
<tr><td>N</td><td>无资料</td></tr>
<tr><td>W</td><td>警告 (Warning)</td></tr>
<tr><td>?</td><td>其它未定义</td></tr>
</table><p>

至于 aa、bbb、c 表示数字资料,并分别为二位、三位及一位数。更多有关细节参考 Informix 手册中有关 SQLSTATE 与 SQLCODE 的信息。<p>
<p><table border=0 cellspacing=0 cellpadding=0 width=100% height=1><tr><td height=1 bgcolor=c0c0c0><table border=0 cellspacing=0 cellpadding=0><tr><td></td></tr></table></td></tr>
<tr><td align=left><font color=ff8000>参考</font></td></tr></table><p><a href="function.php-ifx_errormsg.htm" alt="function.php?ifx_errormsg">ifx_errormsg()</a> &nbsp;<p><hr size=1><br>如果你对此手册有任何问题,请到下面网址提问:&nbsp;<a href="www.web745.com">WEB开发知识库</a>&nbsp;(<a href="http:/www.web745.comt"www.web745.comt</a>)<p>
</td></tr></table></div>
<p>
<div align=center>
<table border=0><tr><td>[  <a href="function.php-ifx_do.htm" alt="function.php?ifx_do">上一页</a> </td> <td> <a href="function.php-ifx_errormsg.htm" alt="function.php?ifx_errormsg">下一页</a>  ]</td></tr></table>
</div><p><br><br>
 </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -