Login   Register  
PHP Classes
elePHPant
Icontem

File: sample-oraconv.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ben Yacoub Hatem  >  Database conversion  >  sample-oraconv.php  >  Download  
File: sample-oraconv.php
Role: Example script
Content type: text/plain
Description: sample usage to convert an oracle DB
Class: Database conversion
Convert database specific SQL to neutral SQL code
Author: By
Last change:
Date: 2005-01-16 22:56
Size: 331 bytes
 

Contents

Class file image Download
<?php

/**
 * 
 * @author Ben Yacoub Hatem <hatem@php.net>
 * @version $Id: 1.0 Sun Dec 05 6:02:47 CET 2004 6:02:47 by hatem EXP
 */

 
require_once "DBConv.php";
 
 
 
// osd_tabs.sql  contain SQL dump from oracle database.
 
$conv = new DBConv("oracle","oracle.sql");
$newsql $conv->convert();

echo 
$newsql;
 
?>