Compare commits

...

3 Commits

Author SHA1 Message Date
eiffel-org
7d7bfc9ab2 Updated wikipage Inserter Sample. (Signed-off-by:jocelyn).
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2457 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
2024-01-04 11:08:28 +00:00
eiffel-org
5d727982ab Updated wikipage Esql Sample. (Signed-off-by:jocelyn).
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2456 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
2024-01-04 11:07:42 +00:00
eiffel-org
8679aeb889 fixing syntax by escaping the <user> ...
Updated wikipage Selector Sample.
	(Signed-off-by:jocelyn).

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2455 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
2024-01-04 11:06:51 +00:00
3 changed files with 11 additions and 10 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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.