about create index in interbase
| From: | Pan Gang | Date: | Sun, 13 May 2001 03:48:59 +0000 |
| Subject: | about create index in interbase | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9274@lists.php.net to get a copy of this message | ||
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.