mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 15:52:26 +01:00
Clarified instructions for running example.
Author:halw Date:2011-01-03T22:45:58.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@723 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -17,17 +17,10 @@ To compile the example:
|
|||||||
|
|
||||||
==Running==
|
==Running==
|
||||||
|
|
||||||
Before running this sample, one must do link a specific file to data.sql as follows:
|
In order to run this example, you must first create a file named <code>data.sql</code> from one of the files in the <code lang="text">select</code> example directory. You will see that the <code>data.sql</code> files in the example directory include the names of the available DBMS handles. This is because the SQL can differ from one DBMS to another. For example, you'll see <code>data.sql.oracle</code> and <code>data.sql.odbc</code>. If you are using the Oracle DBMS, you should rename or make a copy of <code>data.sql.oracle</code> as <code>data.sql</code> and move it to your execution directory before running the example.
|
||||||
|
|
||||||
With Oracle:
|
|
||||||
|
|
||||||
''ln data.sql.oracle data.sql''
|
{{note|The <code>data.sql</code> file must be available in the sample application current directory. If you run the sample from EiffelStudio, this directory should be the ''EIFGENs/target/W_CODE/'' directory of your project (where target is one of the installed DBMS). }}
|
||||||
|
|
||||||
With ODBC:
|
|
||||||
|
|
||||||
''ln data.sql.odbc data.sql''
|
|
||||||
|
|
||||||
{{caution|The ''data.sql'' file must be available in the sample application current directory. If you run the sample from EiffelStudio, this directory should be the ''EIFGENs/target/W_CODE/'' directory of your project (where target is one of the installed DBMS). }}
|
|
||||||
|
|
||||||
This sample lets you interact with your database through a console.
|
This sample lets you interact with your database through a console.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user