Subject | Environment initialization |
---|---|
Author | hcarvajalsy |
Post date | 2002-11-19T16:16:29Z |
I need to initilize a database and tables in an external
server. How can you check if the database does not exists, and in
this case how could I connect to the server in order to execute the
creation script? In the case of tables, how do you check if the
table exists? In the example applications this is done by: if (
cnContact.Protocol = cpLocal ) and not FileExists(
cnContact.Database ), but in my case the Protocol would be cpTCP_IP?
Thank you for any help on this matter.
Regards,
H Carvajal
server. How can you check if the database does not exists, and in
this case how could I connect to the server in order to execute the
creation script? In the case of tables, how do you check if the
table exists? In the example applications this is done by: if (
cnContact.Protocol = cpLocal ) and not FileExists(
cnContact.Database ), but in my case the Protocol would be cpTCP_IP?
Thank you for any help on this matter.
Regards,
H Carvajal