Oracle

Oracle Editor in PHP

OracleEditor.php is a standalone PHP script which allows you to browse your Oracle database tables and insert, update and delete rows in any table. It requires no installation and no configuration.

This is sort of a quick-hack tool when you have nothing else available. Even if the installatio is pretty simple, this could be a very serious security risk if not taken care of properly (like all powerful tools :-)... I even think of wireless security because these simple html-pages could even be accessed via a Palm or Smartphone like the P800. powerful and dangerous, but worth a look anyhow!

With Version 1.2 released yesterday you can switch from the classic SQL entry (where you choose the table from a popup) to a freely editable text field. This allows you to run any SQL statement, including INSERT, UPDATE and DELETE statements. (Note that row editor functionality is only available with "classic" SQL entry.)

Features:

  • Connects to any Oracle database (local databases, aliases from tnsnames.ora, or complete connection strings
  • Lists all tables and views in the database
  • Simply select a table or view to display (SELECT) its records
  • Modify the list of fields to select (optional)
  • Add a WHERE clause (optional)
  • Records are displayed in sets, allowing you to browse huge tables
  • Foreign key values are linked to the master record: Simply click on the value to display the master record
  • Fields which are used as foreign keys in other tables have links allowing you to browse all child records with one click
  • Last 25 SELECT statements are in the History popup
  • UPDATE, DELETE, and INSERT rows in any table
  • When updating or inserting, field values can either be strings or

    function names (allowing you to insert sequencer values, function

    calls, or NULL)

  • String values are sent to Oracle as bound variables, so that you don't have to escape single quotes
  • When inserting, nullable fields are pre-set to NULL so that you know which fields can be left blank
  • Optional free SQL statement entry
  • Debug mode logs all SQL statements in the PHP error_log
  • Oracle error messages are displayed so that you know what went wrong
  • Works with register_globals=off

Average rating
(0 votes)

Comments

Oracle Editor in PHP

Actually, I have a couple of questions to ask:
1-When is ORACLE 10i database coming out?
2-I've been struggling for the past 2 months on a project that I'm working on. I was wondering if someone could tell me about a better way to support PHP and regular expression in SQL.
Thanks!

Oracle Editor in PHP

Herve, maybe a little more details about your project and your struggles would help supporting folks understand your trouble.

a release data for 10_g_ is not yet available.

christoph

Oracle Editor in PHP

When I am giving a WHERE clause like:

name like '%BOB%'

The query is transforming to: /'%BOB%'/

How to avoid this.

Oracle Editor in PHP

When I am giving a WHERE clause ;

where location='002'

The query is transforming to: \'002\'

why this.

Similar entries

  • MySQL bulk insert delayed

  • MJ points me to another – JDBC-only (stripped but not too bad functionality) plugin for database editing within Eclipse – DbEdit might be worth a look. Features: direct table data manipulation using the Table Editor editing and executing of SQl…

  • DataVision is an Open Source reporting tool similar to Crystal Reports. Reports can be designed using a drag-and-drop GUI. They may be run, viewed, and printed from the application or exported as HTML, XML, PDF, LaTeX2e, DocBook, or tab- or…

  • Over the last 2 weeks I’ve had problems on three sites with the exact same problem.

    The watchdog table grew FASTER than the cron job (which should delete old log entries older than e.g. 3 days) would have deleted it.

    This again ended in a “device full” last night when one watchdog table became 5 gigs.

    (and I had a “table full” problem on another site last week – tough 64bit MYSQL should be able to do 4TB spaces, that one was 4GB only)

    Now, it’s obvious that disk full problems shouldn’t be a problem for a content management system like Drupal to take care about,

  • A little cleanup – after testing out MySql's ACID compliant storage engine InnoDb some months ago I had a 3 Gigabytes large IBDATA1 cluttering my server's 10k SCSI disks… compared to the 300GB desktop drives this is just 1%, but…