位置: 编程技术 - 正文

PHP:pg_field_type_oid()的用法_PostgreSQL函数

编辑:rootadmin
pg_field_type_oid

推荐整理分享PHP:pg_field_type_oid()的用法_PostgreSQL函数,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 5 >= 5.1.0)

pg_field_type_oid — Returns the type ID (OID) for the corresponding field number

说明 int pg_field_type_oid ( resource $result , int $field_number )

pg_field_type_oid() returns an integer containing the OID of the base type of the given field_number in the given PostgreSQL result resource.

You can get more information about the field type by querying PostgreSQL&#;s pg_type system table using the OID obtained with this function. The PostgreSQL format_type() function will convert a type OID into an SQL standard type name.

Note:

If the field uses a PostgreSQL domain (rather than a basic type), it is the OID of the domain&#;s underlying type that is returned, rather than the OID of the domain itself.

参数 PHP:pg_field_type_oid()的用法_PostgreSQL函数

result

PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).

field_number

Field number, starting from 0.

返回值

The OID of the field&#;s base type. FALSE is returned on error.

范例

Example #1 Getting information about fields

<?php$dbconn=pg_connect("dbname=publisher")ordie("Couldnotconnect");//Assume'title'isavarchartype$res=pg_query($dbconn,"selecttitlefromauthorswhereauthor='Orwell'");echo"TitlefieldtypeOID:",pg_field_type_oid($res,0);?>

以上例程会输出:

参见

pg_field_type() - 返回相应字段的类型名称 pg_field_prtlen() - 返回打印出来的长度 pg_field_name() - 返回字段的名字

PHP:pg_field_size()的用法_PostgreSQL函数 pg_field_size(PHP4=4.2.0,PHP5)pg_field_size返回指定字段占用内部存储空间的大小说明intpg_field_size(resource$result,int$field_number)pg_field_size()返回PostgreSQLresult中指定字

PHP:pg_field_prtlen()的用法_PostgreSQL函数 pg_field_prtlen(PHP4=4.2.0,PHP5)pg_field_prtlen返回打印出来的长度说明intpg_field_prtlen(resource$result,int$row_number,string$field_name)pg_field_prtlen()返回PostgreSQLresult中得到的

PHP:pg_field_num()的用法_PostgreSQL函数 pg_field_num(PHP4=4.2.0,PHP5)pg_field_num返回字段的编号说明intpg_field_num(resource$result,string$field_name)pg_field_num()返回给定PostgreSQLresult资源中的field_name所代表的列(

标签: PHP:pg_field_type_oid()的用法_PostgreSQL函数

本文链接地址:https://www.jiuchutong.com/biancheng/281490.html 转载请保留说明!

上一篇:PHP:pg_field_table()的用法_PostgreSQL函数

下一篇:PHP:pg_field_size()的用法_PostgreSQL函数

  • 福利费进项税额转出会计分录账务处理
  • 业务招待费的税金可以抵扣吗
  • 办税员可以购票吗?
  • 企业增值税免税需要备案吗
  • 出纳购买东西能报销吗
  • 供暖企业收取的容量热价费怎么计入收入
  • 代开运输发票会不会造成重复征税
  • 赠品的会计核算内容
  • 租金收入摊销
  • 冲减留抵税会计分录
  • 建筑业收入确认条件
  • 图书出版行业做账流程
  • 企业关闭股东拿回投资款需要交税吗
  • 公司月底可以出账吗
  • 建设工程农民工工资支付条例
  • 金税盘开票怎么改成含税金额
  • 固定资产当月清账怎么算
  • 企业出售已使用过的固定资产税率
  • 视同销售收入和成本如何确认
  • 公司注销财务账需要保存几年
  • 物业管理体现在哪些地方
  • 研发费收入属于什么收入
  • 在银行买理财产品
  • 国家基建项目规划
  • kb5001028补丁
  • el-cascader动态加载多级
  • 商标转让过程中公司转让
  • 细说php
  • 先开票后收款的发票怎么备注
  • pdf.js原理
  • PHP:pg_lo_create()的用法_PostgreSQL函数
  • 长期股权投资引入新投资者账务处理
  • rtlcpl.exe
  • 稿酬所得计入什么科目
  • 佛法戒律论
  • 母公司收取子公司管理费的税率
  • 固定资产的减值准备,一经确认,不得转回
  • 安装nodemodules
  • 研发费用怎样进项抵扣
  • 其他应付款的辅助核算项目是什么
  • 失控增值税专用发票
  • 公司转让账务处理方法
  • 4、nerf(pytorch)
  • 机器学习——感知机
  • pinf命令
  • php execute函数
  • 购买方纳税人信息与第三方信息不符
  • java开发从入门到精通
  • 对公账户名称可以是个人名字吗
  • 浏览器打开域名怎么设置
  • mysql索引原理及慢查询优化
  • 差旅费包括哪些费用
  • 机票改签费可以报销吗
  • sql删除表中的某一行
  • 电子发票是否作废怎么查
  • 现金回收率怎么计算
  • 商品流通环节包括
  • 企业季度预缴所得税怎么算
  • 分公司和总公司在一个地方
  • 建筑材料租赁公司
  • 普票丢失可以用复印件入账吗
  • 月末结转各项费用支出479000
  • 在岗职工平均工资在哪里查询
  • 低值易耗品怎么处理
  • xp系统开机一直在滚动条
  • 如何创建ubuntu安装教程
  • window10快捷键不能用
  • win7网络连接不显示
  • windows定位
  • linux tar命令安装
  • 10分钟掌握心理学
  • 天干地支在择时中的应用初探
  • linux常用脚本代码
  • asp.net 4.8
  • python 内置函数什么用来返回序列中的最大元素
  • javascript函数的定义
  • javascript怎么学
  • python函数详解
  • 出口退税备案单证目录
  • 什么是税务证书密码
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设