Difference between revisions of "Activity:CreateOLEQueryScope (Activity)"
(Created page with "{{ActivityInfoBox | title = Create OLE Query Scope | name = CreateOLEQuery | image = 220px | imagecaption = CreateOLEQueryScope (Exp...") |
|||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | The CreateOLEQueryScope Activity provides access to a tables/views within an OLE compliant database by defining a SQL statement. It is typically nested within [[Activity:CreateOLESQLScope (Activity)|CreateOLESQLScope]] or [[Activity:CreateOLEOracleScope (Activity)|CreateOLEOracleScope]]. | ||
+ | |||
+ | =Description= | ||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Create OLE Query Scope | | title = Create OLE Query Scope | ||
Line 4: | Line 7: | ||
| image = [[File:UI_Activity_CreateOLESQLScope.png|220px]] | | image = [[File:UI_Activity_CreateOLESQLScope.png|220px]] | ||
| imagecaption = CreateOLEQueryScope (Expanded) | | imagecaption = CreateOLEQueryScope (Expanded) | ||
− | | purpose = Access | + | | purpose = Access database data via OLE |
| category = UBIK Data Exchange | | category = UBIK Data Exchange | ||
| returns = True if successful | | returns = True if successful | ||
Line 10: | Line 13: | ||
}} | }} | ||
− | + | ===Arguments=== | |
− | + | ||
− | ==Arguments== | + | |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
Line 29: | Line 30: | ||
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
This activity is used to access a table(s) or view(s) within a valid OLE DB Scope. The data access is defined by a dtabase SQL Statement. | This activity is used to access a table(s) or view(s) within a valid OLE DB Scope. The data access is defined by a dtabase SQL Statement. | ||
− | == | + | === Tablename === |
− | The CreateOLEQueryScope activity, as used in the larger example "Read MetaClass names from UBIK database": | + | If you are accessing a single table with the statement (example: SELECT * FROM TABELE1), then the table name is optional. |
+ | In the case of a more complex statement where you include more than one table (example: SELECT * FROM TABELE1, TABELE2 where TABELE1.PK = TABELE2.pk ....) then you have to define a unique tablename defining the access indicator for the OLE system. | ||
+ | |||
+ | =Example= | ||
+ | The CreateOLEQueryScope activity, as used in the larger example "Read MetaClass names from UBIK database".<br /> | ||
+ | [[File:UI_Activity_CreateOLEQueryScope.PNG|border|x700px|CreateOLEQueryScope]] | ||
− | + | <headertabs /> | |
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
− | * [[ | + | * [[Activity:CreateOLESQLScope (Activity)]] |
+ | * [[Activity:CreateOLEOracleScope (Activity)]] | ||
− | + | [[Category:OLE]] |
Latest revision as of 15:45, 23 February 2015
The CreateOLEQueryScope Activity provides access to a tables/views within an OLE compliant database by defining a SQL statement. It is typically nested within CreateOLESQLScope or CreateOLEOracleScope.