Module for knowledge loop can be used in the procedure of the ODI
Hello
I have a unique requirement where I need to use the procedure for ForLoop ODI.
Y at - it an option that we can use to create several instructions based on loop For and execute these instructions in particular technologies.
Below is the code I have tried to create for the MS SQL Server technology in ODI procedure. It gives the select statement several times to condition. But somehow the value of i is not passed to select statement
< % for (int i = 10001; i < = 10005; i ++)
{% >}
Select * from [DB_SERVER]. [dbo]. [DB_TABLE] where col_1 = i
Union
< %}; % >
Select * from [DB_SERVER]. [dbo]. [DB_TABLE] where col_1 = 000000
It generates code below:
Select * from [DB_SERVER]. [dbo]. [DB_TABLE] where col_1 = i
Union
Select * from [DB_SERVER]. [dbo]. [DB_TABLE] where col_1 = i
Union
Select * from [DB_SERVER]. [dbo]. [DB_TABLE] where col_1 = i
Union
Select * from [DB_SERVER]. [dbo]. [DB_TABLE] where col_1 = i
Union
Select * from [DB_SERVER]. [dbo]. [DB_TABLE] where col_1 = i
Union
Select * from [DB_SERVER]. [dbo]. [DB_TABLE] where col_1 = 000000
Can you please help me to know how the value of i will impact inside.
Try this...
< %="" pour="" (int="" i="10001 ;" j’ai="">< =="" 10005 ;="" i="">
{% >
Select * from [DB_SERVER]. [dbo]. [DB_TABLE] where col_1 = <%=i%>
Union
<% }; %>
Select * from [DB_SERVER]. [dbo]. [DB_TABLE] where col_1 = 000000
Tags: Business Intelligence
Similar Questions
-
I got an iphone 4 to a friend in the Canada. I want to use it here in the Philippines as a regular iPad reserved for wifi, how can I use it without sim card? It does not pass the activation page. Help please?
You can activate it without a SIM card. If it is locked, it takes a SIM card by the carrier, for it is locked. The SIM card should not be linked to an active line of service, but it must be present to activate it.
-
I bought a disc of Lightroom6 for Mac. Can I use the license even om my two ibooks and iMacs at the same time? Given that the macbook air doesn't have a hard drive, is it possible to copy on a USB drive?
You have two activations and no more. If you need to register a third party, you will need to purchase another package. Yes, the installers can be copied to any media that you consider appropriate.
Mylenium
-
Hello, I have a Lightroom 6 for Windows license, can I use it on a Mac, or what I have to buy a new license. Thank you
Hi stefanob
Greetings!
There is no need to buy another license. You can use a Lightroom 6 license on two computers at the same time.
According to the files, you have a Multiple of the platform license. If you could install it on Mac as well.
In case you download link for Lightroom 6. Use Download Photoshop Lightroom
Concerning
~Assani
-
Hi I got a new Apple Watch as a gift at Christmas - sport band, white, 42 mm. 7000 series. Since this is my first Apple Watch, I wonder if I should check all options at the store before opening the box. Is it possible to buy separately strips that can be used with the watch? Thank you, in advance, for any advice, guidance, you can offer the wisdom.
Hi, Kate
Yes - any band Apple Watch 42 mm fits your Apple Watch.
Non-Sport bands have different lengths, then check the circumference of your wrist and see Apple Watch Sizing Guide (that compares all the Apple strips) before you buy separate bands:
http://www.Apple.com/shop/watch/Sizing-Guide
Try them in an Apple Store, it's also a great option.
The Sport of Apple Watch also has an anodized aluminum housing, while the non-sport bands have different metals of cards and/or links (this does not affect the compatibility, only appearance).
Information on how to pass the tapes: change your Apple Watch band - Apple Support
-
Messaging Instant Lync can be used with the Hosted Exchange mail server?
Messaging Instant Lync can be used with the Hosted Exchange mail server? Let me rephrase the question. As everyone knows already Lync messenger is used with Office 365, but can be used with the same way hosted exchange server, it is used with Office 365?
You will find support for MS Lync in these forums-online http://social.technet.microsoft.com/Forums/en-us/category/ocs
-
I have an xbox live account that I can't use because the e-mail she was bound to it is no longer available because the ISP has disappeared. I need to get a password reset and change the email to a valid email address. I can pass validation issues you have so that you know its me. Help, please.
Hello
What version of the operating system Windows am I running?
I suggest you to contact the support of the box for assistance on this issue.
Welcome to the Xbox support
http://support.Xbox.com/en-us/
See also:
Xbox LIVE connection issues
http://support.Xbox.com/en-us/billing-and-subscriptions/Windows-Live-ID/Xbox-Live-sign-in
Control access to your Xbox LIVE account
http://support.Xbox.com/en-us/billing-and-subscriptions/account-management/Xbox-Live-pass-codes
Error: E-mail address or the password is not valid (80151103, 000-8015, 8015d02e)
-
HOW MANY DEVICE CAN BE USED AT THE SAME TIME?
Hi all
I would choose the plan of the student to study in September, I would like to understand how much peripheral can be used at the same time? Because I have an IMac at home and also MacBook Pro retina for use at school? Can I download and use it on this two computer at the same time?
waiting for response and thanks a lot!
Cloud license allows 2 activations to time http://www.adobe.com/legal/licenses-terms.html
-Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0
-https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html
-Windows or Mac has no importance... 2 on the same operating system or 1 on each
-Two activations on one account CAN NOT be used at the same time (to be noted in the link above of the license)
-An individual account is for one person and may not be shared with anyone else
-
Can I use * and the list of the column names in a select query
PLSQL again. Can I use * and the list of the column names in a select query, i.e. Select *, col1, col2 from Mytable. When I do that my questions tend to the bomb. Can do in other databases.
Thank you
Mike
Hi, Mike,.
If there is something else in the more SELECT clause *, then * must be qualified with a table name or alias.
For example:
SELECT Mytable. *, col1, col2
FROM MyTable;
-
can I use once the mac version and version of window?
can I use once the mac version and version of window?
If I buy a CS6 mac and then use window too, it is ok?
A cloud subscription allows to activate on two computers, both on a genre or one each on Windows and Mac
CS6 is specific version... you buy for Windows or Mac Creative Suite 6
-
MouseCursorData can be used with the SDK 3.6?
Hello!
playerglobal.swc in the title of 'libs/Player/10' has been substituted for the one under "libs/player/10.2".
-target-player has been defined in 10.2.0.
When you use MouseCursorData, there is no error in compilation.
However, when running or debugging the application Exception occurs.
VerifyError: Error #1014: class not found flash. ui::MouseCursorData.
playerglobal.swc for flash player 11 can be used with the SDK 3.6.
the value target-Player 11.0.0.
-
Touch digital can be used on the iPhone 6?
Touch digital can be used on the iPhone 6?
Hello
Touch digital can only be sent and received on Apple Watch (any model).
Apple Watch requires iPhone 5 or later.
More information:
-
A Mac mini, purchased in the UNITED Arab Emirates can be used in the USA with only change the power cord?
Yes.
http://www.Apple.com/Mac-mini/specs/
the voltage may vary from 100-240 V AC.
-
HP Pavilion a6628hk can be used in the Canada?
Hi, I bought a desktop computer in Hong KONG which is HP Pavilion a6628hk, Prod # FK938AAUUB, S/N {removed privacy}. My question is: this computer can be used in the Canada? I just moved to Toronto with this computer with me, but when I turned on it, it didn't work at all. Pls let me know. Thank you!
Hello:
Maybe if your diet has switchable voltage settings, you will need to change to 120 volts.
A switch is normally a little red on the back on the power supply near the plug, you can return with a small screwdriver.
Paul
-
Hello. Hard drive of my computer totally crashed & I had to wipe my hard drive. I wasn't able to log out of my apps for the creation of clouds which my wife has 2 licenses for us. Can someone please explain the process to re download these apps please? Thank you..
Hello
Please refer to the help documents below to download the application Adobe CC:
Download, install, update or uninstall applications
Kind regards
Sheena
Maybe you are looking for
-
How can I resize the window of my table using the node of furniture? Thank you
Hello I want to first the size of the window of my table using its property node but I can't put it to "write". If anyone knows if this is possible? Thank you User
-
Windows XP asking me to activate when I connect
Cannot connect to Windows on a virtual machine The motherboard on my Windows XP machine is dead. The hard drive is fine. I bought a MAC to run Parallels so that I could continue to use some windows applications only. When I try to connect to the
-
Detect the end of audio track.
I can't find anything that let me known when the audio track that I started using mmr_play() is complete. I tried asking events using the following. audiodevice_request_events( 0 ); audiomixer_request_events( 0 ); I get an event of each when the app
-
Amplifier Alienware Graphics issue
Hi all I will receive my newly ordered Alienware 17 R3 and the amplifier. In fact, now I haven't decided to buy what kind of desktop GPU in my amp, but the amplifier has the usb connectors, which can be my home station to connect the external mouse,
-
Disorder of Smartphones blackBerry installation app world
I have the storm 9530 v 4.7.0.148 nd try to install app world. I did the installation to 1.1.0.20 and after restarting, I click on app world and I said what I did many times reinstall and is still doing the same thing. I can't go to the world of the