Request for updating the channel
Hello
How to write a query that can update below statement
/Shelf = CORE/slot = Slot0/port = 0
TO
/Shelf = 1/slot = 0/port 0 =
The rule is CORE is replaced by 1 and must removed the chain Slot
user11432758 wrote:
Hello
How to write a query that can update below statement
/Shelf = CORE/slot = Slot0/port = 0
TO
/Shelf = 1/slot = 0/port 0 =
The rule is CORE is replaced by 1 and must removed the chain Slot
You need to explain in detail what is your problem. You try to replace a model? If so, you will have to explain this. As for the question you asked a simple REPLACEMENT would do the job
SQL> with t 2 as 3 ( 4 select '/shelf=CORE/slot=Slot0/port=0' str 5 from dual 6 ) 7 select str 8 , replace(replace(str, 'CORE', '1'), 'Slot') str_new 9 from t; STR STR_NEW ----------------------------- ----------------------------- /shelf=CORE/slot=Slot0/port=0 /shelf=1/slot=0/port=0 SQL>
Tags: Database
Similar Questions
-
Request for update of Lenovo Yoga 460 SCCM driver package
Hello.
Because I can't post in the forum of business solutions, I'll post my request here.
Yoga 460 was not released for several months, and now, virtually all drivers have been updated, and it is normal for a new model.
What bothers me is that I need to run the system on brand new laptop computer update installed by SCCM, since it was not a new package SCCM published since the original, which fixes several important issues.
Therefore, I ask that Lenovo is launching a new SCCM package with all latest updates.
Thank you!
Well it came out in record time. Thanks for posting the new update package today!
-
Problem of JMS deployment plan for updating the JNDI names
Hello everyone, I am working on Oracle SOA 12 c on a 2-node cluster environment. I am facing problem update the JNDI for jms adapter deployment name. I created jms, jms module and Distriubuted queues and manufactures servers connections. When I create jndi say ' ist/xx/jmsqueues' name in the adapter to jms under deployment and update the name of the connection factory against property connection factory in JNDI eis/xx/jmsqueues name. After that I updated the resource with the location of the plan in respect of the group path. But the problem after activation of the changes the created "eis/xx/jmsqueues' disappearing off the coast, but when I check the information contained in the plan, I see the details of name and jndi connection factories. To make sure of my setup works very well, I do use the jndi name say HIA/ws/queues existing and update the factory connections. After the test, I was able to publish the message to the queue. The only problem I see with new jndi names and for that reason I am not able at all tasks related to the queues. I really appreciate if some light here. Best regards, TJ.
Try the cancellation of the deployment of the JMSAdapter.rar and install it once again from the location below:
$ORACLE_HOME, soa, soa, connectors
Try to target them to regroup and try to do what you do.
When the JMSAdapter is corrupt or plan is not created correctly, we see this odd behavior. You can try this and check.
Concerning
Pavan
-
Hi all
I'm looking for some API which will help me to update the columns attribute on the lines of PO. I searched in metalink also but I have not found any idea for that.
Help, please.
Thank you
Ravi Raj.API in general do not update or manipulate ATTRIBUTE columns from these customer data defined in the store. You will need to update these columns directly.
year https://forums.Oracle.com/forums/Search.jspa?threadID=&q=attribute+and+API+and+Update&objid=C3&DateRange=Last & userID = & numResults = 15 & rankBy = 10001
HTH
Srini -
Change in the merger of insert and create a procedure for updating the records after
Hello
I have a table that contains about 50 M lines of partition, and every day I have an application that performs a merge to insert records statement about 100 k per day and it's 300 M updates a day.
Because I both update and insert the application performs a merge.
I need to make at least 500 M, updated day by day, and for this reason this solution doesn't have enough performance for what I'm asking.
I think another solution that I will try to implement now, and I just posted this in an attempt to get help on the option that I may have to do.
I want to start putting in place:
-Locations is updated 'last_record_date' using 'KEY1' and 'Key2' "KEY3";
-Change the application to only inserts into a temporary table.
-Have two procedures, one that takes the new records from the temporary table and inserts it into the final table, and another that selects records which is updated and perform an update.
-This two procedures will choose the records and delete them from the temporary table (or mark them as updated\inserted).
The volume is very large, so performance is a challenge! That's why I'm writing this, because a solution with enough performance for the intermediate stage will be difficult.
My final table is partitioned by date and the date is the area that I need to update (instead of create daily partitions in order to reduce the frequency of the movement of the line, I create monthly partitions)!
It is currently my table definition:
Thank youCREATE TABLE MY_TEST_TABLE (KEY1 VARCHAR2(50 BYTE) , KEY2 VARCHAR2(50 BYTE) NOT NULL, KEY3 VARCHAR2(50 BYTE) , last_record_date VARCHAR2(50 BYTE) NOT NULL) PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( BUFFER_POOL DEFAULT ) NOCACHE MONITORING ENABLE ROW MOVEMENT PARTITION BY RANGE (last_record_date) ( PARTITION MY_TEST_TABLE_201112 VALUES LESS THAN ('20120101') PCTFREE 10 INITRANS 1 MAXTRANS 255 NOLOGGING, PARTITION MY_TEST_TABLE_201201 VALUES LESS THAN ('20120201') PCTFREE 10 INITRANS 1 MAXTRANS 255 NOLOGGING, PARTITION MY_TEST_TABLE_201202 VALUES LESS THAN ('20120301') PCTFREE 10 INITRANS 1 MAXTRANS 255 NOLOGGING, PARTITION def VALUES LESS THAN (MAXVALUE) PCTFREE 10 INITRANS 1 MAXTRANS 255 NOLOGGING ) NOPARALLEL / -- Constraints for MY_TEST_TABLE ALTER TABLE MY_TEST_TABLE ADD CHECK ("KEY1" IS NOT NULL) / ALTER TABLE MY_TEST_TABLE ADD CHECK ("KEY2" IS NOT NULL) / ALTER TABLE MY_TEST_TABLE ADD CHECK ("KEY3" IS NOT NULL) / ALTER TABLE MY_TEST_TABLE ADD CONSTRAINT pk_MY_TEST_TABLE PRIMARY KEY (KEY1, KEY2, KEY3) USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 /
Ricardo Tomasnaoseionome wrote:
HelloMy version is:
Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit ProductionIt's the DOF I used to create the database.
The merger is common during every day for about 10 M records.
There are several methods to do the update, but they do sequencially to avoid deadlocks (because I can't control the source and each process can update the same keys.
The update uses "KEY1, KEY2, KEY3" to update the value 'LAST_RECORD_DATE' have impact by being date or varchar2?
I'm still waiting to receive permissions in order to follow up the matter, but in the meantime, in that I am trying to implement this work around in order to accelerate a development in the case where it would be necessary! Comments only I have at the moment, it is that he is not able to process the total amount of records timely (order book is generated).
Thank you
RicardoWell, the first thing we do is to change the type of data type varchar to a date. The main impact is that a date is not a string, it's a date. If you are adding data processes in different date formats (which is possible when you use a character to store information) you're going to be very sad (good luck converting back an effective date).
An example of how this can happen easily.
ME_TUBBZ?select to_char(sysdate) from dual; TO_CHAR(SYSDATE) ----------------------------- 12-jan-2012 10 55:33 1 row selected. Elapsed: 00:00:00.01 ME_TUBBZ?alter session set nls_date_format = 'yyyy-mon-dd'; Session altered. Elapsed: 00:00:00.01 ME_TUBBZ?select to_char(sysdate) from dual; TO_CHAR(SYSDATE) -------------------- 2012-jan-12 1 row selected. Elapsed: 00:00:00.00
Assuming that the client passes the column as an Oracle DATE will make an (implicit) conversion to store the data as a string, which will be based on the current settings of the NLS for the session. This allows also for someone to completely non-jour the information in the column (super bad). It's just really bad form to use strings to store dates, numbers, anything that is not naturally a string.
Based on the description of your problem, I can't imagine how your partitioning scheme performs one action in another that require more work in order to process the updates (which are most of your needs). Partitioning does not equate to increase performance. It is a tool that, like every tool has its place, but I do not think that this is justified for what you do (certainly not how you currently use it anyway).
I say no partitioning can not be useful for you, but I don't think that on the column that you are currently using is 'good '.
Something I would like to personally study (must be able to compare this approach to your course, if you need parameters for comparison) if I were you would be using a Table Index organized for it. It will take more time to perform the operations insertion, but that is a small part of all the work that you do for this process. For updates, it should eliminate a lot of IO, assuming that you are doing an INDEX seek followed by a table access by ROWID to perform updates. This recommendation assumes that everything you said is true. You have 4 columns in your table, of which 3 are components of the primary key and the 4th is a date (note I did not string :)) and that you refresh mainly, not fit.) Also that you have no 'secondary' on this entity index (and none are needed).
I would investigate this approach before the solution of temporary table that you are currently studying.
See you soon,.
-
Personalized program for updating the GL FDF journal each time magazines are imported
Hi guru,.
I have a requirement I need to build a custom program to update the FDF Journal Journal lines. This program will be executed whenever newspapers subledger is imported to GL.
OPM, AP, AR, Inv & OM will be that review sources for those WHAT FDF journal line must be updated.
Well want to someone could give me the best way to do.
Thank you and best regards,
GenooHi Geno,
You can see the following one of our users of large clear forum article
http://www.oraclebusinessapps.com/?cat=164
I hope this helps.
Thank you
Anil -
Registration type of best practices for updating the mapping of cascading for account drop-down list
1. most bearing the name of choice in parent list values and related lookup has been changed in the main list of the external application, so the same should be updated in CRMOD.
2 to update the value of the list of choices, do we need to DISABLE the existing value and CREATE a new list of selection.
3. are there best practices to avoid the manual pick list Cascading draw for the record type account? because we have about 500 values in list dropdown to map with parent and related list of choice.
Thank you!Mahesh, I recommend disabling the existing values and create new ones. This means that the remap manually cascading dropdown lists.
-
call sub procedure for updating the table - need help
Hi all
I have a scneario wherein I get three values 0,2.5 and 57.
For each value, I'll call another procedure that updates a table "sample_dest".
The "sample_dest" table has a column "dest_nbr."
Now, for each three values I get,
I want to update only one record in the table 'sample_dest '.
for example, I want to update the column "dest_nbr" with a value of 59.5 (0 + 2.5 + 57).
I am unable to do this, because every time the procedure is called,
the previous values are not stored. 57 is the last value I get,
I am able to store only 57. But I want 59.5 to be updated in the table.
How can I achieve this.
Help, please.
Concerning
Rambeau.This should be done in a single sql statement, not in a loop of cursor (which is what it looks like you're doing). If sample_desc already contains records for samples, so it should look like:
UPDATE sample_desc sdesc SET desc = (SELECT AVG(code) FROM sample_dest sdest WHERE sdesc.sample = sdest.sample) WHERE EXISTS (SELECT 1 FROM sample_dest sdest WHERE sdesc.sample = sdest.sample)
If sample_desc does not already contain records (unknown from your description), then it would be an insert as:
INSERT INTO sample_desc SELECT sample, AVG(code) FROM sample_dest sdest GROUP BY sample
John
-
Form of ADE for updating the table
Jin
I have a requirement where I have to create a form of the ADF that contains a reading only a table contains data from the xml support.
and there are 3 buttons
(1) Insert = to add a new row to the table
(2) edit to edit a line =
(3) = save to save the changes.
Here the first button is to create an Insert button but when it is pressed a new editable table should appear on the same page (just below the single table reading). and after inserting the details when I press on save, it should update the single table reading.
same way when I press the button to change the line that is selected should appear in the editable table. and press save update read only files...
If anyone has an idea please do not answer...Hello
Try this
NCCC = (DCBindingContainer) DCBindingContainer, BC.
DCIteratorBinding iter = dcBc.findIteratorBinding("EditPageiterator");
iter.setCurrentRowWithKey (key); set the key to the line,
-
Legitimacy of the request for update
Want to know how can I determine which update of Mozilla applications are legitimate. The following request and was not sure:
"You are currently browsing the web with Firefox and your VCR can be exceeded."
Do you find this alert to chance or only when you visit some Web sites?
Do a check with some malware malware, analysis of programs on the Windows computer.
Please scan with all programs, because each program detects a different malicious program.
All of these programs have free versions.Make sure that you update each program to get the latest version of their databases before scanning.
- Malwarebytes' Anti-Malware:
http://www.Malwarebytes.org/MBAM.php - AdwCleaner:
http://www.bleepingcomputer.com/download/adwcleaner/
http://www.Softpedia.com/get/antivirus/removal-tools/AdwCleaner.shtml - SuperAntispyware:
http://www.SUPERAntiSpyware.com/ - Microsoft security scanner:
http://www.Microsoft.com/security/scanner/en-us/default.aspx - Windows Defender: Home Page:
http://www.Microsoft.com/Windows/products/winfamily/Defender/default.mspx - Spybot Search & Destroy:
http://www.safer-networking.org/en/index.html - Kasperky free Security Scan:
http://www.Kaspersky.com/security-scan
Alternatively, you can write a check for an infection rootkit TDSSKiller.
- Utility anti-rootkit TDSSKiller:
http://support.Kaspersky.com/5350?El=88446
See also:
- "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
- Malwarebytes' Anti-Malware:
-
Satellite A500 boot UEFI/legacy option - request for update of the BIOS-
I am the proud owner of a Satellite A500 PSAR9A - 02S 001
I was very happy with it over the years.However, when you try to dual boot, I use in all sorts of problems.
I really need uefi/legacy startup options to be unlocked in the bios menu
I think that this feature is present
However there is no options to configure in bios, please release an update for this.Please, I beg you.
It would help me a lot.
Not too much talk of what all the other hidden settings in the bios u could also unlock.
I'd appreciate any help in thisPost edited by: Bigwheels
As far as I know, Toshiba offers a few changes of BIOS options and is not also a part of the BIOS updates.
What kind of problems you have with dual boot?
What is preinstalled on your computer? Post please some info on exact OS install. -
Request for update of Java every morning
Every morning for the last two weeks or so, when starting from my computer in the morning, I get a request (in fact 2, that of SunMicro) to update Java. Thinking he was legitimate, and because several of my games programs use Java, I tried. However, I get an error message. Next day, same routine. Is this legitimate demand (thought sold Sun Java)? And how he stop?
http://www.Java.com/en/download/help/index.XML
-
Request for update of Safari unsolicited
Re: My Mac OS X 10.7.5
Sites Web of 2 national organizations that I regularly visit indicates that I need to update my browser. When I go to the App Store on my Mac, I told myself that no update is available. What gives? I keep ignoring? One is my main bank.
Thank you.
MAC (Yes, my initials!)
If the Web sites work, ignore the warnings. Many sites are poorly coded and not to recognize, for example this version 11, are more recent than version 9 (they look the first digit).
-
«I'm in Firefox 20.0.1 on a 660 s Dell Windows 7 Home Premium.» I downloaded and installed Firefox in May. I can't take it to 21,0 for the following reason:
"Update available" window for Firefox 21.0 opens every day. I click on update Firefox and "Download Firefox" window opens with the notification 'connection to update server... '. ». It continues to run, sometimes for hours (when I forgot about this) but it ends. I finally cancel and it happens overnight.
Make sure that your Antivirus is blocking the download
Disable your Antivirus and give it a try...
Proxy Server you use?
Try to download on the official Mozilla site and update it.
-
Dialog box for browsing the channels DAQmx looks different on a PC without development of LV system
Hello!
When I browse for the physical channels or cDAQ from my development PC (Windows 7 64 bit, LabVIEW 2013), the following dialog box appears:
This screenshot is the stand-alone executable. And the resulting string is: "cDAQ2Mod1 / ai0:2". Perfect.
However, when I run the same executable on a machine that doesn't have a development system LabVIEW, but only runtime environment 2013 (automatically included with the Installer), the dialog box looks like this:
"windows is tiny and not resizable, so he won't let not the user see the entire line, there no nice tree and the resulting string is: 'cDAQ9181-18B96FEMod1/ai0, cDAQ9181-18B96FEMod1/ai1, cDAQ9181-18B96FEMod1/ai2" which is much less readable than cDAQ9181-18B96FEMod1 / ai0:2.
Apart from that, the apps work well.
Is it possible to get the dialog box 1 on a PC running only the runtime environment?
Thank you
Baobob
Support for Configuration DAQmx for MAX
Maybe you are looking for
-
How to set the Destination of scanning for your Hp Printer in window - 7
How to set the scanning for your printer Destination is a common question is asked. I am including a useful video that will guide you in the process.
-
Other games is downlowed through fre ride games and I can't delete them from my dashboard, they just lock too. I'm not very computer savy, so I need step by step instructions on how to remove this program
-
I get this message throughout the day trying to access my account main hotmail, which has been blocked today for no apparent reason. I would like to know how long should I wait before a new attempt to access.
-
Hey guys I have a? I got an inspiron b120 for my son for school, it's give us questions so I put it back to factory setting, but now sound very slow I had to replace the dvd drive and I and additional hard drive, I think that the hard drive is bad an
-
Debugging on Playbook Simulator
Hello I use the last PlayBook Simulator (for Mac), VMWare Fusion 4.1, 3.7, Java 1.6 Eclipse, latest BlackBerry Plugins for Android development in Eclipse and all on OS X Lion 10.7.3. Now: whenever I try to launch my application on the Simulator, Ecli