Tag: Open Source

Community

Derived Table Aliases

(Michael McLaughlin) In my database class, students write solutions as group exercises against the Oracle 11g XE database and then they port the solution individually to the MySQL 5.5 database. One of the students copied over a query like the one below to MySQL (a query used to track the expected nu

Community

Overloading Procedures

(Michael McLaughlin) A student asked, “Can you successfully overload MySQL stored procedures, like PL/SQL does in stored packages?” I said, “MySQL doesn’t formally support overloading stored procedures, and doesn’t support packages like Oracle 11g. You can, however, mimic (or fake) overloading with

Community

Pesky quoted identifiers in SQL

(Julian Hyde) The SQL that Mondrian generates is, until now, different than the SQL that most people would write by hand. Most people don’t use spaces or punctuation in table and column names, and don’t enclose identifiers in quotation marks when writing SQL DDL, DML or queries. Mondrian, on the oth