Needs Query, Urgent
Hi All,
I have a coulmn info_d which has values like:
ABC D , EFG, HI , K, LM N
and I need the output like :
ABC D,EFG,HI,K, LM N
Please provide the solution as early as possible.
Thanks in advance.
Amit
Alternatively, if your requirement is to remove spaces from around the commas...
SQL> ed
Wrote file afiedt.buf
1 select regexp_replace('ABC D , EFG, HI , K, LM N',' ?, ?',',') as txt
2* from dual
SQL> /
TXT
ABC D,EFG,HI,K,LM N
SQL>
Similar Messages
-
HI,
How to convert this
sql server update statement into oracle.
UPDATE
TABLEA
SET
TABLEB.A=TABLEB.A+ DATEPART (hour,TABLEA.A)*60 + DATEPART (minute, TABLEA.A),
TABLEB.B=TABLEB.B+1
FROM
TABLEA
TABLEB
WHERE
TABLEB.C=TABLEA.C
AND
TABLEB.D=TABLEA.D;
Regards,
PunithaUsing the community discussion forums for urgent production issues is a violation of the terms and conditions.
http://www.oracle.com/html/terms.html
>
4. Use of Community Services
Community Services are provided as a convenience to users and Oracle is not obligated to provide any technical support for, or participate in, Community Services. While Community Services may include information regarding Oracle products and services, including information from Oracle employees, they are not an official customer support channel for Oracle.
You may use Community Services subject to the following: (a) Community Services may be used solely for your personal, informational, noncommercial purposes; (b) Content provided on or through Community Services may not be redistributed; and (c) personal data about other users may not be stored or collected except where expressly authorized by Oracle
>
If this is for your personal and informational use it is not urgent, if it is not please log a service request with support or hire a qualified consultant.
http://www.google.com/search?q=oracle+consultant -
Hi,
I am facing this problem, Please help me, I am attaching the source files
also along with the mail. This is a small CMP EJB application, I am using
IAS SP2 on NT server with Oracle 8. I highly appreciate if someone can send
me the working copy of the same. I need these urgent. I am porting all my
beans from bea weblogic to Iplanet. Please help me dudes.
Err.........
[06/Sep/2001 13:41:29:7] error: EBFP-marshal_internal: internal exception
caught
in kcp skeleton, exception = java.lang.NoSuchMethodError
[06/Sep/2001 13:41:29:7] error: Exception Stack Trace:
java.lang.NoSuchMethodError
at
com.se.sales.customer.ejb_kcp_skel_CompanyHome.create__com_se_sales_c
ustomer_Company__java_lang_Integer__indir_wstr__215617959(ejb_kcp_skel_Compa
nyHo
me.java:205)
at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
at
com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
mpanyHome.java:297)
at
com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
e.java:89)
at
com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
Caught an exception.
java.rmi.RemoteException: SystemException: exid=UNKNOWN
at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
at
com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
mpanyHome.java:324)
at
com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
e.java:89)
at
com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
Thanks in advance
Shravan
[Attachment iplanet_app.jar, see below]
[Attachment iplanet_src.jar, see below]One reason that I sometimes get 'NoSuchMethodError' is when I make a change to a
java class that is imported into another java class. When I go to run the
importing class, it will throw a 'NoSuchMethodError' on any methods that I've
changed in the imported class. The solution is to recompile the importing class
with the changed classes in the classpath.
shravan wrote:
Hi,
I am facing this problem, Please help me, I am attaching the source files
also along with the mail. This is a small CMP EJB application, I am using
IAS SP2 on NT server with Oracle 8. I highly appreciate if someone can send
me the working copy of the same. I need these urgent. I am porting all my
beans from bea weblogic to Iplanet. Please help me dudes.
Err.........
[06/Sep/2001 13:41:29:7] error: EBFP-marshal_internal: internal exception
caught
in kcp skeleton, exception = java.lang.NoSuchMethodError
[06/Sep/2001 13:41:29:7] error: Exception Stack Trace:
java.lang.NoSuchMethodError
at
com.se.sales.customer.ejb_kcp_skel_CompanyHome.create__com_se_sales_c
ustomer_Company__java_lang_Integer__indir_wstr__215617959(ejb_kcp_skel_Compa
nyHo
me.java:205)
at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
at
com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
mpanyHome.java:297)
at
com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
e.java:89)
at
com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
Caught an exception.
java.rmi.RemoteException: SystemException: exid=UNKNOWN
at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
at
com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
mpanyHome.java:324)
at
com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
e.java:89)
at
com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
Thanks in advance
Shravan
Name: iplanet_app.jar
iplanet_app.jar Type: Java Archive (application/java-archive)
Encoding: x-uuencode
Name: iplanet_src.jar
iplanet_src.jar Type: Java Archive (application/java-archive)
Encoding: x-uuencode -
Username and password- Need help urgently!
Hi
1) First of all, i have received an email stating that my account under Removed personal information to comply withCommunity GuidelinesandTerms and Conditions of Use.
is being banned as there is multiple obsence post. I need to clarify that i have never used my account to post in BBM forum before. Even if i did, is when i need help urgently for my BBM application. Currently i am holding 4 bbms now. Have never came across this issue. Pls check and advise
2) I urgently need to setup my email accounts. But this time round, when i logged in, they required for my email id and password. And yes my email id is Removed personal information to comply withCommunity GuidelinesandTerms and Conditions of Use. all the while for the past 4 years. I am unable to log in. I tried all kinds of password but unable to log into my mobile settings
Verfiy Blackberry ID
This application requires u to verify ur blackberry id to continue.
blackberry ID username:
Removed personal information to comply withCommunity GuidelinesandTerms and Conditions of Use.
password:
I went to the forget password option, unfortunately as i have never retrieved my password before, i am unable to remember the security question as i did not use it for the past 4 years.
Pls advise.
Urgent and thanksHi,
I have been trying this technique for the past 4 days. It doesnt work no matter how i change the password at the link that u gave me. Even though it's being reset accordingly, i am still unable to log in the password at my mobile. i am 100% sure that i have entered the correct password at my mobile. ( verify blackberry id) . I want to setup new email accounts under "setup" . Upon me clicking " email accounts", it prompt for the one key password. I have never faced this issue before. I am very very sure that my password is correct. Pls advise as i need to add email accounts. Other programs are working fine without any password required being prompt. ie. blackberry world
This is very very urgent to be resolved. Pls help. -
Need query to find out whether exactly 2 columns are used in any index ?
Suppose i have two columns ID and Status (or any number of columns ) belongs to table customer...
Now I want to create below index
Ex. create index test1 on customer (ID , Status )
But before creating this index i want to check that whether there is already index on these 2 columns ? May be by other name ?
Need query for this.
Plz help.Hi Shubhangi,
Your requirement is very difficult to fulfill , i have made an attempt to replicate your reqrmnt & write a query wherein you need to compromise on few things , let us see if it works for you
Supply table_name/owner & Number of column on which you want to find indexes
e.g.
select distinct INDEX_NAME,column_name
from dba_ind_columns
where index_name in (select distinct index_name
from dba_ind_columns
where table_name='&table_name'
and table_owner='&owner'
having count(column_name)=&column_count group by index_name);
Enter value for table_name: ADDRESS
Enter value for owner: ASAP
Enter value for column_count: 2
INDEX_NAME COLUMN_NAME
FKIDX_AD__SF_ST_FO SF_STRUC_FORMAT_NM
FKIDX_AD__SF_ST_FO SF_TYPE_NM
SQL> /
Enter value for table_name: ADDRESS
Enter value for owner: ASAP
Enter value for column_count: 3
INDEX_NAME COLUMN_NAME
FKIDX_AD__SF_ST_FO_1 POSTAL_CD
FKIDX_AD__SF_ST_FO_1 SF_STRUC_FORMAT_NM
FKIDX_AD__SF_ST_FO_1 SF_TYPE_NM
Thanks,
Ajay More
http://moreajays.blogspot.com -
Need help urgently with OS X and Windows 7
I need help urgently.
I installed Windows 7 on my macbook pro with OS X Lion. After installing Windows7, I accidently converted the basic volumes to dynamic volumes and now i can't even boot to OS X.
Please help me how to recover my OS X Lion. If I have to delete Windows and bootcamp partitions, it is OK.
I just want to get back my OS X bootable.
Thanksthihaoo wrote:
Sorry
I can't even see the OS X partition when I hold down the "Option" key.
I could see OS X and Windows partitions if I hold down Option key before changing the partitions to Dynamic partitions from Basic in Windows 7.
Now can't see OS X partiton and only see Winodws partition but when I tried to boot onto Windows7 , I got BSOD and macbook pro restart.
Please help
The usual reason for the OSX partition to be invisible under these circumstances is that it has been trashed by Windows.
Do you have a backup? -
Where can i buy a new charger for my ipod with click wheel,the old had burnt.tnk.i need it urgent.tnk
By "charger," do you mean a USB power adapter that plugs into the wall outlet (used to "charge" the iPod), or are you asking about the USB docking cable that connect the iPod to the computer?
-
I forgot my password for Encrypt my Backup how can I reset that please help I really need it Urgently?
If you do not know the passcode then you cannot use the backup
Sorry -
Kindly advice me, I have iphone 5s and I forgot the log-in password (passcode), I tried to open it but my phone give 60 min. to let me try after I fail for the first one. I dont sync. with icloud or itunes. Please I NEED YOUR URGENT HELP!! MY IPHONE IS STILL STUCK.
I can't, look at this image
-
hi
i need query to find out for one perticular row from parent table ,,which references how many rows in how many child tables , and child to child tables. in herirachy fashion.
if anybody know please help meI guess it would be difficult to come up with a generic script to get answer that can help in all situations...you have to see the table definitions in your schema and try...like in case of emp and dept table,
select * from dept where deptno in
(select deptno,count(*) from emp group by deptno having count(*)>1)
(this gives rows from dept table where , for corresponding deptno there are more than one rows in emp table).
Thanks
Nirav -
Need Query - join in same table
I need query for following criteria,
Table : test
No Order
1 a
1 b
1 c
2 a
2 b
2 d
3 e
3 f
3 g
3 h
1 f
2 f
Consider the above table,
1) I will give input order as a,b: It should return No 1,2
No Order
1 a
1 b
1 c
2 a
2 b
2 d
3 e
3 f
3 g
3 h
1 f
2 f
2) I will give input order as f,g,h: It should return No 3
No Order
1 a
1 b
1 c
2 a
2 b
2 d
3 e
3 f
3 g
3 h
1 f
2 f
Please give me the query which will give above result.
ThanksI am not sure I understand you, but it may be this
with test as (
select 1 N, 'a' Ord from dual union all
select 1,'b' from dual union all
select 1,'c' from dual union all
select 2,'a' from dual union all
select 2,'b' from dual union all
select 2,'d' from dual union all
select 3,'e' from dual union all
select 3,'f' from dual union all
select 3,'g' from dual union all
select 3,'h' from dual union all
select 1,'f' from dual union all
select 2,'f' from dual )
select N from test tp where Ord = 'a'
intersect
select N from test tp where Ord = 'b';
with test as (
select 1 N, 'a' Ord from dual union all
select 1,'b' from dual union all
select 1,'c' from dual union all
select 2,'a' from dual union all
select 2,'b' from dual union all
select 2,'d' from dual union all
select 3,'e' from dual union all
select 3,'f' from dual union all
select 3,'g' from dual union all
select 3,'h' from dual union all
select 1,'f' from dual union all
select 2,'f' from dual )
select N from test tp where Ord = 'f'
intersect
select N from test tp where Ord = 'g'
intersect
select N from test tp where Ord = 'h'; -
Hi Folks,
I need query for displaying following:
Adjusted A/R Balance:-
Sum of all open Receivables transactions for the Bill To address for a :Particular_Customer. Total of all open items (Invoice, Credit Memos, CLAIMS, ON ACCTS, UNAPPLIED, DEBIT MEMOS) PLUS any orders that have been approved but not yet invoiced.
================================================================================
Credit Tolerance:-
Percentage of Credit Limit that is the allowed tolerance for exceeding the credit limit. Determined by the following calculation: (Exposure Credit Limit ((Credit Tolerance + 100)* Credit Limit / 100) – Credit Limit)/Credit Limit.
would be very greatful if someone can help on same.
Thanks in advance.
Regards,
gvk.another example would be:
SQL> with emp1 as
2 (select 10 emp_id, 'AAAA' emp_name from dual
3 union all
4 select 22 emp_id, 'BBBB' emp_name from dual
5 union all
6 select 15 emp_id, 'BBBB' emp_name from dual
7 union all
8 select 17 emp_id, 'cccc' emp_name from dual
9 union all
10 select 4 emp_id, 'DDDD' emp_name from dual
11 union all
12 select 5 emp_id, 'EEEE' emp_name from dual
13 union all
14 select 53 emp_id, 'EEEE' emp_name from dual)
15 select emp_id id, emp_name name from emp1;
ID NAME
10 AAAA
22 BBBB
15 BBBB
17 cccc
4 DDDD
5 EEEE
53 EEEE
7 rows selected.
SQL> with emp1 as
2 (select 10 emp_id, 'AAAA' emp_name from dual
3 union all
4 select 22 emp_id, 'BBBB' emp_name from dual
5 union all
6 select 15 emp_id, 'BBBB' emp_name from dual
7 union all
8 select 17 emp_id, 'cccc' emp_name from dual
9 union all
10 select 4 emp_id, 'DDDD' emp_name from dual
11 union all
12 select 5 emp_id, 'EEEE' emp_name from dual
13 union all
14 select 53 emp_id, 'EEEE' emp_name from dual)
15 select row_number() over (order by emp_name, emp_id) rn,
16 emp_id id,
17 emp_name name
18 from emp1;
RN ID NAME
1 10 AAAA
2 15 BBBB
3 22 BBBB
4 4 DDDD
5 5 EEEE
6 53 EEEE
7 17 cccc
7 rows selected.
SQL> -
Need Query for empty partitions
I am having nearly 700 partitions for a table.Now i want to find out only the empty partitions.I need query for that.
Thankx..Not the most elegant solution, but it works:
declare
rc number;
str varchar2(200);
begin
for i in (select table_owner, table_name, partition_name from dba_tab_partitions) loop
str := 'select count(*) from ' || i.table_owner || '.' || i.table_name || ' partition (' || i.partition_name || ')';
execute immediate str into rc;
if rc = 0 then
dbms_output.put_line(i.table_owner || '.' || i.table_name);
end if;
end loop;
end; -
Info Needed. Urgent!
Hello,
I need some urgent info regarding iFS.
1- Does Oracle iFS supports multi master replication?
2- Can iFS Operations can participate in regular Db
transaction?
3- Does iFS maintain ACID properties?
4- Does iFS support online Hotbackup?
5- Do u know of some Big enterprises actually
implementing iFS?
6- Any drawbacks/special requirements to implement iFS?
Thanks a lot.
Tahir.Exactly the same problem here. The worst thing is, before the firmware update it worked fine for me. A HUGE THUMBS DOWN to Apple, we people are having this problem for months now and still no fix. Is it so hard to check if your updates work before releasing them???
I have been a true customer to Apple for over 20 years but it seems like the quality of your products is just going down and down and down and down. Instead of bringing out all this new fancy stuff like MacBook Airs and iPhones, you should first try to make your current product line work properly. I bought the most expensive laptop on this planet and I can't even play or burn a freaking DVD!!! Thanks a lot, Apple.
An angry customer -
Need help urgently, I upgraded my iPhone 4 with new OS 5, but at the last restore failed. Apple Customer Care helped me to resynch my phone with all that available in Library. I've got all back except my Contact no. Pls help guys, thnx Plz guys anyone can help plzz....I've lost all contact and I dont even have any secondary back up also...!!!
If you've had it for less than a year, then it's still under warranty. Take it to an Apple store or an authorized service facility. See http://support.apple.com/kb/HT1434
Maybe you are looking for
-
Friends (as) I have a Macbook Unibody 6.1 (Warrior) hahahaha ... never given problem, it works good. But one night, I was cleaning it, standard procedure for several years. Then I realized that KEYS: 5, t, g, b do not work ... but the other day I CAP
-
How to use parameter of one web context in another one???
Hey guys, I have a web context which is a servlet The other web context is a jsp I also have a login page In the login page after clicking the submit button the control is passed to the servlet. The login page passes the username and password to the
-
Should I create a new catalogue ?
Hi there, I saw some youtube seminar from some top guru in Lightroom. I remember his advise was not to create a multiple catalogue and always stick to one catalogue. I intend to follow his advice but I am now face with this problem below: My 20TB Dro
-
Quicktime 7 Installation Error
I currently have an older version of quicktime installed(6.5.1). Everytime I try to update it to the new version (7.1.0.210) the installation fails because of Error Number 0X80040707, Description DLL function call crashed: QTInstallCode.QuickTimePost
-
Multiple IC Billing from Single Delivery
Hi, we are using SAP IS Retail ECC6 with multiple company inside it. currently, we do PO intercompany (PO Type NB) with delivery type NLCC. management need to split the Billing document from single delivery. company A create PO to company B. delivery