Skip to content

Commit cb97e5b

Browse files
committed
Clarify equivalent SQL and ETL initialization approaches
1 parent 04d65d6 commit cb97e5b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎howto/create-database.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ <h2>Initialize it with Scriptella</h2>
108108
--user YOUR_POSTGRES_USER \
109109
--password YOUR_POSTGRES_PASSWORD \
110110
init.sql</code></pre>
111-
<p>Or save this ETL file as <code>init.etl.xml</code> alongside <code>init.sql</code>:</p>
111+
<p>Or you can create a simple ETL process that runs the SQL file. Save this as <code>init.etl.xml</code> alongside <code>init.sql</code>:</p>
112112
<pre><code class="language-xml">&lt;!DOCTYPE etl SYSTEM "http://scriptella.org/dtd/etl.dtd"&gt;
113113
&lt;etl&gt;
114114
&lt;connection
@@ -123,7 +123,7 @@ <h2>Initialize it with Scriptella</h2>
123123
&lt;/etl&gt;</code></pre>
124124
<p>Run the ETL file:</p>
125125
<pre><code>scriptella.sh init.etl.xml</code></pre>
126-
<p>This creates the table and inserts the first row. See <a href="../reference/index.html#direct-sql">direct SQL execution</a> for command options, or the <a href="../tutorial.html">tutorial</a> for more ETL examples.</p>
126+
<p>Both approaches execute the same SQL file, creating the table and inserting the first row. See <a href="../reference/index.html#direct-sql">direct SQL execution</a> for command options, or the <a href="../tutorial.html">tutorial</a> for more ETL examples.</p>
127127
<p>The same approach works with <a href="https://mariadb.com/docs/connectors/mariadb-connector-j/">MariaDB</a> and other JDBC databases by installing the appropriate JDBC driver and changing the connection URL. For MariaDB, use <code>jdbc:mariadb://localhost/myapp</code>.</p>
128128
</section>
129129

0 commit comments

Comments
 (0)