Перечитывая Data Cartriges Deveper's Guide

andrey_anonymous
Дата: 26.11.2009 01:20:07
наткнулся на совершенно замечательный кусок:
Notes for C and C++ Programmers

If you are a C or C++ programmer, several PL/SQL conventions and requirements may differ from your expectations. Note the following about PL/SQL:

  • = means equal (not assign).

  • := means assign (as in Algol).

  • VARRAYs begin at index 1 (not 0).

  • Comments begin with two hyphens (--), not with // or /*.

  • The IF statement requires the THEN keyword.

  • The IF statement must be concluded with the END IF keyword (which comes after the ELSE clause, if there is one).

  • There is no PRINTF statement. The comparable feature is the DBMS_OUTPUT.PUT_LINE statement. In this statement, literal and variable text is separated using the double vertical bar (||).

  • A function must have a return value, and a procedure cannot have a return value.

  • If you call a function, it must be on the right side of an assignment operator.

  • Many PL/SQL keywords cannot be used as variable names.


  • Читал. Много думал. Вспоминал всех тех людей из SQLServer, которые искали "краткое руководство".
    Потом рыдал
    -2-
    Дата: 26.11.2009 07:15:28
    andrey_anonymous,

    Теперь можно добавить к документации книжку "1 Minute PL/SQL Developer".
    serpv
    Дата: 26.11.2009 10:55:59
    Ввиду существования тем, типа Хочу из менеджеров перейти в программисты, обширный сборник книжек-картон с названиями "PL/SQL Developer. Notes for ..." мог бы быть весьма популярен.
    orawish
    Дата: 26.11.2009 11:03:26
    в топ сунуть, имхо, самый раз было бы