Which are the SQL improvements you are waiting for?

后端 未结 30 1312
感情败类
感情败类 2021-02-01 22:29

Dealing with SQL shows us some limitations and gives us an opportunity to imagine what could be.

Which improvements to SQL are you waiting for? Which would you put on t

30条回答
  •  不知归路
    2021-02-01 23:01

    More OOP features:

    • stored procedures and user functions

      CREATE PROCEDURE tablename.spname ( params ) AS ...

    called via

    EXECUTE spname
    FROM tablename
    WHERE conditions
    ORDER BY
    

    which implicitly passes a cursor or a current record to the SP. (similar to inserted and deleted pseudo-tables)

    • table definitions with inheritance

    table definition as derived from base table, inheriting common columns etc

    Btw, this is not necessarily real OOP, but only syntactic sugar on existing technology, but it would simplify development a lot.

提交回复
热议问题