位置: 编程技术 - 正文

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函数

  • 企业转出多交增值税吗
  • 支付租金对方公司提供发票如何入账
  • 农民专业合作社属于什么企业类型
  • 怎么理解财务会计与管理会计
  • 严格财务报销程序
  • 销售费用包括啥
  • 退回投资款怎么做账
  • 开发票商品类别与商品明细的区别
  • 营业成本利润率降低说明什么
  • 房地产开发企业土地增值税清算
  • 未达账项有几种情况
  • 税控盘会计处理
  • 写字楼注册公司对面积有要求吗
  • 是否退还投标文件
  • 从银行取现回单怎么取
  • 车辆购置税退税申请表
  • 小规模纳税人收入超过500万怎么办
  • 没有签订劳动合同员工离职怎么处理
  • 怎么核对银行存款余额和对账单余额
  • 事业单位去年的岗位今年还会招吗
  • 1697510217
  • 电费预付之后又退回来了
  • Windows10如何切换中英文输入法
  • win10 20h2更新后闪屏
  • 鸿蒙系统开发者选项怎么关闭
  • 进项票月初收到能抵上月
  • mac屏幕共享要打开什么权限
  • 非限定性净资产年末怎么处理
  • 支付宝花呗服务费收费标准
  • 支付给代理机构的手续费
  • 资产评估没有发票可以吗
  • PHP:zip_entry_name()的用法_Zip函数
  • elements vue
  • php是面向对象编程吗
  • phpif嵌套
  • 什么叫点云数据
  • php 电子签名
  • 已勾选未确认怎么取消
  • 帝国cms登录
  • 工业企业会计核算中常见的会计核算程序有哪些?
  • 初识PostgreSQL存储过程
  • 其他综合收益影响留存收益吗
  • mysql 随机抽样
  • mysql数据查询慢
  • 企业汇总纳税的原则
  • 零申报企业年报资产状况信息怎么填
  • 事业单位大型修缮与办公用房维修费区别
  • 酒店没有营业执照开业犯法吗
  • 员工奖励的现金有哪些
  • 材料折扣会计分录
  • 利息支出的纳税调整计算公式
  • 往来账目
  • 企业相关成本费用有哪些
  • 自己公司刷自己的信用卡
  • 费用类科目的明细怎么写
  • 持有待售资产的条件
  • 佣金开什么发票内容?
  • 房地产开发企业土地增值税怎么计算
  • 材料报废 开什么发票
  • 财务月末暂估成本是什么
  • 怎么开劳务派遣工作证明
  • 如何设置固定资产二级联动下拉菜单
  • 年初建账考虑要点业务流程是否变化
  • windows 注册表命令
  • winxp和win7之间的系统
  • win8更新一直停着不动
  • windows102021年更新
  • windows英文版本
  • xp创建VPN连接图文教程
  • linux查看sh
  • vmware下载不了
  • windows8宽带连接设置
  • Win10系统怎么使用经典事件查看器?
  • 在linux系统中,用来存放各种配置文件的目录
  • 拖曳对象时用的命令
  • html超链接打开本地文件
  • nodejs模块有哪些
  • shell生成excel文件
  • JavaScript中的数据类型
  • 房地产旧改项目前途怎么样
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设