Login Register Actian.com  

Actian Community Wiki

Navigation
Learn About
Developing With
Ingres Talk
Information
Toolbox

PHP/Projects/insert id

From Ingres Community Wiki

Jump to: navigation, search

Introduction

There is no PHP function in the Ingres PHP driver to get the sequence value used in the last SQL statement. In MySQL the value of the last inserted value for an auto increment column is made available without using SQL. This function would require the the sequence name be passed as there is no way at present to know which sequence was incremented via an INSERT.

Project Profile

Admins Grant Croker
Sponsor Grant Croker
Developers
Development Status Discussion
Intended Audience Developers
License PHP License 3.0
Operating System(s) 32-bit MS Windows (NT/2000/XP/Vista), Solaris, Linux, HP-UX, IBM AIX
Programming Language(s) Primarily in C, with some PHP for writing tests
Topic(s) Ingres, PHP
Registered 15-Jan-2009
Personal tools
© 2011 Actian Corporation. All Rights Reserved