Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Прочее";
Текущий архив: 2008.06.08;
Скачать: [xml.tar.bz2];

Вниз

В MySQL 5 нет StoredProc?   Найти похожие ветки 

 
tesseract ©   (2008-04-25 12:11) [40]


> Кстате в Postgres хранимки можно писать используя синтаксис
> разных языков,


Там ещё поддержка иерархии.


 
Ega23 ©   (2008-04-25 12:22) [41]


> Там ещё поддержка иерархии.


Там ещё и такая штука есть:


7.4. Combining Queries
The results of two queries can be combined using the set operations union, intersection, and difference. The syntax is

query1 UNION [ALL] query2
query1 INTERSECT [ALL] query2
query1 EXCEPT [ALL] query2
query1 and query2 are queries that can use any of the features discussed up to this point. Set operations can also be nested and chained, for example

query1 UNION query2 UNION query3
which really says

(query1 UNION query2) UNION query3

UNION effectively appends the result of query2 to the result of query1 (although there is no guarantee that this is the order in which the rows are actually returned). Furthermore, it eliminates duplicate rows from its result, in the same way as DISTINCT, unless UNION ALL is used.

INTERSECT returns all rows that are both in the result of query1 and in the result of query2. Duplicate rows are eliminated unless INTERSECT ALL is used.

EXCEPT returns all rows that are in the result of query1 but not in the result of query2. (This is sometimes called the difference between two queries.) Again, duplicates are eliminated unless EXCEPT ALL is used.



 
Style ©   (2008-04-28 10:04) [42]


> Но зачем PHP - хоть убей, не пойму.


это всего лишь синтаксис



Страницы: 1 2 вся ветка

Форум: "Прочее";
Текущий архив: 2008.06.08;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.51 MB
Время: 0.042 c
15-1209503846
i
2008-04-30 01:17
2008.06.08
компилятор Delphi2007 быстрее Delphi7 или нет?


15-1209194604
USB
2008-04-26 11:23
2008.06.08
USB 1.1 или 2.0


3-1199432867
Ganda
2008-01-04 10:47
2008.06.08
сортировка символьного поля как целочисленное


6-1188900791
Vlad Oshin
2007-09-04 14:13
2008.06.08
Как работать в окне IE без кнопок? cgi


2-1208440152
grav
2008-04-17 17:49
2008.06.08
Ввод данных в две таблицы из одной формы





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский