Subject | Re: [ib-support] help with deop command without IBConsole. |
---|---|
Author | Helen Borrie |
Post date | 2002-08-26T23:56:27Z |
At 11:31 PM 26-08-02 +0000, you wrote:
Have you tried
DROP TABLE atable;
You will have to remove any dependencies before you are allowed to drop it.
http://community.borland.com to subscribe to CodeCentral).
There is also Toni Martir's IBAccess at www.ibaccess.org
DROP DATABASE;
It takes no parameters - you need to be logged in to the database as
sysdba, owner or root for drop database to succeed. That means starting
isql's interactive shell:
/pathtobin/isql /pathtodatabase/dbname.gdb -user sysdba -password masterkey
should bring up the interactive mode prompt
SQL>
All commands in isql need a terminator (semicolon normally).
type quit; or exit; to go back to the shell.
Are you considering getting hold of the manuals? If so, you can download
the IB 6 beta manuals from the Downloads > InterBase page at www.ibphoenix.com
or purchase the IB Phoenix CD to get the Firebird manuals...
heLen
>I have sorted dropping tables with isql but there is a remaining problemI don't see how you could use file deleting tools to drop a table...
>with databases. I will be happy to use any firebird utility to be rid of an
>unwanted table (though I could always use the bludgeon of ordinary file
>deleting tools')
Have you tried
DROP TABLE atable;
You will have to remove any dependencies before you are allowed to drop it.
> > Use the isql utility.I believe there is a beta at Jeff Overcash's page on CodeCentral (go to
> >
> > Btw, I think there is a IBConsole version for Linux.
>
>I dont think there is IBConsole for linux. But I could be wrong so If you
>are able to, let me know where to find IBConsole for linux please.
http://community.borland.com to subscribe to CodeCentral).
There is also Toni Martir's IBAccess at www.ibaccess.org
>As regards isql I have not yet seen any commands for dropping databasesIt is
>but if you have please let me know how to invoke it.
DROP DATABASE;
It takes no parameters - you need to be logged in to the database as
sysdba, owner or root for drop database to succeed. That means starting
isql's interactive shell:
/pathtobin/isql /pathtodatabase/dbname.gdb -user sysdba -password masterkey
should bring up the interactive mode prompt
SQL>
All commands in isql need a terminator (semicolon normally).
type quit; or exit; to go back to the shell.
Are you considering getting hold of the manuals? If so, you can download
the IB 6 beta manuals from the Downloads > InterBase page at www.ibphoenix.com
or purchase the IB Phoenix CD to get the Firebird manuals...
heLen