The program that runs the scripts is Sample.java in the Examples directory.
You will need to modify it a bit to use your script file and prp file.
There is a shareware program you can download called DBvisualizer. It has a
GUI interface for running scripts. By the way, I am just an InstantDB user.
----- Original Message -----
From: "Craig Wynn" <cwynn@ndak.net>
To: <instantdb@enhydra.org>
Sent: Friday, April 21, 2000 1:56 PM
Subject: InstantDB: How to scripts?
> The Examples directory has some script files. On viewing them I am given
> to understand they a scipt files for generating tables etc.
>
> It is not clear what is used to execute the scripts?
>
> I made a copy of sq1.txt and renamed it. Then I edited parts to create a
> 'customer" table. Some parts of this script I commented out with ; in
> the 1st position.
>
> I created a "cenex.prp"
> I executed: java commsql customer.txt
> This however did not create a customer table even though this script
> does has a create statment as used in the sql.txt that is in the
> Examples folder/directory.
>
> Am I stuck having to do everything from the commsql command line?
>
> thank you
> craig
>
> --------------------------------------------------------------------------
---
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|