This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:tutorials:simple_envrionment_flat [2010/05/21 15:26] tdo |
dev:tutorials:simple_envrionment_flat [2016/06/28 22:38] (current) |
||
---|---|---|---|
Line 84: | Line 84: | ||
Network aware Omnidex applications can either use an ODBC style datasource file or an internal connection string. | Network aware Omnidex applications can either use an ODBC style datasource file or an internal connection string. | ||
- | |||
==== Step 6 - Simulate a client server environment using OdxNet with ODBC or JDBC ==== | ==== Step 6 - Simulate a client server environment using OdxNet with ODBC or JDBC ==== | ||
Line 93: | Line 92: | ||
Go back to the original command window and do the following: | Go back to the original command window and do the following: | ||
- | os> odxsql tiny.dsn -odbc | + | os> odxsql tiny -odbc |
or run an ODXNET listener from within OdexSQL using the -odxnet command line option. | or run an ODXNET listener from within OdexSQL using the -odxnet command line option. | ||
os> odxsql -odxnet | os> odxsql -odxnet | ||
- | > connect tiny.dsn using odbc | + | odxsql> connect tiny using odbc |
| | ||
<code> | <code> | ||
- | > select * from table1 where mytext = 'bears' | + | odxsql> select * from table1 where mytext = 'bears' |
MYSEQ MYTEXT | MYSEQ MYTEXT | ||
Line 109: | Line 108: | ||
</code> | </code> | ||
- | ### Note that Omnidex will do a quick text (Keyword) retreival automatically ## | + | ### Note that Omnidex will do a quick text (Keyword) retreival automatically ### |
==== Step 7 - Insert a new row to see that it is indexed ==== | ==== Step 7 - Insert a new row to see that it is indexed ==== |