Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001051

[PHP-DB] about create index in interbase From: Pan Gang (gangp <email protected>)
Date: 05/12/01

 I create a table in PHP and next to create the index for it . But the
create index statment can't work in PHP. It can work in ISQL . It's a bug in
PHP?
 The program like that:
    $sql = "CREATE TABLE $table_name (id integer ,name char(20))";
    $ibase_query($conn,$sql);

    $sql = "CREATE INDEX $table_index_name on $table_name (id)";
    $ibase_query($conn,$sql);

the first part can work , but the second can't.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>