Data | database
The need to remove data from different databases (eg:db1=oracle;db2=sybase) in one project development process as a report in a data window. Ideas are as follows:
1. Create two tabular-type DataWindow, Dw_oracle, Dw_sybase.
2. Create a composite DataWindow "Dw_cmpst". Place Dw_oracle and dw_syabse in this data window. Named "Dw_orcl" and "Dw_sbs" respectively.
CONNECT USING SQLCA; Using the default transaction object
Dw_cmpst. Getchild ("Dw_orcl", ldwc_report)//Get a reference to
The composite
Ldwc_report. Settransobject (SQLCA)
Ldwc_report. Retrieve ()
DISCONNECT USING SQLCA;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.