<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: bchammer</title><link>https://news.ycombinator.com/user?id=bchammer</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 16 Jun 2026 07:44:38 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=bchammer" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by bchammer in "Composable SQL"]]></title><description><![CDATA[
<p>Oracle Database can do that with a feature called 'SQL Macros'<p><a href="https://docs.oracle.com/en/database/oracle/oracle-database/21/lnpls/sql_macro-clause.html" rel="nofollow">https://docs.oracle.com/en/database/oracle/oracle-database/2...</a><p>SQL> create table test_pallets (pallet_id number);<p>Table created.<p>SQL> insert into test_pallets values (1),(2),(3),(4);<p>4 rows created.<p>SQL> create table test_boxes (pallet_id number, mass decimal);<p>Table created.<p>SQL> insert into  test_boxes values (1,10),(1,20),(2, 5),(4, 5),(4, 50);<p>5 rows created.<p>SQL> create function pallet_payload_mass(
  2    p dbms_tf.table_t,
  3    b dbms_tf.table_t
  4  ) return clob SQL_Macro as
  5  begin
  6    return q'{
  7    select
  8        p.pallet_id,
  9        coalesce(sum(b.mass), 0) as payload_mass
 10    from
 11        p
 12    left outer join
 13        b on b.pallet_id = p.pallet_id
 14    group by
 15        p.pallet_id
 16    }';
 17  end;
 18  /<p>Function created.<p>SQL> select   payload_mass, pallet_id
  2  from     pallet_payload_mass(test_pallets, test_boxes)
  3  order by payload_mass;<p>PAYLOAD_MASS  PALLET_ID
------------ ----------
           0          3
           5          2
          30          1
          55          4</p>
]]></description><pubDate>Thu, 30 Jan 2025 04:35:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=42874897</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=42874897</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42874897</guid></item><item><title><![CDATA[New comment by bchammer in "New free developer version of the next-gen Oracle Database 23c!"]]></title><description><![CDATA[
<p>Oracle is now the leading JSON database, not only with a binary JSON datatype (allowing true piece-wise updates on disk and fast 'jump-navigation for super fast queries), but also JSON Schema support (for schema enforcement, type casting, to describe database objects and auto-generate relational views over JSON) and with JSON Duality it's possible to access (read/write) the same data as table as well as as (MongoDB compatible) collections.</p>
]]></description><pubDate>Wed, 05 Apr 2023 17:02:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=35457213</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=35457213</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35457213</guid></item><item><title><![CDATA[New comment by bchammer in "PRQL – A proposal for a better SQL"]]></title><description><![CDATA[
<p>This looks like a turing-complete language if you add function.
One benefit or current SQL is that it can (and is) often rewritten to be executed more efficiently. This requires a simpler and declarative model - far from a programming language.<p>If you want simple 'forward declaration' take a look at the SQL WITH clause.</p>
]]></description><pubDate>Mon, 24 Jan 2022 21:46:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=30064512</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=30064512</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30064512</guid></item><item><title><![CDATA[Oracle Database API for MongoDB]]></title><description><![CDATA[
<p>Article URL: <a href="https://blogs.oracle.com/database/post/mongodb-api">https://blogs.oracle.com/database/post/mongodb-api</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=29642080">https://news.ycombinator.com/item?id=29642080</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 21 Dec 2021 21:05:44 +0000</pubDate><link>https://blogs.oracle.com/database/post/mongodb-api</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=29642080</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29642080</guid></item><item><title><![CDATA[New comment by bchammer in "MangoDB: An open-source MongoDB alternative"]]></title><description><![CDATA[
<p>also possible with Oracle<p><a href="https://blogs.oracle.com/database/post/introducing-oracle-database-api-for-mongodb" rel="nofollow">https://blogs.oracle.com/database/post/introducing-oracle-da...</a></p>
]]></description><pubDate>Mon, 01 Nov 2021 21:42:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=29073538</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=29073538</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29073538</guid></item><item><title><![CDATA[New comment by bchammer in "Oracle Database API for MongoDB"]]></title><description><![CDATA[
<p><a href="https://twitter.com/bch_t/status/1446693597093384193" rel="nofollow">https://twitter.com/bch_t/status/1446693597093384193</a></p>
]]></description><pubDate>Sat, 09 Oct 2021 06:15:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=28807486</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=28807486</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28807486</guid></item><item><title><![CDATA[Oracle Database API for MongoDB]]></title><description><![CDATA[
<p>Article URL: <a href="https://asktom.oracle.com/pls/apex/asktom.search?oh=15144">https://asktom.oracle.com/pls/apex/asktom.search?oh=15144</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=28807094">https://news.ycombinator.com/item?id=28807094</a></p>
<p>Points: 1</p>
<p># Comments: 1</p>
]]></description><pubDate>Sat, 09 Oct 2021 04:37:18 +0000</pubDate><link>https://asktom.oracle.com/pls/apex/asktom.search?oh=15144</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=28807094</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28807094</guid></item><item><title><![CDATA[Retire your tables – it's all JSON now (is it?)]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.youtube.com/watch?v=CrzncrKzsWo">https://www.youtube.com/watch?v=CrzncrKzsWo</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=28542721">https://news.ycombinator.com/item?id=28542721</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 15 Sep 2021 18:42:34 +0000</pubDate><link>https://www.youtube.com/watch?v=CrzncrKzsWo</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=28542721</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28542721</guid></item><item><title><![CDATA[Data model comparison: JSON (embedding) versus relational (linking)]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.youtube.com/watch?v=AyLM930yU88">https://www.youtube.com/watch?v=AyLM930yU88</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=28223280">https://news.ycombinator.com/item?id=28223280</a></p>
<p>Points: 5</p>
<p># Comments: 1</p>
]]></description><pubDate>Wed, 18 Aug 2021 16:09:16 +0000</pubDate><link>https://www.youtube.com/watch?v=AyLM930yU88</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=28223280</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28223280</guid></item><item><title><![CDATA[JSON or Tables as application persistence model]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.youtube.com/watch?v=GdIm-bS1mtM">https://www.youtube.com/watch?v=GdIm-bS1mtM</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=26658690">https://news.ycombinator.com/item?id=26658690</a></p>
<p>Points: 3</p>
<p># Comments: 1</p>
]]></description><pubDate>Thu, 01 Apr 2021 10:33:42 +0000</pubDate><link>https://www.youtube.com/watch?v=GdIm-bS1mtM</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=26658690</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26658690</guid></item><item><title><![CDATA[Native JSON data type added to SQL and JDBC]]></title><description><![CDATA[
<p>Article URL: <a href="https://blogs.oracle.com/jsondb/json-datatype">https://blogs.oracle.com/jsondb/json-datatype</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=26409301">https://news.ycombinator.com/item?id=26409301</a></p>
<p>Points: 9</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 10 Mar 2021 09:01:47 +0000</pubDate><link>https://blogs.oracle.com/jsondb/json-datatype</link><dc:creator>bchammer</dc:creator><comments>https://news.ycombinator.com/item?id=26409301</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26409301</guid></item></channel></rss>