Substitution run time variable format
Dear All:
Here is a simple sqlplus command line with & for substitution variable:
set verify off;
SQL> SELECT * FROM emp where sal >&SAL;
Enter value for sal:
Now as you see, oracle asks to Enter Value for substitution variable in line just below the SQL>. I wonder if there is one or more line could be left there so to improve the readability. So it should look like:
set verify off;
SQL> SELECT * FROM emp where sal >&SAL;
Enter value for sal:
Any help, advise, suggestion will be highly appreciated.
Thanks
user12018084 wrote:
Dear All:
Here is a simple sqlplus command line with & for substitution variable:
set verify off;
SQL> SELECT * FROM emp where sal >&SAL;
Enter value for sal:
Now as you see, oracle asks to Enter Value for substitution variable in line just below the SQL>. I wonder if there is one or more line could be left there so to improve the readability. So it should look like:
set verify off;
SQL> SELECT * FROM emp where sal >&SAL;
Enter value for sal:
Any help, advise, suggestion will be highly appreciated.
ThanksSQL*Plus was never intended to be a User Interface utility.
Accept reality & concentrate on more important issues than blank lines on terminal.
Similar Messages
-
Hi SEM Gurus,
In CPM -BSC, there are two types of CPM variables, one is Design CPM variable which is used to define the char value at the time of designing the BSC and other is runtime (Presentation)CPM variable which can be used to pass the value of char at the runtime or executing the BSC. The problem is that The second variable ( Run time ) is not working i.e. in value field of measure designing we have to assign this created runtime cpm variable to char but we cant see this cpm variable while assigning this to char.
Please help me to solve this problem.
Could anybody will confirm that this is possible in BSC? basically this is possible in management cockpit and it must work in BSC but unfortunatly it is creating a problem for us.
Thanks/ hariHi Hari,
I'm now starting a BSC implementation and I'm facing the same issue. I created a CPM run time variable and I can't assign it in the BSC.
Did you find a way to do this?
Thanks in advance.
Best Regards,
Sofia Silva -
SEM - Balance Scorecard: Run-time Variable for value
Good day,
I need to create a CPM Variable for a value that should be entered by the user at run-time. Could you please inform how this would be done?
Regards
Grant CarelseHi Ravi,
Created a basic query with a key figure (Actual Capital Spend) and the characteristic value (Number of Households, this should be manually entered when the KPI is accessed on the scorecard by the user viewing the KPI). What has occurred in the design process is that the CPM variable for number of households does not show up when linking the query to the value field in the Measure. Only the variable folders are showing up.
Even if the CPM Variable does show up, I was thinking that this characteristic value has to be linked to a second value field so that I can divide the Actual Capital spend by the number of households. Would I be able to do this?
Regards
Grant Carelse -
How will you assign Run time variables in Management Cockpit
Hello Gentlemen,
Can Someone tell me the how will you create runtime variables in the management cockpit. Does BW Variables any where related to this. I tried creating and use them it is not displaying anything in the cockpit presentation. It is literally blank without any bars in the graph
Thanks
DevHi Sindhu: Are you using the Informatica Cloud Mapping Designer? Currently the Mapping Designer does not support embedding parameters within expressions, it only supports parameterizing entire expressions.
Cheers,Josh -
Custom Connector Run Time Variable Error.
Hello community,
I developed a custom connector to provision users to a target resource. Now here is my problem, after we create the sandbox, create an application instance, activate and publish the sandbox, and attempt the provisioning (probably missed to type a step but you know the drill) I get the error below. NOW, this part is the part that says something about the exception. The funny thing is that I can execute ALL methods from the IDE successfully, which is the same code deployed to OIM JavaTasks... any thoughts?
Caused by: javax.xml.bind.JAXBException: {http://tempuri.org/}canManagerUsers is not a valid property on class OVHDoorServiceClient.CreateUser
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getElementPropertyAccessor(JAXBContextImpl.java:986)
at com.sun.xml.ws.client.sei.BodyBuilder$DocLit.<init>(BodyBuilder.java:199)
at com.sun.xml.ws.client.sei.SEIMethodHandler.<init>(SEIMethodHandler.java:81)
at com.sun.xml.ws.client.sei.SyncMethodHandler.<init>(SyncMethodHandler.java:91)
at com.sun.xml.ws.client.sei.SEIStub.<init>(SEIStub.java:92)
... 274 more
com.thortech.xl.dataobj.util.tcAdapterTaskException: class OVHDoorServiceClient.CreateUser do not have a property of the name {http://tempuri.org/}canManagerUsers
NOW FULL EXCEPTION MESSAGE:Also, the target resource in this case is a web service. I generated the code using JDeveloper. I took a look at the jar file that I deployed and package-info.class is there and the package was created using Apache Ant 1.7.1 I am specifying this because in earlier versions of ant a similar problem was reported. Again, I can successfully execute tests from my IDE.
-
Guy's
we are facing one issue ,we have created one z report
,and these z report is called after screen is proceesed,
these screen will populate structure ci_anlu,we need
value of these screen ci_anlu in these report,problem
is we cannot call these structure as it is ,we have
to define these structure,but if we define these structure
,value get Initialized,how to solve this issueExport the contents of the structure from the screen to a memory id using the EXPORT command and import the contents of the structure using the IMPORT command in the report.
For eg EXPORT ci_anlu TO MEMORY ID 'TEST'. @In the screen
IMPORT ci_anlu FROM MEMORY ID 'TEST'. @In the report
-Kiran -
URGENT: I want to pass a variable to a stored procedure at run time
Post Author: aruplabs
CA Forum: Data Connectivity and SQL
I work for a health care provider and I have reports that pull PHI (Protected Health Information) about patients that needs to be logged according to federal HIPAA regulations. One of the pieces of information that needs to be logged is the username of the person who ran the report. Since these reports will be run from our Crystal Enterprise server I can get this from the CurrentCEUserName variable but I am looking for a way to pass this value to a stored procedure that will not only return the records for the report, but also log the disclosure in our PHI disclosure tracking table. I know you can pass a parameter to a stored procedure but I dont know how, or if it is even possible, to pass a run time variable. This is an urgent problem that I need to find a solution for. Any help would be appreciated.
Thank you.Here it is. Right now, when i press te "Go" it runs for the specific time i've set and when its done the variable "Run" is set true. When i call this VI from another VI it waits for the loop to be finished before it will read the variable.
Regards
Viktor
Attachments:
Untitled 2.vi 26 KB -
Exporting DI batch to BAT and set DI parameter/variable at run time
Hi All,
We are looking to call DI batch job externally and pass parameter/variable at run time.
We tried exporting DI batch to a bat file and setting substitution parameters during export.
In the exported .bat file, it references a .txt file which shows the name of the substitution paramemters but the value of the parameters are encrypted.
Does anyone know how to pass parameter/variable to a DI batch job at run time externally?
Thanks,
BobbyI tried out this method and I have some additional issues.
1. if we use the BOE scheduler the text parameter file is using a specific naming convention that is not clearly documented. it is like : -GV"$VAR=ENCRYPTEDVALUE;"... trying to modify it with a clear value like -GV"$VAR=MYVALUE;" was simply ignored by the scheduler... seems also that BOE did not sent any scheduling request to the DI Job Launcher...
What is the proper convention please?
2.Is there a better way to enter this parameter than editing the TXT file. Most of the BOE InfoView users are not allowed to modify or store documents.. This is not very convenient if they cannot enter simply the parameter values in a let say more confortable way...
Thank you and cheers -
Property to set hex/binary/decimal format at run time?
Hi, I'd like to allow my user to choose between hex/binary/decimal formats in his number input. I'm happy to do the radio button stuff and the code to "hear" what he wants, but I can't find a property of my variable which selects the format at run-time - there is of course the "Format & Precision..." which I can get at by right mouse click BEFORE running, so I know it's likely to be available at run-time. Any suggestions welcome. Thanks, Richard.
It's not necessary to use property node because you can use the builtin
property of the indicator.
Click the rigth mouse button over the indicator and select show radix.
On the left side of the indicator appear radix that you can push to choose
between hex, binary, octal and decimal.
Bye
Golzio
"R" ha scritto nel messaggio
news:[email protected]..
> Hi, I'd like to allow my user to choose between hex/binary/decimal
> formats in his number input. I'm happy to do the radio button stuff
> and the code to "hear" what he wants, but I can't find a property of
> my variable which selects the format at run-time - there is of course
> the "Format & Precision..." which I can get at by right mouse click
> BEFORE run
ning, so I know it's likely to be available at run-time. Any
> suggestions welcome. Thanks, Richard. -
How to get value in data control at run time based on bind variable in VO
Hi,
we are capturing the value of customer id at run time. we are associating the captured value of customer id to bind variable of the view object.
View object is returning the data of that customer id, this view object is part of the application module ,this application module is exposed as data control,so than we have drag and drop this view object response on the
page from data control.
How ever after assigning the customer id to bind variable but still it is not showing on jsf page,even we refreshed the data control manually with the help of java code so kindly provide some solution for it.Hi,
If i got your post correctly,you can filter your VO using defining view criteria see following samples
Oracle ADF - Create View Criteria and Execute using Bean.
http://adf-lk.blogspot.com/2011/05/oracle-adf-create-view-criteria-and_4727.html -
Loading the final static variables at run time.. Please help
Hello, fellow developers & Gurus,
Please help me figure out the best way to do this:
I need to load all my constants at run time. These are the public static final instance variables. The variables values are in the DataBase. How do I go about loading them.Your original question was diffeent, but your further posts show what you really want to do:
1) all constants in 1 class
2) available readonly for other classes
3) updatable during runtime by changing in the database
Did I understand you right?
Then smiths' approach solves point 2):
Instead, make the variables available through a method
call - that way you avoid the whole final variable
versus read-only attributes problem.
//GLOBAL VARIABLES EXPOSED AS PUBLIC PROPERTIES
public final class GlobalProperties
public static int getTableSize();
public static int getRowSize();
Each "constant" should be a private static variable, and these methods simply return their values.
The variables are initialized in a static initializer by accessing the db. Ok.
You habe a table with one row containing as columns all the constants.
A method readConstants() does a "select constant1, constant2, ... from const_table" and sets all the variables.
The static initializer calls this method.
Right?
Ok, then you simply call readConstants() everytime you want to synchronize with the actual content of const_table.
Was it this? -
How to change value of instance variable and local variable at run time?
As we can change value at run time using debug mode of Eclipse. I want to do this by using a standalone prgram from where I can change the value of a variable at runtime.
Suppose I have a class, say employee like -
class employee {
public String name;
employee(String name){
this.name = name;
public int showSalary(){
int salary = 10000;
return salary;
public String showName()
return name;
i want to change the value of instance variable "name" and local variable "salary" from a stand alone program?
My standalone program will not use employee class; i mean not creating any instance or extending it. This is being used by any other calss in project.
Can someone tell me how to change these value?
Please help
Regards,
Sujeet SharmaThis is the tutorial You should interest in. According to 'name' field of the class, it's value can be change with reflection. I'm not sure if local variable ('salary') can be changed - rather not.
-
I have the following code to load in some images and
display/move them:
this.createClassObject(mx.controls.Loader, "myLoader", 1);
this.createClassObject(mx.controls.Loader, "myLoader2", 2);
this.createClassObject(mx.controls.Loader, "myLoader3", 3);
this.createClassObject(mx.controls.Loader, "myLoader4", 4);
this.createClassObject(mx.controls.Loader, "myLoader5", 5);
myLoader.scaleContent = false;
myLoader2.scaleContent = false;
myLoader3.scaleContent = false;
myLoader4.scaleContent = false;
myLoader5.scaleContent = false;
var images:Array = ["
http://www.mysite.com/images/image_01.jpg",
http://www.mysite.com/images/image_01.jpg",
http://www.mysite.com/images/image_01.jpg",
http://www.mysite.com/images/image_01.jpg",
http://www.mysite.com/images/image_01.jpg"
myLoader.contentPath = images[0];
myLoader._x = 0;
myLoader._y = 0;
myLoader2.contentPath = images[1];
myLoader2._x = 320;
myLoader2._y = 0;
myLoader3.contentPath = images[2];
myLoader3._x = 640;
myLoader3._y = 0;
myLoader4.contentPath = images[3];
myLoader4._x = 960;
myLoader4._y = 0;
myLoader5.contentPath = images[4];
myLoader5._x = 1280;
myLoader5._y = 0;
This works great, but what I'm wondering is, can I load in
the images array variable at run time from an external file so I
could edit that file on the server in order to change images,
without having to re-publish the flash file? Thanks for any help.
BobAdrian,
Have a look at: http://www.oracle.com/technology/products/database/htmldb/howtos/howto_create_upload_spreadsheet_form.html
It's not 100% what you're looking for (as it requires you to cut & paste from the spreadsheet), but it may do what you're after.
Thanks,
- Scott - -
Variable to hold the value at run time
Dear Friends,
I have a requirement in customer ageing report to select a particluar record from the cube based on the record selected by the query. Is there any option for holding a value of the dimension selected by the query in to a variable at run time. kindly let me know if am not clear.
Thanks
Premyou want to :
Exeute a query - this will select a particular record and this is to be used to select another reord from a cube. I assume that the seletion from the cube will also happen through a query - then try using a prequery - have a variable on the query on the cube which is filled using replacement path from the previous query..? -
LabVIEW 8.0 Run-Time engine & shared variables
Has LabVIEW 8.0 Run-Time Engine the shared variable's support, I wonder?
The thing is that .exe with globals/locals runs alright, but beeing replaced with shared variables it refuses to run.
What's wrong? May be need in library(s) absend?
Thanks.You can use the Shared Variable in the Run-Time Engine (you do not need DSC).
Can you be more specific about what happens when it refuses to run? Are you seeing an error message?
If you are using Network-Published shared variables, they need to be deployed before you run the application. You can either deploy them manually with the project, or your application can programmatically deploy them. You can find some more information about this in the LabVIEW Help under "Shared Variables and Stand-Alone Applications or Shared Libraries" (follow this link and scroll down to the bottom):
http://zone.ni.com/reference/en-XX/help/371361A-01/lvconcepts/project_variables/
-Chris
Maybe you are looking for
-
I had itunes working fine on my computer until it stopped playing music files one day. I uninstalled the program and quicktime and tried reinstalling afterwards. I was able to install quicktime but itunes wouldn't istall now. My computer in Windows 7
-
Hi I am trying to create a ResultSet "rs" object that I can reuse with a next and previous button. So I need to create it once and then be able access it so that the user can move through it. The following code is what I have so far. I am getting a v
-
How To Get Sound To Play Out From MBP Onto HDTV?
I hooked up my MBP to my HDTV last night using the DVI - HDMI cable and had no issues with picture. This is the model of HDTV I have: http://www.hitachidigitalmedia.com/product_techspec.do?pt=17&pg=69&proid=593 I then connected plugged in a phono L+R
-
Output rhapsody during screen saver mode
HP G62 Notebook PC, S/N: [Personal Information Removed], P/N: WQ760UA#ABA, Windows 7 I stream rhapsody from my notebook to my avr. When the screen goes blank in screen saver mode it stops outputing rhapsody. I am connected with a hdmi cable. If the c
-
ITunes Freezes when docking 40 G iPod.
I'm trying to set up my son's new 2G Nano. But when my 40G iPod is connected, iTunes freezes up completely. Any suggestions?