位置: 编程技术 - 正文

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

  • 应纳税所得额是什么意思
  • 小规模纳税人企业购进货物和接受应税劳务时
  • 经营性负债的作用
  • 漏缴的印花税如何补交
  • 两个账户往来款怎么做现金流量表
  • 发票与入库单明细不一致税务可以吗
  • 增值税转型前后对比
  • 前期差错会计处理知乎
  • 销毁会记凭证
  • 会计凭证保管的含义及要求
  • 收购公司固定资产注意事项
  • 跨年的管理费用怎么调到主营业务成本里
  • 材料盘亏税前扣除怎么算
  • 固定资产怎么盘点
  • 物业做账的时候怎么做
  • 意外死亡公司赔偿多少标准
  • 三证合一不需要税务登记情况说明
  • 固定资产处置如何入账
  • 小规模纳税人销售农产品税率是多少
  • 税号里的字母是什么
  • 教育咨询发票怎么开具
  • 增值税税额转出申报怎么填写
  • 投资利润率的计算结果不受建设期的长短
  • 人工工资应该计什么科目
  • 餐饮个体户税务登记需要什么资料
  • 税金当月计提当月缴纳
  • 房地产企业售房印花税
  • 开发票没有银行回单可以入帐吗?
  • 技术开发免征增值税怎么开票
  • 一般纳税人税负率是多少
  • macos连接wifi无法上网
  • php or
  • 当月不生产,生产成本怎么处理
  • 野生动物保护区有哪些
  • php include path
  • elf.exe是什么程序
  • 伫立枝头的旅鸫鸟,加拿大 (© marcophotos/Getty Images)
  • 房地产企业土地出让金抵减销项税额
  • cmsv6无法连接服务器
  • 如何开具电子发票广东
  • 个人应纳所得税计算公式
  • 收到个人所得税汇算清缴短信
  • 小微企业认定办法
  • 科技项目专项资金
  • 运费增值税发票抵扣
  • 长期投资损失
  • 增值税当月缴纳还是次月缴纳
  • 小规模开票的税点是多少
  • 事业单位会计的特点
  • 税控服务费全额抵扣怎么申报
  • 金融存款利率
  • 期末留抵税额可以冲减欠税吗
  • 员工在外餐费怎么做账
  • 设立明细账的目的
  • centosrpm安装
  • win7提示oxcooooo98
  • cf游戏初始化失败是因为什么
  • zmweb.exe是什么进程
  • ubuntu字体文件
  • windows7桌面小工具下载
  • hc off line什么意思
  • iptables 增加
  • linux如何绑定域名
  • 安卓注入工具
  • ubuntu搭建android开发环境
  • css滤镜特效属于css样式定义分类中的
  • bootstrap 网格
  • 语音单词怎么读
  • Nodejs+Socket.io实现通讯实例代码
  • [置顶]JM259194
  • node.js用途
  • 夜间模式图
  • android下载文件保存到本地
  • unity手柄圆盘
  • jQuery animate和CSS3相结合实现缓动追逐效果附源码下载
  • python UNIX_TIMESTAMP时间处理方法分析
  • 掌上税务app
  • 完税凭证验证码
  • 开票系统红色预警情况说明怎么写
  • 养猪场环保税
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设