mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 06:42:03 +01:00
Compare commits
3 Commits
b076e4cfbb
...
7d7bfc9ab2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d7bfc9ab2 | ||
|
|
5d727982ab | ||
|
|
8679aeb889 |
@@ -1,3 +1,5 @@
|
||||
[[Property:modification_date|Thu, 04 Jan 2024 11:07:42 GMT]]
|
||||
[[Property:publication_date|Thu, 04 Jan 2024 11:07:42 GMT]]
|
||||
[[Property:title|Esql Sample]]
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|04d03117-fdb2-8b73-677f-9b1a0c333dc4]]
|
||||
@@ -36,7 +38,7 @@ Name: smith@HANDSON
|
||||
Password: mypass
|
||||
</code>
|
||||
|
||||
{{note|You must specify the Oracle User Name and Net Service Name with the syntax ''<user>@<service> ''where ''<user>'' stands for the User Name and ''<service>'' stands for the Net Service Name. }}
|
||||
{{note|You must specify the Oracle User Name and Net Service Name with the syntax `<user>@<service>` where `<user>` stands for the User Name and `<service>` stands for the Net Service Name. }}
|
||||
|
||||
|
||||
Then you can enter standard SQL queries to interact with your database, for instance:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
[[Property:modification_date|Thu, 04 Jan 2024 11:08:28 GMT]]
|
||||
[[Property:publication_date|Thu, 04 Jan 2024 11:08:28 GMT]]
|
||||
[[Property:title|Inserter Sample]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|fa0b8601-ca7a-b1cc-384d-f366be33ac40]]
|
||||
@@ -42,7 +44,7 @@ Name: smith@HANDSON
|
||||
Password: mypass
|
||||
</code>
|
||||
|
||||
{{note|You must specify the Oracle User Name and Net Service Name with the syntax ''<user>@<service> ''where ''<user>'' stands for the User Name and ''<service>'' stands for the Net Service Name. }}
|
||||
{{note|You must specify the Oracle User Name and Net Service Name with the syntax `<user>@<service>` where `<user>` stands for the User Name and `<service>` stands for the Net Service Name. }}
|
||||
|
||||
|
||||
Then you can insert a book in the database, for instance:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
[[Property:modification_date|Thu, 04 Jan 2024 11:06:50 GMT]]
|
||||
[[Property:publication_date|Thu, 04 Jan 2024 11:06:50 GMT]]
|
||||
[[Property:title|Selector Sample]]
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|3d608710-5537-04e4-fa89-a608ee6864cd]]
|
||||
@@ -42,7 +44,7 @@ Name: smith@HANDSON
|
||||
Password: mypass
|
||||
</code>
|
||||
|
||||
{{note|You must specify the Oracle User Name and Net Service Name with the syntax ''<user>@<service> ''where ''<user>'' stands for the User Name and ''<service>'' stands for the Net Service Name. }}
|
||||
{{note|You must specify the Oracle User Name and Net Service Name with the syntax `<user>@<service>` where `<user>` stands for the User Name and `<service>` stands for the Net Service Name. }}
|
||||
|
||||
|
||||
Then you can select rows from this table with author's name, for instance:
|
||||
@@ -68,9 +70,9 @@ First publication:07/01/1992 12:00:00.0 AM
|
||||
|
||||
|
||||
Author? ('exit' to terminate):
|
||||
</code>
|
||||
</code>
|
||||
|
||||
{{note|Enter ''exit'' to quit the application. }}
|
||||
{{note|Enter `exit` to quit the application. }}
|
||||
|
||||
==Under the Hood==
|
||||
|
||||
@@ -82,8 +84,3 @@ The whole sample code is contained in the root class:
|
||||
* SELECTOR for Oracle.
|
||||
* SELECTOR_ODBC for ODBC.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user