> Thank you. That did the trick, but it dropped all the connections I'd
made with quest, which had to be restored.
What is the trick to setting username/password in the select database
dialogue in Command center interactive rather than having to type them
in on a connect statement? Control Center does prompt for them. Is there
a better source of documentation/help than "help" which is installed
with the product?
Another question: Is there a simple way to create a table like or
similar to an existing table? The predefined columns are all good and
well if you are doing traditional applications, but (and I'm sure you've
never heard this before :-) my application is non-traditional. Of course
there are some traditional components, but they're secondary.
Not sure about your password problem. But I think that if you grant the
authority needed in DB2 to your current Windows userid, then you may be able
to avoid keying it in when you connect.
There is a CLI command to create a table like another table, but you cannot
change any of the columns definitions:
CREATE TABLE table_name_2 LIKE table_name_1
See the SQL Reference manual.
Many years ago in the DB2 GUI, you could do a create table "like" another
(without actually creating the table) and then modify the columns you want
different in the GUI, and then finish the table create. Unfortunately that
feature (and many other GUI features) were dropped (I believe starting in
release 5), because they were written with native calls to DB2, and the DB2
call interfaces changed, so they dropped the old GUI completely.
You might want to try the db2look command that will produce the DDL for an
existing table or other object, make the changes you want and recreate
another table using the modified DDL. Unfortunately, this is not using the
GUI, just a DB2 command. See the Command Reference manual for details.