From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Question on bounded / unbounded strings
Date: Thu, 22 Sep 2016 19:18:10 +0200
Date: 2016-09-22T19:18:10+02:00 [thread overview]
Message-ID: <ns13oq$1rp9$1@gioia.aioe.org> (raw)
In-Reply-To: ns0p0a$fuq$1@dont-email.me
On 2016-09-22 16:14, G.B. wrote:
> On 22.09.16 14:05, Dmitry A. Kazakov wrote:
>> On 22/09/2016 12:58, G.B. wrote:
>>> On 22.09.16 11:53, Dmitry A. Kazakov wrote:
>>>> If you do DB you use DB data types.
>>>
>>> (...)
>>>
>>> So, user defined types may be beneficial in a typical
>>> Ada environment when using a capable DBMS.
>>
>> Sure they are, all DB interfacing types are user-defined Ada types.
>
> Do Ada programmers normally store objects of user defined
> types of their own in DBMS?
Sometimes, existing bindings do not encourage this.
> Objects that the DBMS considers atomic,
> to become one attribute value of some tuple (column value in some row).
> Say, of a private type that exports "=" to the DBMS. These would
> be types other than those binding-layer defined types like SQL_INT
> etc, which, I take it, you meant by "DB data types".
SQL_INT is not observable. The only language type here is SQL_C_INT. If
you have a higher-level abstraction you can have Age or House_Number.
Now bounded string, if any, would be equivalent to SQL_INT, a
non-existent entity.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2016-09-22 17:18 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-13 8:46 Question on bounded / unbounded strings Arie van Wingerden
2016-09-13 9:04 ` Dmitry A. Kazakov
2016-09-22 2:10 ` John Smith
2016-09-22 7:24 ` Dmitry A. Kazakov
2016-09-22 9:01 ` J-P. Rosen
2016-09-22 9:53 ` Dmitry A. Kazakov
2016-09-22 10:58 ` G.B.
2016-09-22 12:05 ` Dmitry A. Kazakov
2016-09-22 14:14 ` G.B.
2016-09-22 17:18 ` Dmitry A. Kazakov [this message]
2016-09-22 11:08 ` J-P. Rosen
2016-09-22 12:05 ` Dmitry A. Kazakov
2016-09-22 13:18 ` Maciej Sobczak
2016-09-22 13:52 ` Dmitry A. Kazakov
2016-09-22 14:51 ` Maciej Sobczak
2016-09-22 17:13 ` Dmitry A. Kazakov
2016-09-23 5:50 ` Maciej Sobczak
2016-09-23 6:36 ` Simon Wright
2016-09-23 7:48 ` Dmitry A. Kazakov
2016-09-28 20:55 ` Randy Brukardt
2016-09-23 23:58 ` John Smith
2016-09-24 7:52 ` Dmitry A. Kazakov
2016-09-24 16:25 ` John Smith
2016-09-24 17:44 ` Dmitry A. Kazakov
2016-09-24 18:33 ` John Smith
2016-09-24 18:37 ` John Smith
2016-09-24 18:59 ` John Smith
2016-09-25 8:50 ` Dmitry A. Kazakov
2016-09-25 23:35 ` brbarkstrom
2016-09-26 7:28 ` Dmitry A. Kazakov
2016-09-26 12:39 ` brbarkstrom
2016-09-28 21:09 ` Randy Brukardt
2016-09-30 7:59 ` Björn Lundin
2016-09-13 9:35 ` gautier_niouzes
2016-09-13 10:41 ` Alejandro R. Mosteo
2016-09-13 17:41 ` Jeffrey R. Carter
2016-09-13 17:59 ` Björn Lundin
2016-09-14 11:23 ` Arie van Wingerden
2016-09-14 12:26 ` Arie van Wingerden
2016-09-14 12:28 ` Arie van Wingerden
2016-09-14 12:57 ` Arie van Wingerden
2016-09-14 19:39 ` Jeffrey R. Carter
2016-09-17 16:35 ` Arie van Wingerden
2016-09-16 14:43 ` Olivier Henley
2016-09-17 16:35 ` Arie van Wingerden
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox