Re: ORACLE Describe Table
- From: Mladen Gogala <mgogala.SPAM_ME.NOT@xxxxxxxxxxx>
- Date: Sat, 30 Jun 2007 01:24:18 GMT
On Thu, 28 Jun 2007 23:02:02 -0700, cbtguy_2000 wrote:
Is it possible to execute the DESC tablename command using PHP to a
Oracle DB or is that a *SQLPlus command?
What SQL*Plus does is to describe a cursor. Describing USER_TAB_COLUMNS
is equivalent to describing a cursor "select * from USER_TAB_COLUMNS".
OCI8 has plenty of functions to do just that:
oci_num_fields
oci_field_name
oci_field_is_null
oci_field_precision
oci_field_scale
oci_field_size
oci_field_type
--
http://www.mladen-gogala.com
.
- Follow-Ups:
- Re: ORACLE Describe Table
- From: cbtguy_2000
- Re: ORACLE Describe Table
- References:
- ORACLE Describe Table
- From: cbtguy_2000
- ORACLE Describe Table
- Prev by Date: Re: Did a phpinfo. What does this "Configure Command" output mean?
- Next by Date: Re: To allow access only from the designated site.
- Previous by thread: Re: ORACLE Describe Table
- Next by thread: Re: ORACLE Describe Table
- Index(es):
Relevant Pages
|