How to format the specific format string
Hi allI have the column in the table and the column will be the varchar2 data type. I need the value of the specific model column.
by ex. If the value is ABCDEFGHIJKLMN then output should be ABC-DEFG-HIJ-KLMN.
the model can be changed in the future.
Thank you
Nagarajan.V
Published by: Nancy Venu on 24 July 2012 14:56
>
Nana Hi and welcome to the forums.
by ex. If the value is ABCDEFGHIJKLMN then output should be ABC-DEFG-HIJ-KLMN.
Something almost identical has been done [url https://forums.oracle.com/forums/thread.jspa?messageID=10458534] here - take a look at the responses of Frank Kulash.
the model can be changed in the future.
Then change the regular expression.
You neglected to give your version of Oracle - you must always do, because the answer can vary widely depending on the version.
If you do not have 10 or more, you cannot use regular Expressions.
Please take the time to read the forum FAQ and also the thread "sticky" by BluShadow at the top of the list of positions
on the forum homepage. Help us help you - these forums are a great resource and you will get the maximum of
If you follow the guidelines.
HTH,
Paul...
Nagarajan.V
Published by: Paulie July 24, 2012 10:29
Tags: Database
Similar Questions
-
How to get the specific information of hardware and software data center
How to get the specific information of hardware and software data center with powercli...
What kind of information you need?
No matter what Esxi host hardware info., if so could below thread is useful.
Information about the host material with information on the nic and HBA drivers
-
How to install the specific font of our company with photoshop?
How to install the specific font of our company with Photoshop - it's the police of Gotham?
The fonts are installed in your operating system not Photoshop. Photoshop uses the fonts installed on your machine.
-
How to recover the sqlplus connection string?
I would get connection string of the sql syntax, but cannot find how.
Thank you for helping me!
m.How to recover the sqlplus connection string?
In sql * more type
DEFINE _CONNECT_IDENTIFIER
-
How to get the part of string before and after a character
Hi all
How to get the string before and after the comma character)
Ex: The string contains the value John Kennedy
I need the output as first stirng - John
Second stirng - Kennedy
Create table names (fullname varchar2 (20));
insert into values of names ("John, Kennedy");
insert into values of names ("papa ibra, Shan");
insert into values of names ('Don Bosco'),
Select * from names;
Expected results
FullName firstname lastname
John, Kennedy John Kennedy
Nicolas, Nicolas Shan Shan
Don Bosco Don Bosco
Please let me know how to proceed
Thank you
Hello
This proves what I said before, on 0 and several commas commas.
If we add these 3 rows to the sample data you posted:
insert into names (fullname) values ("tou").
insert into names (fullname) values (' David, Lloyd, George ");
insert into names (fullname) values ('J, R, R, Tolkien");
then the query I posted earlier produced these results:
FULLNAME FIRSTNAME LASTNAME
-------------------- -------------------- --------------------
John, Kennedy John Kennedy
Nicolas, Nicolas Shan Shan
Don Bosco Don Bosco
TOU tou
David Lloyd, George David Lloyd, George
J, R, R, Tolkien J R, R, Tolkien
If you prefer to get these results:
FULLNAME FIRSTNAME LASTNAME
-------------------- -------------------- --------------------
John, Kennedy John Kennedy
Nicolas, Nicolas Shan Shan
Don Bosco Don Bosco
TOU tou
David Lloyd, George David, Lloyd George
J, R, R, J, R, R Tolkien Tolkien
then you just change line 1:
WITH got_commapos AS
(
SELECT FullName
, INSTR (fullname, ','-1) AS commapos-* CHANGED *.
Names
)
SELECT FullName
, SUBSTR (fullname, commapos 1, -1) AS a first name
SUBSTR (fullname, commapos + 1) in the FORM name
OF got_commapos
;
-
How to print the specific image size?
Hi Gang - How can I print an image 11 x 15 "on paper 13 x 19"? Initially, it seems easy, but things are not how to navigate. Here's what I did:
I exported the photo and used the dialog box LR image resize to 11 x 15 "- easy."
I imported the exported image (assuming that the image was 11 x 15 ") and then in the LR print area - it is where the confusion begins.
The print tab displays the dimensions of the image as 8 x10.19 in. Help, how can I do the 11 x 15 "I need it to be?
I understand that I will need to adjust the image to get the part I want in the space of 11 x 15, but for the moment, I can't even 11 x 15 "size.
I tried package customized options, but no luck there.
I would like to Print Studio Pro Canon plugin that works very well. Except, again, I don't know how to ask the image size 11 x 15 "for printing on paper 13 x 19".
Fiddling with settings, I printed a dozen attempts and still no luck to reach 11 x 15 "size of the image on paper 13 x 19". For now, I'm OK with the image to cut or to another plane - no baby - I need to know how to make the print image 11 x 15 "size of the image. A
Thank you to offer suggestions.
Screenshot shows that my image 11 x 15 "is 8x10.19; I don't know how 11 x 15 ".
LR v5.7
Mac OS X Yosemite v10.10.2
Brain: generally intuitive, but need some help on this issue!
The first step in the Lightroom print module is to click on the Page Setup button, select your printer, and then select the paper size. It looks like your screen to paper size correct has not been selected yet, because you said you wanted to print on paper 13 x 19 inches, but the paper on the screen is only 8.5 inches wide. My guess is that Page Setup is always programmed for letter-size paper, and you should come back on layout and change it. After you do this, if your layout Style is unique, you should be able to affect the size of the cell 11 x 15 inches.
-
How to copy the piece of string to an enum in the part of string in a cluster?
I want to do all of an array of clusters. I am using a loop for. Can not find a way to analyze in chain of the enum in the part of the chain of the cluster.
Otherwise, I'd be happy if I could find some way to bind the enum in the table of clusters, but I think that becomes problematic.
DH
Dark Hollow says:
OK, let's say that the enumerated type has N elements. I want to initialize an array of N elements of strings. How refers to each string in the enumerated type for each channel?
An easy way to do this is to use GetNumericInfo.vi, part of the library of variant, found in vi.lib\utility\VariantDataType\GetNumericInfo.vi. Wire your enumeration to the variant of entry; one of the outputs is an array of strings in the enumerated type.
The most complicated way is a loop for, in which you convert the Terminal value of the iterator to the enumerated type, then use the value of Format. You can get the maximum value from the enumeration by casting for the enumerated type 0, and then decrement. Add-on to get the right value to wire the terminal n and climb back to a digital.
EDIT: just thought I would add, since the response of the RavensFan popped up while I was writing me - I don't like the approach of [] channels because it does not work on the objectives of the RT, and I lost a lot of time once because of this, trying to figure out why my code wouldn't run correctly on a system RT but worked fine on my development computer.
-
How to read the table of string returned by the DLL
I developed DLLS in labview that takes 2 input parameters as a string and returns an array of strings in return. How can I read back this array returned strings in labview? I tried to return a string and I can't able to read. But how to read a table?
Is the signature of the function – void GetLoginInfo (char [] DBPath, char [UserName], LStrHandleArray * table)
Shrinivas
I found the solution. When you configure the node to call a library function, the argument (in which we expect an array of string) type should be chosen as "Adapt to the Type" and data format to be "pointers to the sleeves.
-
How to trace the number and string in a line (meter data via MODBUS recorder)?
Hi all I did the log data amount using digital via modbus (RS485) meter to monitor how much and to reject what has and name operator, Machine and the part number.
I have problem on plot number & string in one line, as shown in the image below:
How to move this channel on a line? I enclose my vi.
Thank you ~.
Hi rhiesnand,
at the moment you add 2 new lines in your table.
The solution is to concatenate the two parts of the line to a greater range of 1 d before adding this table as a new row to your table 2D!
Like this:
-
How to set the specific proposal for a specific IKE L2L tunnel?
ASA 5520 running 8.0.4
ASDM v.6.1
Need help understanding how in ASDM/Configuration/Site to Site VPN/profiles of connection / "Any Entry" I can clarify that I want only to offer a pre-share-aes-256-sha IKE proposal?
The area of the IKE proposal has a number of options, including: pre-share-aes-256-md5, pre-share-3des-md5, pre-share-aes-256-sha, pre-share-aes-192-sha, pre-share-3des-md5, pre-share-aes-sha and pre-share-3des-sha.
I am able to choose a specific proposal of IPSec without problem, but when I try to do the same for the IKE proposal and click OK the choice doesn't "stick", but refers rather to the entire list such as defined above.
Thank you.
Hello
IKE policies are defined globally on the SAA, there is no way to apply policy 1 to a connection and b of the policy to another.
You can remove all polciies except pre-share-aes-256-sha.
This could cause a problem that other VPN connections may have a policy to remove in order to connect.
I hope this helps.
Thank you
Loren
-
new to labview :-) and I have a problem when I want to change the value of a string in bunches, and I want to implement this using the node value of property instead of writing directly to the stream or by using the variable, enclosed is the picture. No matter, I have change in cluster (control) or value of Popery out (indicator) cluster, the value (sensor 7) dataflow keeps unchanged even I gave the new value by value of property node. Thank you to give me some advice about this.
Hi GerdW
Thanks a lot for your answer. The reason I'm stubbornly tring to break the flow of DATA is: we have a test system that have about 100 screws, they have a few connected flow, some of them will be unbundling a cluster dataflow chain to check the value in order to make the different cases. Now I want to insert user event by changing the control and influential cases during run time.
As I initially uses a global variable (to control cases) instead of unbundle string data flow, it works well. But then, I found there are a lot of screws that are using the string unbundle. One of the 'lazy' means, I tried is to change the value via the property node (because that way, I did not need to find all the places where using the unbundle string and replace them with the global variable), then I noticed a problem with "dataflow", the value in the stream of cluster in fact will not be changed by changing the value of the property node.
I did a test with VI simple (like the picture in last post), and after reading your advice, I tell myself that I need to understand the concept of "DATAFLOW" in labview, it seems that my "lazy" way can not work in this scenario.
I have attached the criterion VI here, have you furthur suggestions on what I can do in this case?
Mant thanks!
Minyi
-
How to extract the corresponding regex string
Hello
I am trying to extract text from a long string using QRegEx. Here's my regex:
Rx QRegExp ("^. *(192|210). * key =? *");
QString url = ""https://192.168.1.10/files/30/encrypt/key=s6h779bf " "
rx.setPatternSyntax (QRegExp::Wildcard);
rx.indexIn (str, 0);
qDebug()<>
qDebug()<>
However, it is does not match anything.
If I change the regular expression of "(192|210)." * key =? ' * ' can he match but I can't get the string after the = key
You use a regular expression capture if you want that the parameter "key."
QRegExp rx("^.*(192|210).*key=(.*)?"); qDebug() << rx.cap(1); // here's the first octet of your IP qDebug() << rx.cap(2); // key parameter (optional)
Your regex could do with a lot of improvement in my humble opinion. You might want to consuder the class QUrl that does what you want already:
QUrl url("https://192.168.1.10/files/30/encrypt/key=s6h779bf"); qDebug() << url.queryItemValue("key");
Tip: rubular is a handy Tester on the regex web which makes this kind of thing much easier to debug
-
How to force the specific keyboard on the accounts of group policy
Hello
Does anyone know if it is possible to force a keyboard layout specific as 'default' on accounts? I was looking for a policy on this, but I could not find. The keyboard we must force is a specific Chinese.
Chinese (Simplified) - Microsoft Pinyin ABC input Style
Thanks in advance for answers
Hello
Please keep us updated on the issue.
Because these computers are on the network domain, question you posted would be better suited in the TechNet Forums. This is why I would recommend posting your query in the TechNet Forums.
Thank you.
-
How to share the specific user-specific folder?
Hello
I received a computer call eight servers and another called 8-PC.
I want to share a specific folder in eight-Server with a user called eight on eight-PC, but I don't want other people on the network of residential group able to access.
I tried permission tab in the properties file option in eight servers, but I was not able to find the user in eight-PC for me to add to the permission.
Location, select users or groups, I was not able to find 8-PC.Please help, I have looked everywhere online, found nothing.
I tried to create the same user on the two computer and give the permission of / / server/eight, it still does not work. Tried to give permission in / / PC/8, said it did not find.
Help, please.
Thank you.
This looks like some sort of an old question, but I was working just by there myself. I managed to do work in doing this;
- go to computer files that you want to share (action)
- Right-click on the folder or files
- You should get a menu asking if you want to share with homegroup, so yes, it should be complete at this stage
- If you don't get this click with the right button on the menu, then the residential group is not defined in law. You must both PCs has joined the same homegroup and who needs to work before sharing specific files.
-
How to set the specific URL target frame
Hello
I am using Muse.
I created web app with elements of list on the front page and want the items in this list to create a link to a provision on a specific page.
I have this module:
{module_webapps id = "25788" filter = "all" targetFrame = "_top"}
It's detail page layout URL:
http://Test1-jun52015-223.BusinessCatalyst.com/test-_APP/Gunni-Gunn
Thanks in advance.
Peter
Solved
Peter
-
How to reach the specific cluster in network
Hello
Suppose that I am running with cluster 2 in my network, whether ClusterA and focus
So how can I know my code I start the node should join ClusterA and would not focus?
On which property or systemProperty it differentiate the clusters.
Kind regards
Hello
Each node consistency (client process or server) must be launched with - Dtangosol.coherence.override = tangosol-coherence-file customization override.xml.
you have two ways to choose the cluster
If you are using multicast
You must choose a cluster name, then each node will join to the nodes one another with the same cluster name
Example: tangosol-coherence - override.xml
...
MyClusterName
..
If you use WKA (well-known-address)
You must choose each Member of the cluster: host and port
Example: tangosol-coherence - override.xml
...
8088 8089 ...
When to start server included in the java options
-Dtangosol.coherence.localhost =171.193.103.25 - Dtangosol.coherence.localport = 8088
When to start client include in the java options
-Dtangosol.coherence.localhost =171.193.103.26 - Dtangosol.coherence.localport = 8089
Kind regards
Leo_TA
Maybe you are looking for
-
Current measurement using the NI 9203
I'm trying to measure an output 4-20 mA, with a flow meter. I try to use DAQmx and in channel DAQmx-create, there is a shunt location option. Do I have to specify this setting if I use NI 9203? Thank you!
-
VPN site to site of simple laboratory works no - pix to pix
Hi all I have a lab at home configuring vpn site to site between 2 cisco pix 501 devices, but it does not work. Can anyone help, I have attached the followign run configs. Thank you PIX Version 6.2 (1) ethernet0 nameif outside security0 nameif ethern
-
I was running Windows 8 Pro - got a new computer with 8.1. I ran the backup on Wndows pro, have a file called "Disk Backup.adi" I don't know how to restore this backup on my new system.
-
Status.msi error with installation of the hp officejet 6500 E709n wireless
It's frustrating. "I tried to install a full print driver software for my portable printer wireless hp officejet 6500 E709n and even if I can complete the process, I get this error message: the component you are trying to use is on a network unavaila
-
Massive problems downloading CC of Photoshop and Lightroom CC
After about one day trying to get creative cloud desktop downloader to install completely CC Photoshop and Lightroom, I came to the conclusion, creative Office Cloud is complete crap! installation hangs, doesn't give me any errors. Have tried everyth