位置: 编程技术 - 正文

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

  • 出口退税逾期申报说明怎样写
  • 小规模纳税人未达起征点增值税处理
  • 结转增值税会计摘要
  • 注册公司工贸和商贸区别
  • 小规模纳税人季报是哪几个月
  • 高管个人所得税政策
  • 年度财务报表和季度财务报表一样吗
  • 存货内部交易抵消通俗讲解
  • 取得划拨或赠与资产需要缴企业所得税吗?
  • 物料损耗会计分录
  • 法人的往来款可以转为实收资本吗?
  • 提前退休获得一次性补贴要交个人所得税吗?
  • 行车记录仪怎么开发票
  • 转回已确认固定资产减值损失的会计处理怎么做?
  • 企业的低值易耗品主要包括什么等
  • 铁路改道作业的流程
  • 股权投资收入会计处理
  • 生产领用产成品验证会计分录
  • 微信收入与支出是怎么算的
  • Windows11安装不了空件怎么处理
  • 企业缴纳社保包含哪些内容
  • 单位公积金对账单
  • 已计提但未上缴税款
  • 工程结算转主营业务收入
  • 公司多缴税款了怎么办?可以退吗?
  • hkc中文是什么意思
  • 生产企业出口退税的计算方法
  • 民办非企业单位是什么企业类型
  • 社保缴纳基数相差多少
  • PHP:iconv_strpos()的用法_iconv函数
  • 缴纳季度企业所得税比例
  • 税务自查补税后还有风险吗
  • vue onblur
  • 兰溪园林绿化养护
  • 企业购买银行理财
  • 工装进福利费还是劳保费
  • 电商每天利润表怎么做
  • Mysql半同步复制原理及问题排查
  • python创建ndarray
  • 材料采购成本计算表
  • 交易性金融资产入账价值怎么计算
  • 私募基金成立备案流程
  • 支出金额是什么
  • 小规模没有税控怎么开普票
  • 进项发票已入账 未开具出口发票
  • 个税申报怎样作废
  • 税法中对差旅费的处理
  • 商家的这些行为对消费者的购买行为有什么影响
  • 移动怎么开当月发票
  • 购买原材料没有发票能入库吗
  • 建筑企业收到材料发票没有备注工程地址可以用吗
  • 河道管理费和水利基金
  • 购买材料如何计提折旧
  • 办公室做隔断多少钱
  • 促销服务属于什么服务按什么征增值税
  • 什么是预收账款的正常余额
  • 技术服务费发票样本
  • 股权转让如何支付利润
  • 公司的三证合一是什么
  • Mysql 报Row size too large 65535 的原因及解决方法
  • MySQL数据库同时查询更新同一张表的方法
  • mysql复制数据
  • win8无法连接wifi
  • mac的command键相当于pc的什么键
  • win10使用技巧有什么用
  • mongo 安装
  • 微软商城会员
  • js基于对象的特点是什么
  • bootstrap treeview 扩展addNode方法动态添加子节点的方法
  • 表单javascript
  • gpu缩放在哪里打开
  • jQuery插件扩展extend的简单实现原理
  • javascript for in
  • 江苏增值税发票代码
  • 西安市国家税务局稽查局
  • 四川省地方税务局关于城镇土地使用税困难减免
  • 竣工交付的资产有哪几种
  • 郑州金水区税务大厅电话
  • 法治税务建设工作思路
  • 我国公益性企业有哪些
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设