Re: [firebird-support] Isql "copy" command - anyone know how it works?

2013-01-18 Thread Norman Dunbar
On 17/01/13 08:59, Norman Dunbar wrote: > I'm doing some more documentation work on the isql manual. The current > version mentions a copy command in isql which "copies a table structure > to another table, or database". Answering self! After a brief look at the isql source code. Given my limited

Re: [firebird-support] Isql "copy" command - anyone know how it works?

2013-01-17 Thread Norman Dunbar
On 17/01/13 10:18, Mark Rotteveel wrote: > Sounds like a major bug to me that it depends on 1) name of the executable > and 2) the executable being on the path. Could be. Sounds like one anyway. Even worse, when I sym-linked isql-fb to isql, and tried again: SQL> copy test my_test; Statement fa

Re: [firebird-support] Isql "copy" command - anyone know how it works?

2013-01-17 Thread Mark Rotteveel
On Thu, 17 Jan 2013 10:15:16 +, Norman Dunbar wrote: > AHA > > My gut feeling was right, it is shelling out. This is a nuisance then, > as it means that people on systems where the isql app has been renamed, > cannot use the copy command. H. Sounds like a major bug to me that it d

Re: [firebird-support] Isql "copy" command - anyone know how it works?

2013-01-17 Thread Norman Dunbar
Morning Mark, >> ** >> * unixODBC - isql* >> ** > > Are you sure you are using the right ISQL? It looks like you are using the > one from unixODBC instead of the Firebird one. Well

Re: [firebird-support] Isql "copy" command - anyone know how it works?

2013-01-17 Thread Mark Rotteveel
On Thu, 17 Jan 2013 08:59:06 +, Norman Dunbar wrote: > I'm doing some more documentation work on the isql manual. The current > version mentions a copy command in isql which "copies a table structure > to another table, or database". > ** > * unix

[firebird-support] Isql "copy" command - anyone know how it works?

2013-01-17 Thread Norman Dunbar
I'm doing some more documentation work on the isql manual. The current version mentions a copy command in isql which "copies a table structure to another table, or database". I tried the following, in the employee database, seeing as the "help copy" command simply barfs: SQL> copy ; Either sou