AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX: Программирование
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 24.02.2004, 13:54   #1  
france is offline
france
Участник
 
159 / 11 (1) +
Регистрация: 24.11.2003
Адрес: Москва
Re: Разыскивается Language Reference
Цитата:
Изначально опубликовано ushastik
Простейший вопрос не могу решить - как определить, пустой ли результат селекта.
_______
Евгений
Differences between X++ and SQL in handling aggregate functions

Whenever the where clause of a query does not match any rows, the SQL standard stipulates, that one row is to be returned, in which count-columns return the value ‘0’ (zero), and all other aggregated columns return SQL value null.
Since Axapta does not support the concept of null values, a slightly different approach is taken:
Whenever a row returned from the SQL database contains a null value from an aggregated column (e.g. SUM(f)), the row is skipped, and no rows are returned to the user.
However, if count, which does not return null values, is the only aggregate function used, one row is returned (as stated in the SQL standard) with ‘0’ (zero) value(s).
If null, on the other hand, is returned from an ordinary column, an error exception is thrown with the message
“Unsupported null value selected from the database.”.
Although Axapta does not support null values in the DBMS sense, the different data types each have a specific value that is treated like a null value in certain circumstances.

Цитата:
Изначально опубликовано ushastik
- как же жить тогда и не застрелиться ?
Евгений
Может, это поможет Вам жить?
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
AX UK: Customer Reference Program link on PartnerSource Blog bot DAX Blogs 0 23.12.2008 01:05
palleagermark: Saving the reference to a unique record as a string Blog bot DAX Blogs 0 20.10.2008 11:05
Language in user options Blog bot DAX Blogs 0 15.05.2008 02:27
AX UK: Dynamics AX Quick Reference Guide Blog bot DAX Blogs 0 27.07.2007 17:30
Dynamics AX: Offbeat DLR. Dynamic Language Runtime! Blog bot DAX Blogs 1 03.05.2007 10:46

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 04:13.