How to create or modify the spredsheet waveform
I need to produce an analog output.
Can you describe your problem with a little more detail? I don't understand what you're asking.
Tags: NI Software
Similar Questions
-
How to create events on the cursors-waveform?
Hello
I have a form of wave-graph with the sliders-field. In the field of sliders, I can add new sliders or activate one of the existing sliders by clicking on its name.
In the VI manages an event structure in a loop.
Now, I have two questions about this:
1. is there an event that I can grab when "a new cursor is added? (Inside the event, he must then the cursor automatically be centered.)
2. is there an event that I can grab when ' a cursor is activated / assets has changed? (inside if the event I want to then move cursor symbol to "cross" to move the cursor, if it was before the zoom symbol.)
Thanks for the help
Hi OnlyOne,
attached is the vi saved in LV8.5
Currently I m looking for a "Bring-to-Center" - property I can run inside the event.
This exists?
This property is not available I guess... but you can get by setting the property "cursor position" If you know the length graphic visible (x, value y)
-
Folder hierarchy: how to create and modify a folder hierarchy?
How to create and modify a folder hierarchy?
Here's how to change the default template for a folder:http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html. Default behavior is to select the model based on the first type of file placed in the folder (you must choose something). Vista sets thefolder type template according to what are the types of files in the window and the settings display window Explorer. This will show you how to resetthe Windows Explorer folder view settings, disable Automatic folder Type discovery and increase theview of the folder cache to have Vista don't forget display settings, model of file type, size, or position of a specific window for when it was still closed to the location of specific path.
It does not work with the Sub record under, Open with,open in a new tab (Internet Explorer), etc... dialog windows of type through the goodFile menu bar item. These don't seem to be able to have their size or their position to recall. For the latter, you can use the free programhttp://autosizer.en.softonic.com/to resize them.
Here is another article on how to modify the columns in Windows Explorer and sort in Vista:http://www.vistax64.com/tutorials/108665-column-customize.html. This will show you how Add, Remove, move, change the widthand change the sort order of the columns in Windows Explorer in the way that you want.
Here is another article on how to change the display of the default folders in Vista (but she argues, it is not a perfect solution and can revert to the previous behavior is not as good as the two prior links provided:http://news.cnet.com/8301-13880_3-10019957-68.html.)
I hope this helps in your situation.
Good luck!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
How to create seekbar for the generation of animation in flash, html5 canvas
Hello
I've created an animation in html5 canvas option in flash CC. I want to control the animation by using the seek bar (progress bar). Can someone guide me how to create the same.
Thanks in advance.
var totalFrame; var unitFrame; var unitSlide; var playMode; var sliderInitX = 0; var currMovie = this.parent; var _this = this; var BarMc = this["barMc"]; function setSlider() { totalFrame = currMovie.timeline.duration; unitFrame = (totalFrame / (BarMc.nominalBounds.width)); unitSlide = (BarMc.nominalBounds.width) / totalFrame; _this.sliderBtn.x = sliderInitX; playMode = true; setInterval(function(){onEnter();}, 33); BarMc.addEventListener("click", onClick); } function onClick(evt) { var stageXpos = stage.mouseX-(58); _this.sliderBtn.x = stageXpos; var movFrame = Math.round((_this.sliderBtn.x - (BarMc.x-(BarMc.nominalBounds.width/2))) * unitFrame); if ((movFrame< currMovie.timeline.duration) && playMode && (currMovie.timeline.position != currMovie.timeline.duration)) { currMovie.gotoAndPlay(movFrame); } else if (movFrame > currMovie.timeline.duration) { currMovie.gotoAndStop(currMovie.timeline.duration); playMode = false; } else { currMovie.gotoAndStop(movFrame); playMode = false; } } setSlider(); function onEnter(){ if (playMode) { _this.sliderBtn.x = BarMc.x + (unitSlide * currMovie.timeline.position) - (BarMc.nominalBounds.width/2); if (_this.sliderBtn.x > (BarMc.x + (BarMc.nominalBounds.width))) { _this.sliderBtn.x = (BarMc.x + (BarMc.nominalBounds.width)); } } }
name = barMc bar
and the handle = sliderBtn
-
How to create indexes on the ordered collection of XMLTYPE table?
I use Oracle 11.2.0.2.
Basically, my XML documents have a 3-level hierarchy:
event
+ - action [1: n]
+ - param [1: n]
I try to create indexes on the tables of the orderly collection, but cannot get the right syntax...
I created a table with an XMLType object-relational column:
CREATE TABLE T_C_RMP_MNTRNG_XML_FULL_IL4 ( MESSAGE_ID NUMBER(22,0) NOT NULL ENABLE, XML_EVAL_ID NUMBER(22,0), VIN7 VARCHAR2(7 BYTE), FLEET_ID VARCHAR2(50 BYTE), CSC_SW_VERSION VARCHAR2(100 BYTE), RECEIVED DATE, XML_CONTENT SYS.XMLTYPE , DWH_LM_TS_UTC DATE NOT NULL ENABLE, CONSTRAINT PK_C_RMP_MNTRNG_XML_FULL_IL4 PRIMARY KEY (MESSAGE_ID) ) NOLOGGING TABLESPACE CATALOG VARRAY "XML_CONTENT"."XMLDATA"."action" STORE AS TABLE "T_OR_MON_ACTION" ( NOLOGGING TABLESPACE "CATALOG" VARRAY "param" STORE AS TABLE "T_OR_MON_ACTION_PARAM" ( NOLOGGING TABLESPACE "CATALOG" ) RETURN AS LOCATOR ) RETURN AS LOCATOR XMLTYPE XML_CONTENT STORE AS OBJECT RELATIONAL XMLSCHEMA "http://mydomain.com/cs.xsd" ELEMENT "monitoring";
I execute the SELECT statement:
SELECT EVENT_ID, ACTION_SUB_ID, MESSAGE_ID, ACTION_TYPE, UNIXTS_TO_DATE(ACTION_TIMESTAMP) ACTION_TIMESTAMP FROM T_C_RMP_MNTRNG_XML_FULL_IL4, XMLTABLE( 'for $i1 in /monitoring , $i2 in $i1/action return element r { $i1/eventId, $i2 }' PASSING XML_CONTENT COLUMNS EVENT_ID VARCHAR(40) PATH 'eventId', ACTION_SUB_ID INTEGER PATH 'action/actionSubId', ACTION_TYPE VARCHAR2(100) PATH 'action/type', ACTION_TIMESTAMP NUMBER(13,0) PATH 'action/time' ) T2 WHERE ( EVENT_ID IS NOT NULL AND ACTION_SUB_ID IS NOT NULL )
The plan of the explain command looks like this (sorry, don't know how to get it formatted any 'eye-team'):
----------------------------------------------------------------------------------------------------------
| ID | Operation | Name | Lines | Bytes | TempSpc | Cost (% CPU). Time |
----------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1609K | 6316M | | 6110K (1) | 20:22:11 |
|* 1 | HASH JOIN | | 1609K | 6316M | 111 M | 6110K (1) | 20:22:11 |
| 2. TABLE ACCESS FULL | T_C_RMP_MNTRNG_XML_FULL_IL4 | 582K | 104 M | | 5241 (1) | 00:01:03 |
|* 3 | TABLE ACCESS FULL | T_OR_MON_ACTION | 32 M | 117G | | 105K (2) | 00:21:08 |
----------------------------------------------------------------------------------------------------------
Information of predicates (identified by the operation identity card):
---------------------------------------------------
1 - access ("NESTED_TABLE_ID"= "T_C_RMP_MNTRNG_XML_FULL_IL4"." ("SYS_NC0001300014$")
filter (CAST (SYS_XQ_UPKXML2SQL (SYS_XQEXVAL (SYS_XQEXTRACT ((SYS_XMLGEN ("T_C_RMP_MNTRN XMLCONCAT
G_XML_FULL_IL4 ". "" $ SYS_NC00017 ", NULL, SYS_XMLCONV ("T_C_RMP_MNTRNG_XML_FULL_IL4". "SYS_NC00012$", 0.32,
(('EC1EEF23FD023A27E04032A06D930A8D', 3, 3783, 1)), SYS_MAKEXML ('EC1EEF23FD023A27E04032A06D930A8D', 3780,
'T_C_RMP_MNTRNG_XML_FULL_IL4 '. "' SYS_NC00008$ ', 'SYS_ALIAS_0 '. ((("' SYS_NC_ROWINFO$ ')),'/ ID ', NULL), 0,.
0,20971520,0), 50.1, 2) AS VARCHAR (40)) IS NOT NULL)
3 filter (CAST (TO_NUMBER (TO_CHAR ("SYS_ALIAS_0". "actionSubId")) AS INTEGER) IS NOT NULL) "
Note
-----
-dynamic sample used for this survey (level = 2)
-Construction detected no optimized XML (activate XMLOptimizationCheck for more information)
The XML schema looks like this:
<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:storeVarrayAsTable="true" oraxdb:flags="2105639" oraxdb:schemaURL="http://mydomain.com/cs.xsd" oraxdb:schemaOwner="MYUSER" oraxdb:numProps="23"> <xs:element name="monitoring" oraxdb:propNumber="3785" oraxdb:global="true" oraxdb:SQLName="monitoring" oraxdb:SQLType="monitoring755_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="monitoring757_TAB" oraxdb:defaultTableSchema="MYUSER"> <xs:complexType oraxdb:SQLType="monitoring755_T" oraxdb:SQLSchema="MYUSER"> <xs:sequence> <xs:element maxOccurs="unbounded" ref="action" oraxdb:propNumber="3780" oraxdb:global="false" oraxdb:SQLName="action" oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="action756_COLL" oraxdb:SQLCollSchema="MYUSER"/> <xs:element ref="reservationType" oraxdb:propNumber="3781" oraxdb:global="false" oraxdb:SQLName="reservationType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/> <xs:element ref="softwareVersion" oraxdb:propNumber="3782" oraxdb:global="false" oraxdb:SQLName="softwareVersion" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/> <xs:element ref="eventId" oraxdb:propNumber="3783" oraxdb:global="false" oraxdb:SQLName="eventId" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/> <xs:element ref="vin" oraxdb:propNumber="3784" oraxdb:global="false" oraxdb:SQLName="vin" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="action" oraxdb:propNumber="3790" oraxdb:global="true" oraxdb:SQLName="action" oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="action754_TAB" oraxdb:defaultTableSchema="MYUSER"> <xs:complexType oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER"> <xs:sequence> <xs:element ref="type" oraxdb:propNumber="3786" oraxdb:global="false" oraxdb:SQLName="type" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/> <xs:element maxOccurs="unbounded" ref="param" oraxdb:propNumber="3787" oraxdb:global="false" oraxdb:SQLName="param" oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="param753_COLL" oraxdb:SQLCollSchema="MYUSER"/> <xs:element ref="actionSubId" oraxdb:propNumber="3788" oraxdb:global="false" oraxdb:SQLName="actionSubId" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/> <xs:element ref="time" oraxdb:propNumber="3789" oraxdb:global="false" oraxdb:SQLName="time" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="type" type="xs:string" oraxdb:propNumber="3791" oraxdb:global="true" oraxdb:SQLName="type" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="type751_TAB" oraxdb:defaultTableSchema="MYUSER"/> <xs:element name="param" oraxdb:propNumber="3794" oraxdb:global="true" oraxdb:SQLName="param" oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="param750_TAB" oraxdb:defaultTableSchema="MYUSER"> <xs:complexType oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER"> <xs:sequence> <xs:element minOccurs="0" ref="value" oraxdb:propNumber="3792" oraxdb:global="false" oraxdb:SQLName="value" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/> <xs:element ref="key" oraxdb:propNumber="3793" oraxdb:global="false" oraxdb:SQLName="key" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="value" type="xs:string" oraxdb:propNumber="3795" oraxdb:global="true" oraxdb:SQLName="value" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="value748_TAB" oraxdb:defaultTableSchema="MYUSER"/> <xs:element name="key" type="xs:string" oraxdb:propNumber="3796" oraxdb:global="true" oraxdb:SQLName="key" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="key747_TAB" oraxdb:defaultTableSchema="MYUSER"/> <xs:element name="actionSubId" type="xs:integer" oraxdb:propNumber="3797" oraxdb:global="true" oraxdb:SQLName="actionSubId" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:defaultTable="actionSubId746_TAB" oraxdb:defaultTableSchema="MYUSER"/> <xs:element name="time" type="xs:integer" oraxdb:propNumber="3798" oraxdb:global="true" oraxdb:SQLName="time" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:defaultTable="time745_TAB" oraxdb:defaultTableSchema="MYUSER"/> <xs:element name="reservationType" type="xs:string" oraxdb:propNumber="3799" oraxdb:global="true" oraxdb:SQLName="reservationType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="reservationType744_TAB" oraxdb:defaultTableSchema="MYUSER"/> <xs:element name="softwareVersion" type="xs:string" oraxdb:propNumber="3800" oraxdb:global="true" oraxdb:SQLName="softwareVersion" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="softwareVersion743_TAB" oraxdb:defaultTableSchema="MYUSER"/> <xs:element name="eventId" type="xs:string" oraxdb:propNumber="3801" oraxdb:global="true" oraxdb:SQLName="eventId" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="eventId742_TAB" oraxdb:defaultTableSchema="MYUSER"/> <xs:element name="vin" type="xs:string" oraxdb:propNumber="3802" oraxdb:global="true" oraxdb:SQLName="vin" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="vin741_TAB" oraxdb:defaultTableSchema="MYUSER"/> </xs:schema>
How can I create an index on these tables of the ordered collection to improve performance?
I found the example at http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/xdb_rewrite.htm#ADXDB5859 but am not able to apply to this particular case...
Thank you in advance...
If the schema is not annotated and XS: Integer and XS: String are mapped to types of data NUMBER and VARCHAR2 (4000), so you must use in your query to avoid typecasting unnecessary operations.
You must also use XMLTABLEs chained when accessing a parent/child instead of a FLWOR expression relationship, otherwise the CBO cannot rewrite the XQuery query correctly (maybe it's fixed in the latest version).
If you make these changes, the plan should show the cleaner predicates:
SQL > SELECT EVENT_ID, MESSAGE_ID, ACTION_TYPE, ACTION_SUB_ID, ACTION_TIMESTAMP
2 FROM test_table
3 XMLTABLE ('/ monitoring ')
4 COLUMNS XML_CONTENT OF PASSAGE
5 WAY of VARCHAR2 (4000) EVENT_ID "ID."
6 actions for XMLTYPE PATH 'action '.
(7) T1,
8 XMLTABLE ('/ action')
Shares of PASSAGE 9 COLUMNS
NUMBER of ACTION_SUB_ID 10 PATH "actionSubId."
11 PATH of VARCHAR2 (4000) ACTION_TYPE "type."
12 WAY of NUMBER ACTION_TIMESTAMP 'time '.
(13) T2
14 WHERE EVENT_ID IS NOT NULL
15 AND ACTION_SUB_ID IS NOT NULL
16;
Execution plan
----------------------------------------------------------
Hash value of plan: 1763884463
------------------------------------------------------------------------------------------------
| ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 109. 220K | 6 (17). 00:00:01 |
| 1. THE MERGE JOIN. | 109. 220K | 6 (17). 00:00:01 |
|* 2 | TABLE ACCESS BY INDEX ROWID | TEST_TABLE | 11. 352. 2 (0) | 00:00:01 |
| 3. INDEX SCAN FULL | SYS_C007567 | 11. | 1 (0) | 00:00:01 |
|* 4 | JOIN TYPE. | 109. 216K | 4 (25) | 00:00:01 |
|* 5 | TABLE ACCESS FULL | T_OR_MON_ACTION | 106 S 216K | 3 (0) | 00:00:01 |
------------------------------------------------------------------------------------------------
Information of predicates (identified by the operation identity card):
---------------------------------------------------
2 - filter("TEST_TABLE".") (' SYS_NC00012$ ' IS NOT NULL)
4 - access("SYS_ALIAS_0".") NESTED_TABLE_ID "=" TABLE_TEST. " ("' SYS_NC0000800009$ ')
filter ("SYS_ALIAS_0". "NESTED_TABLE_ID"="TABLE_TEST" "." " ("SYS_NC0000800009$")
5 - filter("SYS_ALIAS_0"." actionSubId» IS NOT NULL)
Note
-----
-dynamic sample used for this survey (level = 2)
Now, if it is still necessary, everything boils down to choosing a technique for index NULL values:
-composite index with a column not zero or constant
-FBI
-bitmap image
Choose the one that best fits your data, the selectivity and activity on the tables.
-
Does anyone know how to create mirror using the SDK sessions?
I would like to know how to create a port mirror session. Anyone know?
Take a look at the ReconfigurevDvs_Task() - http://vijava.sourceforge.net/vSphereAPIDoc/ver5/ReferenceGuide/vim.DistributedVirtualSwitch.html#reconfigure and you will need to specify config spec to be VMwareDVSVspanConfigSpec http://vijava.sourceforge.net/vSphereAPIDoc/ver5/ReferenceGuide/vim.dvs.VmwareDistributedVirtualSwitch.VspanConfigSpec.html , which is for duplication of port
-
How to create graphics with the constructor syntax
How you can use the XXXBuilder class to generate graphs? I have this code:
But I get:NumberAxis xa = NumberAxisBuilder.create().lowerBound(0.0).upperBound(10.0).build(); NumberAxis ya = NumberAxisBuilder.create().lowerBound(-10.0).upperBound(10.0).build(); ScatterChart<Number, Number> chart = ScatterChartBuilder.create().XAxis(xa).YAxis(ya).build();
error: the reference to create is ambiguous, the method create() in RegionBuilder and < X, Y > method create() in ScatterChartBuilder match
ScatterChart < number >, table = ScatterChartBuilder.create (). XAxis (xa). YAxis (ya) infrastructure ();
^
where X, Y are variables of type:
X extends the object declared in the < X, Y > method create()
It extends the object declared in the < X, Y > method create()
How can I resolve the ambiguity?
Pete
(it's 1.7.0_06 JDK, JavaFX 2.2.0 - b21)Probably a bug in the ChartBuilders or the JDK.
ScatterChartBuilder.
create().build(); // does not work either. javac is unable to determine if the create() method of SceneChartBuilder or the create() method of RegionBuilder must be applied.
The AxisBuilders arising also from RegionBuilder work because they do not identify their own obscure create with generic type information method.How can I resolve the ambiguity?
New ScatterChart ;-)
-
How to create a LOV the same table in the adf.
Hi all
I have a simple table of database with over any dependant on other tables. In my table one of my name of the column as "Gander".
Since I have given in table mod "or F. What is my requirement in simple with table search page that I want to search with Gander field also with other areas.
while I want to show that gender as LOV in the search panel.
I tried with when we have a relationship with some other table.but how to create LOV to field when the field in the same table only.
as M or F even use cases or not like.
Concerning
SivaSiva,
What is your version of JDev? What technology you are using (BC4J?)?
Assuming you are using BC for the model, you tried to create another object view based on query something like
select distinct gender, gender from your table
and then use this VO for LOV?
Arun-
-
How to create 2 of the 'me' in the same form?
Hello
I use Adobe Premiere Pro CS6 for awhile, and I wonder if it is possible to make 2 or 3 of the 'self', or any character all move on the screen at once. Of curse, there is really no 2 me. I had an idea of video a day I end up realizing I have a twin, and this double (which is actually me in both shots) and I are talking and things like that. I know very little about the use of Premiere pro CS6. I would like to know if it is possible, and if it is possible, how?
Thank you!!
It's called Split Screen
Here's a start
http://webvideouniversity.com/podcast/video/2009/06/19/how-to-make-a-video-with-a-twin-of-vous-m th.
http://www.YouTube.com/watch?v=lF8_IqAkGyg
http://www.YouTube.com/watch?v=-OL8dJF7SZM
-375865 http://Adobe-Premiere.WonderHowTo.com/How-to/Create-Split-Screen-Effect-Adobe-Premiere-Pro.
-
How to create indexes on the column xmtype
Hello
I have a table as follows
CREATE TABLE T_TEST_XML (ID_PROCESSUS NUMBER, TXT_XML XMLTYPE);
I query the table above very frequently with the query
SELECT * FROM TXS T_TEST_XML WHERE EXISTSNODE (TXS. TXT_XML, '/ order [status = "PEN"]') = 1
How to create function function index on the TXT_XML column for the xpath expression/order [status = "PEN"]' to improve the query performance?
Thank youIn fact if you are limited to the use of older software
1 consider to define an XML schema and store XML using storage relational object.
or
2. If you need to store XML as CLOB to create the index on extractValue(), rather than existsNode() and provide the underlying value at the SQL level rather than the XPATH level.
SQL> DROP TABLE T_TEST_XML 2 / Table dropped. SQL> CREATE TABLE T_TEST_XML (PROCESS_ID NUMBER, TXT_XML XMLTYPE) 2 / Table created. SQL> create INDEX T_TEXT_XML_IDX on T_TEST_XML( extractValue(TXT_XML,'/order/status')) 2 / Index created. SQL> set autotrace on explain SQL> -- SQL> SELECT * 2 FROM T_TEST_XML TXS 3 WHERE ExistsNode(TXT_XML,'/order[status="PEN"]') = 1 4 / no rows selected Execution Plan ---------------------------------------------------------- Plan hash value: 3001212210 --------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | --------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 1 | 2017 | 31 (0)| 00:00:01 | | 1 | NESTED LOOPS SEMI | | 1 | 2017 | 31 (0)| 00:00:01 | | 2 | TABLE ACCESS FULL| T_TEST_XML | 1 | 2015 | 2 (0)| 00:00:01 | |* 3 | XPATH EVALUATION | | | | | | --------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 3 - filter("P"."C_01$"='PEN') Note ----- - dynamic sampling used for this statement (level=2) SQL> SELECT * 2 FROM T_TEST_XML TXS 3 WHERE extractValue(TXT_XML,'/order/status') = 'PEN' 4 / no rows selected Execution Plan ---------------------------------------------------------- Plan hash value: 1430727070 ---------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | ---------------------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 1 | 2015 | 1 (0)| 00:00:01 | | 1 | TABLE ACCESS BY INDEX ROWID| T_TEST_XML | 1 | 2015 | 1 (0)| 00:00:01 | |* 2 | INDEX RANGE SCAN | T_TEXT_XML_IDX | 1 | | 1 (0)| 00:00:01 | ---------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 2 - access(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/order/status',null,0,0,5242 93,133120)='PEN') Note ----- - dynamic sampling used for this statement (level=2) SQL> SQL> SQL> SQL> SQL> SQL>
This allows the index press questioning on any status value, rather than just the PEN
-
Data Modeler: how to create and use the collection type
Hello
essentially of departure I don't understand how (for example) create and use the data based on the type of data varray type.
Please notify.
Thank you
AndrewHi André,.
You can create new types of collection (varray/table) in two ways:
(1) in the browser - find 'Types of data' > 'Types of Collection' node menu dropdown - there just 'create new collection type' it
(2) in the types of data model diagram - you can create collection "some type structured" or collection of references to the it - use 'new Collection... '. "tool and click first on sight structured type and after the structured type that will contain the collection - new attribute is added to the latter and if there is none this type of collection already didn't set the new collection type are created and you can change it later.Philippe
-
How to create untapped in the DB adapter connection details
Hello
User Guide to adapt the technology tells how to create unmanaged connection details.
Note: Unhandled connection details are not created in the
DBAdapter.jca files when you start Oracle JDeveloper is in the
in normal mode. However, unmanaged connection details are created
in .jca DBAdapter files when you start Oracle JDeveloper
the preview mode.
Guide 9-98 oracle Fusion Middleware for technology adapters
I can't understand this.
Can someone explain this?
Thank you
Maryse
xmlns = "http://platform.integration.oracle/blocks/adapter/fw/metadata" >
adapterRef ="" >
<>
managedConnectionFactoryClassName = "oracle.tip.adapter.aq.AQManagedConnectionFactor
y « >
value="JDBC:Oracle:thin:@stadd14.us.Oracle.com:1522:ORCL"/ >
<>
className = "oracle.tip.adapter.aq.inbound.AQDequeueActivationSpec" > "
These entries are correct. However according to Jay earlier for the time of execution, you create a connection for the jca adapter factory, using the Weblogic administration console. The JNDI name ' ist/QA/aqSample' as an example from above should be listed in the factory connections. Unused receipts are collect information from their jdeveloper design, and they cannot be used at run time. This is not supported in 11g.
-
(Pavilion dv2000 vista) How to create discs of the comand recovery console
What is the name of the executable file and directory for the command to create the recovery partition recovery DVD? I am unable to get to the desktop to create, and the recovery console has been unable to reformat the hard drive. The way I see it I have only 3 choices:
1 make the recovery partition disks, replace the disk and run recovery on the new hard drive.
2. use linux software to copy the recovery on a "mega" flash drive partition, replace the hard drive, use linux software to copy the recovery on the new hard drive partition and run the system recovery then.
3. pay $ 15 to have HP send me the recovery disks.
Thanks in advance.
I tried and there is no directory ' / Windows/creator "in my recovery partition. I thought maybe the file and directory got renamed or moved to templates later (this paricular is dv2911us). I have also sought among the various directories and have not found any executable "CD Creator.exe; This is not to say there isn't, I just have not seen in my seaching... There are a lot of directories.
Edit:
Just received this response from HP email help (the most useful of all the methods of "contact us" HP):
Jim, thank you for writing back to us.
Jim, to keep you informed, the recovery disk have a period of 90 days from the date of purchase of laptop computer for his creation. However, if you try to create after the period of such, you may experience problems. The same rule applies in the case of new hard drive.
I'm afraid that there is no console command to launch the creation of recovery disks. Even if the recovery partition seems to be fully functional, it is in the hard drive only. Executable files named 'CD creator.exe' is just an image.
There are third party available for the recovery disc software, however, ultimately they would create problems as the hard drive failed.
Given the current situation, we recommend that you replace the hard drive and buy the new recovery drive.
I'm sorry for the inconvenience.
Also I find it a bit funny that last night when I called technical support, the lady that I spoke to said the new HDD would cost 400some dollars! I think this is the cost that it's based on the price for the operating system and other software included on the disc. Anyway, then I asked him what it would cost to just send it and make them repair the laptop, and she said it would be $ 300some! LOL it took everything I had not to start not to laugh. Then, when I told her thanks for the help, and that she would have answered all my questions, she tried to sell me a new laptop! I didn't say thank you and she tried once again! I want to say Holy shit! It's just a hard drive of freeking! in any case I'm glad I took the time to email them and get a response from someone who knew what they were doing.
Guess that just means it's tempting step 2 (see the original post).
Message edited by JimboSan on 09/10/2009 23:43 -
How to create and save the Excel file at the dam using java
I'm trying to create an excel spreadsheet and save it in the dam. I am able to create Excel in the dam, but no data is it than excel. I use the following codes to create.
String filename = "updatedMetadata.xls";
FileOutputStream fos = new FileOutputStream (filename);
Workbook WritableWorkbook is Workbook.createWorkbook (new File (filename));.
WritableSheet writableSheet = workbook.createSheet ("update metadata", 0);
Label = null;
label = new Label (0, 0, "Header1");
writableSheet.addCell (label);
label = new Label (0, 1, "tête2");
writableSheet.addCell (label);
label = new Label (0, 2, "Header3");
writableSheet.addCell (label);
label = new Label (0, 3, "Header4");
writableSheet.addCell (label);
label = new Label (0, 4, "Header5");
writableSheet.addCell (label);
label = new Label (0, 5, "Header6");
writableSheet.addCell (label);
label = new Label (0, 6, "Header7");
writableSheet.addCell (label);
label = new Label (0, 7, "Header8");
writableSheet.addCell (label);
label = new Label (1, 0, "col val");
writableSheet.addCell (label);
label = new Label (1, 1, "col val");
writableSheet.addCell (label);
label = new Label (1, 2, "col val");
writableSheet.addCell (label);
label = new Label (1, 3, "col val");
writableSheet.addCell (label);
label = new Label (1, 4, "Col. val" "");
writableSheet.addCell (label);
label = new Label (1, 5, "col val");
writableSheet.addCell (label);
label = new Label (1, 6, "col val");
writableSheet.addCell (label);
label = new Label (1, 7, "col val");
writableSheet.addCell (label);
label = new Label (2, 0, "col val");
writableSheet.addCell (label);
label = new Label (2, 1, "col val");
writableSheet.addCell (label);
label = new Label (2, 2, "col val");
writableSheet.addCell (label);
label = new Label (2, 3, "col val");
writableSheet.addCell (label);
label = new Label (2, 4, ' Col. val "" ");
writableSheet.addCell (label);
label = new Label (2, 5, "col val");
writableSheet.addCell (label);
label = new Label (2, 6, "col val");
writableSheet.addCell (label);
label = new Label (2, 7, "col val");
writableSheet.addCell (label);
Workbook.Write ();
Workbook.Close ();
ResourceResolver resourceResolver = request.getResourceResolver ();
AssetManager Manager = resourceResolver.adaptTo (AssetManager.class);
InputStream is = this.getClass () .getResourceAsStream ("/ content/dam/company/fileFolder /" + filename);
Element element = manager.createAsset ("/ content/dam/company/fileFolder /" + name of file, is, "application / vnd.ms - excel", true);
File is created in the path "/ content/dam/company/fileFolder / '.
The file name is "updatedMetadata.xls".
Thanks in advance
Mahesh Narayanan
I found it myself. I share the code so that in the future someone else can use it.
String filename = "updatedMetadata.xls";
ExcelFile to the file = new File (filename);
Workbook WritableWorkbook = Workbook.createWorkbook (excelFile);
WritableSheet writableSheet = workbook.createSheet ("update metadata", 0);
Label = null;
label = new Label (0, 0, "Header1");
writableSheet.addCell (label);
label = new Label (0, 1, "tête2");
writableSheet.addCell (label);
label = new Label (0, 2, "Header3");
writableSheet.addCell (label);
label = new Label (0, 3, "Header4");
writableSheet.addCell (label);
label = new Label (0, 4, "Header5");
writableSheet.addCell (label);
label = new Label (0, 5, "Header6");
writableSheet.addCell (label);
label = new Label (0, 6, "Header7");
writableSheet.addCell (label);
label = new Label (0, 7, "Header8");
writableSheet.addCell (label);
label = new Label (1, 0, "col val");
writableSheet.addCell (label);
label = new Label (1, 1, "col val");
writableSheet.addCell (label);
label = new Label (1, 2, "col val");
writableSheet.addCell (label);
label = new Label (1, 3, "col val");
writableSheet.addCell (label);
label = new Label (1, 4, "Col. val" "");
writableSheet.addCell (label);
label = new Label (1, 5, "col val");
writableSheet.addCell (label);
label = new Label (1, 6, "col val");
writableSheet.addCell (label);
label = new Label (1, 7, "col val");
writableSheet.addCell (label);
label = new Label (2, 0, "col val");
writableSheet.addCell (label);
label = new Label (2, 1, "col val");
writableSheet.addCell (label);
label = new Label (2, 2, "col val");
writableSheet.addCell (label);
label = new Label (2, 3, "col val");
writableSheet.addCell (label);
label = new Label (2, 4, ' Col. val "" ");
writableSheet.addCell (label);
label = new Label (2, 5, "col val");
writableSheet.addCell (label);
label = new Label (2, 6, "col val");
writableSheet.addCell (label);
label = new Label (2, 7, "col val");
writableSheet.addCell (label);
Workbook.Write ();
Workbook.Close ();
ResourceResolver resourceResolver = request.getResourceResolver ();
AssetManager Manager = resourceResolver.adaptTo (AssetManager.class);
InputStream stream = new FileInputStream (excelFile);
Element element = manager.createAsset ("/ content/dam/company/fileFolder /" + name of file, is, "application / vnd.ms - excel", true);
-
How to create LUNS target the same data store?
In vnx5100, we created two partitions (MON) to be shared separately with 2 VM machines for clustering
The question here is, that I have assigned the size of the LUN to a new data storage. And when I created ROW for a virtual machine, I had to choose the target LUN, but I wasn't able to see the unit number logic I'm looking for (the one that I have allocated for the storage of data, I created).
The question here is:
Why the logic unit number assigned to the storage is not displayed in the list?
Do we need to create a LUN for the data store and a separate LUN target in Vsphere with the same size of the LUN in VNX?
What is the target LUN in VMware (vsphere client)?
Kind regards
To a RDM and VMFS data store, you must create/submit two LUNS for ESXi hosts. What is stored on the VMFS data store is only the RDM mapping file (this will be created at the time wherever you add the raw LUN to a virtual machine), who shows up with the size of the RDM LUN, but requires no available disk space on the data (as a few bytes) store.
André
Maybe you are looking for
-
After the upgrade to WIndows 10 the other day, I copied some 30 GB of videos and photos from my phone to a USB connected HDD. using Windows Explorer: -J' created a new folder -Use of function F2 key, I renamed the folder "New folder" to the 2015-16'
-
The Satellite Pro A200 - 1 X 2 has a PC card slot?
The specification says Express Card, but the presentation of the product shows PC Card. Which is correct? Thank you
-
Satellite L40 - no HARD drive not detected in the BIOS
Hello I need some advice here. I have a Toshiba Satellite a colleague here, type L40 - 14N. She wanted to run the Toshiba Recovery CD procedure to get back original configuration... system was going way too slow and all that, no other problems. Anywa
-
Hello Recently, my 5s iPhone fell in the water and I gave it to a technician, he told me that I need a new motherboard... you want to know if apple sells and how it is if they sell it or I'll buy it at someone's home etc...
-
Is it possible (or useful) to replace the processor in my media library of Rikouman Pavilion Elite m9060n PC... There an IPIBL-(Berkeley) motherboard with Intel Chipset G33. Intel Core 2 Quad Logo running up to 2.4 GHz. is there a processor more fast