SQL: SHAPE
Релиб
Форумы       Участники    Календарь    Кто он-лайн?
Добро пожаловать, гость ( Вход | Регистрация )
        



SQL: SHAPE Expand / Collapse
Автор
Сообщение
07.01.2002 3:38
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

участник
Last Login: 21.05.2008 21:37
Сообщ.: 193, Visits: 2 044
Встретил тут такой запрос со словом SHAPE. Что за ключевое слово такое? Где взять инфу по нему?
Сообщ. #738486
07.01.2002 11:27
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

участник
Last Login: 18.10.2005 13:32
Сообщ.: 157, Visits: 1 728
BOL - Building SQL Server Applications - DTS Programming - DTS Programming Reference - Task Objects - ParallelDataPumpTask Object - Hierarchical Rowsets

"Hierarchical rowsets are often generated with the Microsoft® Data Shaping Service for OLE DB. This provider supports the Shape language, which allows rowset hierarchies to be constructed from rowsets obtained from an OLE DB data provider. The Shape Append command appends one or more child rowsets as columns to a parent rowset, and assigns a reference to a chapter to each row value in each appended column. For example:

SHAPE {SELECT au_id, au_lname, au_fname FROM authors}
APPEND ({SELECT au_id, title FROM titleauthor TA, titles TS
WHERE TA.title_id = TS.title_id}
AS title_chap RELATE au_id TO au_id)

This command creates a parent rowset from table authors and appends a child rowset in a column named title_chap. Each row value in title_chap is a reference to the subset of the child rowset that has the same value in its au_id column as in the au_id column of the parent rowset for that row. The tables referenced by this command are in the pubs database that is supplied with Microsoft SQL Server™ 2000.
"
Сообщ. #738491
08.01.2002 19:39
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

участник
Last Login: 01.03.2005 12:29
Сообщ.: 49, Visits: 540
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdmscshapecommandsingeneral.asp
Сообщ. #738635
« пред. тема | след. тема »


Эту тему читают Expand / Collapse
Посетители: 0 (0 гостей, 0 участников, 0 скрыт.участников)
Сейчас нет участников, просматривающих тему.
Модераторы: Alexey, boombastik, bazile, pl, Alexey Spirin

Время GMT +3:00, Сейчас 11:29