By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,626 Members | 2,202 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,626 IT Pros & Developers. It's quick & easy.

Equivalent of Oracle's "TYPE" in PHP or PostgreSQL.

P: 13
Good day to all,

Does anyone here know how to convert the specified Oracle code below into PHP?
Oracle Code:
Expand|Select|Wrap|Line Numbers
  1. TYPE myTable IS TABLE OF varchar2(1) INDEX BY BINARY_INTEGER;
If the Oracle code i had indicated above does not have an equivalent code in PHP, does it atleast have an equivalent with PostgreSQL?

Hope to have some help from someone.

Thank you in Advance.
Nov 6 '07 #1
Share this Question
Share on Google+
2 Replies


ak1dnar
Expert 100+
P: 1,584
Oracle to PHP? Oracle is a Query language but Php, It's a Scripting language. Did you mean MySQL equivalent of Oracle's "TYPE"?
Nov 6 '07 #2

P: 13
ghe
Oracle to PHP? Oracle is a Query language but Php, It's a Scripting language. Did you mean MySQL equivalent of Oracle's "TYPE"?
Yup, may be that's what i mean. hehe, looks like my ignorance with PHP is really showing. hehehe. By the way, I already have solved the inquiry that i have posted. The Oracle code that i had specified in my last post is just a way of declaring an "Associative Array" in Oracle, where in PHP, its just the same as declaring a simple array.
Nov 7 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.