Back to questionsWhat does
JuniorTheoryCommon
What does Запрос.Выполнить() return for this text?
// В справочнике Товары пять элементов
ВЫБРАТЬ
Товары.Ссылка КАК Товар
ПОМЕСТИТЬ ВТТовары
ИЗ
Справочник.Товары КАК Товары
;
ВЫБРАТЬ
КОЛИЧЕСТВО(ВТТовары.Товар) КАК Всего
ИЗ
ВТТовары КАК ВТТоварыOne row with the number 5: the result of the batch's second query
- Expecting
Выполнить()to return the results of every query in the batch: it returns the last one, andВыполнитьПакет()returns all - Expecting a temporary table to be unreadable in the same batch: the later queries of the batch see it
- How do you read the result of the first query of the batch?
- Why use a
МенеджерВременныхТаблицwhen a batch already sees its temporary tables?