Able to connect to database from SQL plus but not from Oracle SQL developer
Hi
I have two database editions in my system Oracle XE and Oracle EE. I am able to connect to EE database through SQL plus but not through SQL developer.Please tell me how to do it.
All settings are good.I am able to connect to the database before installing XE.I need both for my work(different projects).
And the default listener started is XE's.Please tell me how to change the default one to EE or tell me how to connect through SQL developer??
Regards
Harsha
I Solved it.
I copied the text from listener.ora for EE
and added it in the other one.
It works after restart.
Similar Messages
-
HP officejet Pro 8100 will print from an Iphone but not from my windows laptop
HP officejet Pro 8100 will print from an Iphone but not from my windows laptop. I get an error stating "unable to communicate with printer"
Hi Melatina66,
Welcome to the HP Support forums. I understand that when trying to print from your laptop that you get a communication error message.
To better assist you, would you please provide some further information:
1) How is the printer connected (USB cable, ethernet or wireless)?
2) When you installed the printer on your laptop did you set it up with a USB cable? If yes, did you switch the connection type on the laptop from USB cable to ethernet/wireless?
3) What version of Windows operating system are you running on the laptop (Windows XP, Windows Vista, Windows 7, or Windows 8, etc)?
4) When printing from your iPhone are you using Apple's AirPrint or HP's ePrint app?
Thank you.
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
How do I download a home DVD video disk (-R) to iMovie where I can then edit? I can download from a camera, but not from the disk.
iPhoto pulls off new videos from my iPhone 5 just fine. Does iPhoto automatically come up when you connect your iPhone? If it does, you should see your iPhone under "Devices" in iPhoto and then can select the videos to transfer (select, then Import Selected), though that should happen automatically.
-
Delete emails from iPhone 5 but not from server?
How do I delete emails from iPhone 5 but not from server?
If its a POP account try this:
Go to Settings>Mail, Contacts and Calendars
Tap on your mail account
Scroll to the bottom
Tap on Advanced
Tap on "Delete from server" and set it to "Never" -
couldn't find the adequate forum. I run win 8.1 and the adobe acrobat dc app on my computer doesn't access the doc cloud. I can´t turn the mobile link on. I can access the cloud from my browser, but not from the desktop app. I can access from my mobile app.
Can you please post a screenshot of your Acrobat DC when launched, without opening a PDF?
Thanks,
-Amboo -
how can I delete some music from my iCloud but not from my iTunes in my computer? please??
iCloud doesn't store your music.
-
I do not like to accumulate 3rd party cookies and would simply not check the Accept 3rd Party Cookies box in Preferences. BUT in order to use my bank's web page I have to accept 3rd party cookies from a separate site that manages some of their transactions (like paying bills). This means I have to accept 3rd party cookies and then delete them by hand OR I have to check the accept box each time I use the bank's website and then uncheck it when I am done.
Thanks, but that is not what I was trying to do. I do not want to block cookies from a single site. I do not want to block all 3rd party cookies.
What I want to do is ACCEPT 3rd party cookies only from ONE site but NOT from any other site. -
I have an iPad mini and an iPad 2. I can print email to my HP 6510 from the mini, but NOT from the iPad 2. Both are on the same wi-fi network. I have tried everything I can do including unplugging everything, restarting, etc. Can anyone help?
Thanks so much! My grandaughters played games on the iPad over Xmas and one of their moms said shed restricted their access! Guess they forgot to enable again. Thank you again! Karla
-
Using QuickTime Pro with an .mpg movie, why can I only get it to play from the beginning, but not from any other point in the video? How can I fix this?
Baffled in SBWhat format of MPG is this? Is this an MPEG1 or MPEG2 video? How was the video created?
-
my music has disappeared from my computer but not from my ipad...how do i transfer it back
Use a third party PC/Mac music transfer application like Senuti.
-
I can print from my iPhone but not from my iPad
I Can print from my iPhone, but not from my iPad. The options
select a printer and number of copies are active. The print
button is not active ( hot ).Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
AirPrint Setup and Troubleshooting
http://www.apple.com/support/ipad/assistant/airprint/
How to print from your new iPad using AirPrint
http://www.imore.com/print-ipad-airprint
AirPrint Basics
http://support.apple.com/kb/ht4356
Cheers, Tom -
I can print from my Mac but not from my iPad.
I can print from my Mac but not from my iPad ,any ideas?
you can read here about airprint
http://support.apple.com/kb/HT4356
if the printer don't support that then you need to find a printing app in app store
which will act the role as printer driver for the device to speak with the printer -
I can print wireless from my computer but not from my iPhone or iPad.
I have a Photosmart 7510. I can print from all of our computers but not from my iphone or ipad. I was able to do this at one time. I have tried both printing and emailing the photo to the printer. In both cases, it appears that the email is sent to the printer or in the case of printing, it connects, sends and the Print Center on the iphone says it is printing but it is not printing and the Print Center gets stuck on trying to print that file.
What router are you using?
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
Procedure runs in SQL Plus, but not when called from my Oracle Form
Hi. I have this code to send an email alert as the user updates a record on my base table from my Oracle Form. I use dbms_scheduler so that it's submitted as a background job and so the email processing does not delay my Oracle Form from saving quickly. If I submit this code in SQL Plus it executes and I receive the email as expected.
begin
dbms_scheduler.create_job (
job_name => 'IMMEDIATE_JOB',
job_type => 'PLSQL_BLOCK',
job_action => 'begin TTMS.dropperVacationConflict_Notify (62547, ''01-SEP-11'', ''02-SEP-11''); end;',
number_of_arguments => 0,
start_date => sysdate +1/24/59, -- sysdate + 1 minute
enabled => TRUE,
auto_drop => TRUE,
comments => 'Immediate, one-time run');
end;However if I submit this code from a Post-Update trigger in my form the code runs without error, but my email is never received (the same parameter values would be passed to this trigger):
begin
-- Submit the email notification in the background so as to not slow down the screen while saving.
dbms_scheduler.create_job (
job_name => 'IMMEDIATE_JOB',
job_type => 'PLSQL_BLOCK',
job_action => 'begin TTMS.dropperVacationConflict_Notify (:dropper_vacations.dropper_id, :dropper_vacations.begin_dt, :dropper_vacations.end_dt); end;',
number_of_arguments => 0,
start_date => sysdate +1/24/59, -- sysdate + 1 minute
enabled => TRUE,
auto_drop => TRUE,
comments => 'Immediate, one-time run');
end; Any ideas why this might be happening?Wow, so I changed the two procedures so that I'm only passing in one number parameter and one char parameter...
CREATE OR REPLACE procedure TTMS.job_vacationconflict_notify (p_dropper_id number, p_other char) IS
CREATE OR REPLACE PROCEDURE TTMS.dropperVacationEmailURL_new (in_dropper_id number, in_other char) ISIf I execute it like this it works and I get the email:
TTMS.job_vacationconflict_notify(62547, 99999);or like this it works and I get the email:
TTMS.job_vacationconflict_notify(62547, '99999');But if I execute it like this (I get no errors) the email is not sent:
TTMS.job_vacationconflict_notify(62547, 'ababa');So this problem really has nothing to do with date formats. It seems to have to do with whether parameter two has characters in it!!! What the heck.
Any ideas on this?
Here is the procedure I'm calling:
CREATE OR REPLACE procedure TTMS.job_vacationconflict_notify (p_dropper_id number, p_other char) IS
begin
dbms_scheduler.create_job (
job_name => 'IMMEDIATE_JOB',
job_type => 'PLSQL_BLOCK',
job_action => 'begin TTMS.dropperVacationemailurl_new ('||p_dropper_id||','||p_other||'); end;',
number_of_arguments => 0,
start_date => sysdate +1/24/59, -- sysdate + 1 minute
enabled => TRUE,
auto_drop => TRUE,
comments => 'Immediate, one-time run');
end;
/And the above procedure is calling this procedure which should be sending the email alert:
CREATE OR REPLACE PROCEDURE TTMS.dropperVacationEmailURL_new (in_dropper_id number, in_other char) IS
myguid varchar2(15):=null;
pcm_contact varchar2(3):=null;
guid_contact varchar2(15):=null;
conflict_cnt number(8):=0;
-- Various declarations
PSENDER VARCHAR2(200); -- From
PRECIPIENT VARCHAR2(200); -- To
P_CC_RECIPIENT VARCHAR2(200); -- CC
P_BCC_RECIPIENT VARCHAR2(200); -- BCC
PSUBJECT VARCHAR2(200); -- Subject
PMESSAGE VARCHAR2(6000); -- Message Body
PPARAMETER NUMBER; -- Parameter Value
guid_valid varchar2(15); -- Used to grab the validation value of
-- Grab name details of e-mail targets
cursor targets is
select guid, initcap(first_name) first_name, initcap(first_name)||' '||initcap(last_name) fullname
from pwc_employee
where upper(guid) = upper(guid_contact);
BEGIN
select count(*)
into conflict_cnt
from dropper_bundle_assign
where
dropper_sched = in_dropper_id and
trunc(sched) <> '31-DEC-29' AND
trunc(sched) between '01-SEP-11' and '02-SEP-11' and
trunc(sched) > trunc(sysdate);
select distinct pcm
into pcm_contact
from dropper_bundle_assign
where
dropper_sched = in_dropper_id and
trunc(sched) <> '31-DEC-29' AND
trunc(sched) between '01-SEP-11' and '02-SEP-11' and
trunc(sched) > trunc(sysdate);
select guid
into guid_contact
from pwc_employee
where initials = pcm_contact;
-- Ensure required parameters have been passed
if guid_contact is not null
and in_dropper_id is not null then
Begin
select guid
into guid_valid
from pwc_employee
where upper(guid) = upper(guid_contact);
Exception
when no_data_found then
raise_application_error(-20000,'Invalid Recipient. Please check the employee table. Please try again.');
End;
-- In the event there are multiple targets then we will loop thru and send individual emails
for thisone in targets loop
PSENDER := lower(user)||'@us.ibm.com';
PRECIPIENT := lower(thisone.guid)||'@us.ibm.com';
P_CC_RECIPIENT := lower(thisone.guid)||'@us.ibm.com';
P_BCC_RECIPIENT := 'ssbuechl'||'@us.ibm.com';
PPARAMETER := TO_NUMBER(lower(in_dropper_id));
PSUBJECT := 'TEST: Dropper Vacation '||in_other||' Conflict Notification for dropper '||in_dropper_id||' - Action Required';
PMESSAGE := thisone.first_name||'-<br><br>There is an induction conflict due to a new or updated dropper vacation.<br><br>Click here to the dropper''s vacation conflicts: <u><a href="http://9.35.32.205:7777/forms/frmservlet?config=TTMSMENU&form=dropper_vacations&otherparams=p_dropper='||PPARAMETER||'">Dropper Id: '||PPARAMETER||'</a></u> (note: use your Oracle credentials when prompted for log-on information).<br><br>Thanks.';
SEND_MAIL ( PSENDER, PRECIPIENT, P_CC_RECIPIENT, P_BCC_RECIPIENT, PSUBJECT, PMESSAGE ); -- Procedure to physically send the e-mail notification
end loop;
else
raise_application_error(-20001,'Recipient and Parameter Value are required. Please try again.');
end if;
exception
when no_data_found then
raise_application_error(-20002,'Note: Email will not be sent because no PCM was identified as the manager or the PCM does not have a record in the Employee table. See ITS for assistance.');
when too_many_rows then
raise_application_error(-20003,'Note: Email will not be sent because multiple PCMs manage this dropper. Please notify each PCM manually.');
END dropperVacationEmailURL_new;
/Edited by: sharpe on Aug 17, 2011 4:38 PM
Edited by: sharpe on Aug 17, 2011 5:03 PM -
SQL statement works with SQL/Plus - but not with ODBC
Hi all,
I have a rather copmplex SQL statement:
BEGIN
UPDATE ContentDataTable
SET SYMBOLIC_PATH_PARENT = N'/Test',
SYMBOLIC_NAME = N'HAWK01.GIF',
VERSION_NUMBER = 1 +
SELECT MAX(VERSION)
FROM
(SELECT MAX(VERSION_NUMBER) AS VERSION
FROM ContentDataTable WHERE
SYMBOLIC_PATH_PARENT = N'/Test' AND
SYMBOLIC_NAME = N'HAWK01.GIF'
UNION
SELECT MAX(VERSION_NUMBER) AS VERSION
FROM RevisedContentDataTable WHERE
SYMBOLIC_PATH_PARENT = N'/Test' AND
SYMBOLIC_NAME = N'HAWK01.GIF'))
WHERE SYMBOLIC_PATH_PARENT = N'/Test' AND SYMBOLIC_NAME = N'HAWK02.GIF' AND VERSION_NUMBER = 1;
END;
It works fine in SQL/Plus or SQL Worksheet and does what it should do ;-)
But when using it via ADO (ODBC Driver) I get the following error:
PLS-00103 found 'string' but expected one of the following: 'string'"}
Any idaes?
Thanx,
Christian
nullPardon my ignorance, but what's the significance of the N'<string>' construction? That's not one I'm familar with.
Justin
Maybe you are looking for
-
Mac crashing more and more frequently since Mavericks - Why?
My MacBook Pro has been crashing frequently since Mavericks - just freezing up, no keyboard or mousepad reaction - and it is incompatible with software I rely on, such as older versions of Endnote. Also little things are delayed, such as the file an
-
Reg: JDBC Sender Adapter Locking everytime
HI Experts, I am facing one issue regarding Sender JDBC Adapter. I already gone through few SDN LInk and followe the SAP Note 1083488 and few other links and blogs but there is no Use. I already kept JDBC SENDER>Advance>TASKTIMEOUT = 0 because as per
-
I can hear my ipad turns on and off but it shows a black screen?
-
Lightroom4 Mac OS 10.9(Mavericks)でスライドバーのカラー表示が消えた
お世話になります. Macbook Pro 2011 Late 13inchでLightroom4(Ver. 4.4)を使用しています. OS 10.9(Mavericks)にアップデートしたところ.Lightroom4の現像モジュールにおいて 露光量.WB.色被り補正.個別カラー等のスライドバーのところで. カラー表示が出なくなってしまいました. キャプチャした画像を貼っておきます. キャプチャ画像右側のスライドバーのカラー表示がなくなっています. 例えば.WBのところであれば.以前であればバ
-
Dreamweaver Won't Load - Please Help
When dreamweaver is loading it gets to "intializing extension data" and then closes. I have tried repairing, uninstalling and reinstalling, and even reimaging my machine with a fresh intall of xp professional. When I reinstalled dreamweaver after tha