PB to update a partition replicated with substitution variables
Hi allI have the following problem with the partition replicated using substitution variables:
I would like to create a partition that is replicated using substitution variables: & CurrPeriod, & CurrWeek, & CurrYear. The purpose of this should be able to copy data from application SourceApp to TargetApp, by changing the variables of subst.
The script that I created is:
UserAdmin connection identified by password on EssbServer
create or replace replication partition SourceApp.SourceDb
area '& Cons_Year, & Cons_Scenario, & Cons_Version, "MP_TF_542" ' sourcearea1
at TargetApp.TargetDb
area '& Cons_Year, & Cons_Scenario, & Cons_Version, "PL_R450100" ' targetarea1
mapped to targetarea1 ("' MP_TF_542" ') to ("'PL_R450100" ');
Refresh SourceApp replicated partition. SourceDb to TargetApp. TargetDb to EssbServer all the data;
Everything is fine. I see new data in TargetApp. Then I try to change the variable substitution and see new data (the last value of Cons_Year was FY09):
ALTER system set variable FY10 Cons_Year;
Refresh SourceApp replicated partition. SourceDb to TargetApp. TargetDb to EssbServer all the data;
But when I change the value of the variable substitution - ordered that's happened, I don't see new data in TargetApp. Proxy changed the system, but did not score.
Essbase 11.1.1.2
Someone can help me.
ALTER system set variable FY10 Cons_Year;
Refresh SourceApp replicated partition. SourceDb to TargetApp. TargetDb to EssbServer all the data;
Between these two commands insert two other commands in your MaxL script.
modify the application of unloading system
modify the application of the system of load
Tags: Business Intelligence
Similar Questions
-
"Partition for ' with a variable binding
Does anyone know if a variable binding can be used with the syntax ' score for "? For example,.
where t is a range-partitioned table.select max(col1) into myvar from t partition for (mydate);
I couldn't find any documentation specifically about this and all the ways I have tried do not have :-(
Edit: version 11.2>
Is the 'for' typo?
>It seems to be a valid syntax of 11.2.
The SQL reference does that bind variables cannot be used in the partition for clause. Look for partition_extended_name and you will find a section "restrictions on scope names.
Kind regards
Bob -
Problems with substitution variables
Hello from Madrid:
I'm trying to run a statement of integration on oracle 10 g express edition with the tool web page and the user HR, but doesn' work. Surprisingly, it works perfectly with the sql command line.
Its this one:
INSERT INTO DEPARTMENTS (department_id, department_name)
VALUES (& department_id, ' & department_name);
The result is an error ORA-01008, "not all variables are related.
Could someone give me a suggestion on the reason for the error?
Thanks in advance.Hello
Try
INSERT INTO DEPARTMENTS (department_id, department_name) VALUES (:department_id, :department_name);
BR, Jari
-
How to use the command the reel with Bind Variables
For the next REEL, I want the GEN_DATE to be entered by the user at the time of execution of the SQL Script. Is this possible in the command of the COIL.
the colsep value,-separate the columns with a comma
set pagesize 1000 - get rid of disturbing - between pages
set position-the title of column Print
Set trimspool on - remove the spaces to the right. eliminating spaces until eol
set linesize 700 - line size should be the sum of the column width
coil spool_results.csv
SELECT *.
OF GUI_SITE_JOURNAL
WHERE GENDATE_ BETWEEN ' 2012-11-01 00:00:00:00000' AND ' 2012 - 11 - 02 00:00:00:00000'* ORDER BY GEN_DATE;
spool off;
The reason is to give the opportunity to the user so that he can enter any beach without changing the code of the script.
Can someone help me please.
Published by: user10903866 on February 18, 2013 19:44Hello
user10903866 wrote:
For the next REEL, I want the GEN_DATE to be entered by the user at the time of execution of the SQL Script. Is this possible in the command of the COIL.Do you want user input in the command of the COIL, or want you she in the query?
the colsep value,-separate the columns with a comma
set pagesize 1000 - get rid of disturbing - between pages
set position-the title of column Print
Set trimspool on - remove the spaces to the right. eliminating spaces until eol
set linesize 700 - line size should be the sum of the column width
coil spool_results.csv
SELECT *.
OF GUI_SITE_JOURNAL
WHERE GENDATE_ BETWEEN ' 2012-11-01 00:00:00:00000' AND ' 2012 - 11 - 02 00:00:00:00000'* ORDER BY GEN_DATE;What are the data type gen_date of the oif?
If it is a string, it is a big mistake. Information about the dates in the DATE columns belongs.
If it's a DATE, so don't try to compare strings, such as "2012-11-01 00:00:00:00000'."spool off;
The reason is to give the opportunity to the user so that he can enter any beach without changing the code of the script.
Can someone help me please.
One way to do that is with substitution variables:
... SET VERIFY OFF ACCEPT start_gen_date PROMPT "Starting date (e.g., 2013-02-18 23:00:00.00000): " ACCEPT end_gen_date PROMPT "Ending date (e.g., 2013-02-18 23:59:59.99999): " SPOOL spool_results.csv SELECT * FROM gui_site_journal WHERE gen_date BETWEEN '&start_gen_date' AND '&end_gen_date' ORDER BY gen_date; SPOOL OFF
There are security considerations. Variables substitution to the devious users the power to issue a SQL, such as DROP TABLE command. Users with SQL * Plus access already have this power, anyway.
-
Re: Enter Substitution Variable pop up
Windows 2008 - OS
Oracle 11.2.0.2 - database
Developer SQL 3.1.0.7
I get a very annoying pop ups on the seizure of a variable substitution with Oracle SQL Developer, how can I leave it?
I have the pop-up when I try to open any connection, it doesn't matter what database.You have a login.sql with substitution variables?
Tools | Preferences | Database | The name of the connection startup script file.
OR
If you have defined as an environment variable SQLPATH it may be picked up from there.
Published by: Jim Smith on March 2, 2012 16:03
-
Hi Experts,
Kindly advice how can I pass Essbase apps with partitioning replicated 9.3.1 a 11.1.2.1
Concerning
KumarYou are referring to LCM that is has nothing to do with Regional service.
See you soon
John
http://John-Goodwin.blogspot.com/ -
After the 10.11.4, update Mac mini wake with WOL
After the 10.11.4, update Mac mini wake with WOL.
I have a recovery Partition, but it does not start in Recovery (⌘R)
How to return to 10.11.3 (or fix the WOL)
Holding down option at startup gives me the optional recovery partition (I forgot about this!).
I can now return to 10.11.3
-
did not update recovery partition
Update my OS to 10.11.6
The update did not update the recovery partition, it is now incompatible (currently at 10.11.5). How can I update the recovery partition?
Ran 10.11.6 combined together, he did not update recovery partition.
(Sorry, it should be under El Capitan)
-
is the new compatible update 37.0.1 with the norton toolbar? If not when?
is the new compatible update 37.0.1 with the norton toolbar? If not when?
According to Norton, he works with 37, https://community.norton.com/en/blogs/product-update-announcements/firefox-37-support-norton-toolbar
-
After update my Pro iPad with iOS 9.3 iPad crashes on Safari. Example I googled something results appear, but I am not able to enter any page
It seems that it is a result of the update. Other users report it, and I also read that Apple is aware of the problem and working on a fix. Be patient and watch for an update. Some have reported that disabling Java script has worked for them. You need to check yourself.
-
Automatic update of the combo with VI saved to a folder box
Hello everyone
I am completely new to labview... Could someone help me how can I automatically update the combobox control with the files I have saved in a folder on my PC. Thanks in advance
Best regards
Bilel
Yes, I could be more helpful, sorry!
Well, it was like that until replaced LabVIEW code snippet it my property of combo box!
-
Multisim update fails to install with error.
The regular update fails to install with error: an error occurred in the installation of an update. If this error persists contact technical support OR. It comes to Multisim.
How can this be repaired?
Thank you
Multisim is different to the discussion forum... Please post there is http://forums.ni.com/t5/Circuit-Design-Suite-Multisim/bd-p/370
It will help you get a better answer...
Best regards
H S
-
Remove published to WSUS updates that were published with SCUP
Hello
How should be done on the removal of the published in our WSUS database updates that were released with System Center Updates Publisher? Updates, we have published are not displayed in the WSUS administration Console, but displayed the section software upgrades to our System Center Configuration Manager console.
Thank you
Mike
You're in the consumer for Microsoft Security Essentials forum, then you are completely off topic. Visit this forum:http://social.technet.microsoft.com/Forums/en/winserverwsus/threads
-steve
~ Microsoft MVP Windows Live ~ Windows Live OneCare | Live Mesh | MS Security Essentials Forums moderator ~.
-
When I try to update Windows 2000 by using Windows Update, web site crashes the message
'Check if your computer has the latest version of Windows Update software for use with this web site... The Web site uses ActiveX controls to determine which version of the software your computer is running. "If you see an ActiveX warning, make sure that the control is digitally signed by Microsoft before installing it or allowing him to run.
Y at - it a fix for this problem?
This problem may occur in Windows 2000, Windows 2000 SP1 and Windows 2000 SP2 on computers. These versions are no longer compatible with the Windows Update Web site. To resolve this problem, you need to install the latest Service Pack for Windows 2000 computers. Follow the link below to access the article and get with the latest Service Pack.
http://support.Microsoft.com/kb/260910
Bobby
-
Remember - this is a public forum so never post private information such as numbers of mail or telephone!
CODE 66 has when the update NET FRAMEWORK 4 with WINDOWS UPDATE can't update more far until the issue is resolved. Help, please... I almost tried everything. Ideas:
- You have problems with programs
- Error messages
- Recent changes to your computer
- What you have already tried to solve the problem
Take a look at this link and see if it helps-
http://social.answers.Microsoft.com/forums/en-us/vistawu/thread/3adefda0-69f3-4075-96ee-e2c61bd599cc>
Maybe you are looking for
-
Air IPad 2 Autolock display problem
The automatic lock on my iPAD 2 Air stopped working after update to the last version of the iOS 10.0.2. I checked the setting - it has 2 minutes and tried to restart the device - it did not help. I am sure that the update caused, like just after the
-
Hello y at - it someone out there, who has programmed a Vuvuzela filter using a map of classic sound? transfererror
-
Print a Test Page - e-all-in-one printer, HP Officejet 4620 range
Here is a video that will guide you through printing a test page for the printer Officejet 4620. If you like this video, and you would like to see more, be sure to subscribe to the HP's YouTube channel.
-
I changed my cartridges 4 times now and always after cleaning the heads, I always get 1 color print, can't take it anymore. I love my EPSON SX218 models and do not want to replace because I have a lot of spare cartridges.
-
Control of the expression / Slider control works with the percentage?
For example, I want to do something with keyframes, so opted to use "regulator toslide ," but is now defined by the "cursor", if I put the wiggleexpression (2.5) and place 2 on the regulator to behind the scenes, knowing that the value will be replac