Hr and scott in oracl 12 c
hi all ,
i know oracle 10 g excelent ,
but iam new to oracle 12 c
after installtion i tried to connect to sql developer
i tried to make connection finally i do the connection with auto generated local connections
connect as SYSTEM ,system-orcl
have alook around user in all these connections , seems that the db is CDB
iam trying to connect to scott and hr iknow that they are Pdb
after search if ound this way
CREATE TRIGGER open_all_pdbs
AFTER STARTUP
ON DATABASE
BEGIN
EXECUTE IMMEDIATE 'alter pluggable database all open';
END open_all_pdbs;
it's created iam trying to connect like this
CONN SYS/orcl @pdborcl as sysdba
prombet appear asking about name (sys)-another prombet asking about password(orcl)-another one appear asking enter tns_admin (do n't know what 's this ) i leav it blank then
error appear as error at line 1 connection faild
i tried another way connectiong from plsql
by writing connect sys@pdborcl as sysdba
asking about password and then ora 12154 apperas said tns could not resolve the connect identifier specified
any one have any idea about connectiong to hr or scott through sql dev or through plsql ?
plz do not mention for this link https://forums.oracle.com/message/11199727#11199727 as it 's helpfull for me
hope that any one answer me
thanks and regards
any one have any idea about connectiong to hr or scott through sql dev or through plsql ?
plz do not mention for this link https://forums.oracle.com/message/11199727#11199727 as it 's helpfull for me
hope that any one answer me
Why not mention that link? You said you wanted help with your problem and my reply at that link fully explains your problem and what you have to do to solve it. There are also links to two more threads that have more info about your issue.
This is a sql developer issue, so you should repost it in the sql developer forum.
https://forums.oracle.com/community/developer/english/development_tools/application_development_in_pl_sql/sql_developer_(not_for_general_sql_plsql_questions)
You can use a BASIC connnection in sql developer instead of the TNS connection you are trying to use. Those links explain how to do that.
Similar Messages
-
Oracle8 pl/sql programmin by scott urman, oracle press book enough???
hi everybody, i have oracle8 pl/sql programmin by scott urman, oracle press book, which covers releases 7 through 8. is this book enough for me to prepare for the exam "introduction to oracle 1z0-001". please give your views. thanks..
I recommend you check the exact objetives here: http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=1000255&lang=ESA&p_exam_id=1Z0_001 and compare them with the objetives describe in the book. Currently I have 10 certifies and I have done the same always. I check the objetives in the Oracle web site and I study across Oracle Documentation. That is one of the best way to get a strong prepartion and it is shippper.
Greetings
Joel Pérez
Oracle Ace Member
DBA Oracle -
Best Practice to fetch SQL Server data and Insert into Oracle Tables
Hello,
I want to read sqlserver data everry half an hour and write into oracle tables ( in two different databases). What is the best practice for doing this?
We do not have any database dblinks from oracle to sqlserver and vice versa.
Any help is highly appreciable?
ThanksWell, that's easy:
use a TimerTask to do the following every half an hour:
- open a connection to sql server
- open two connections to the oracle databases
- for each row you read from the sql server, do the inserts into the oracle databases
- commit
- close all connections -
Difference between upgrdae and migration about oracle database
Difference between upgrdae and migration about oracle database
please give the commentsWell, the question is almost philosophic...<br>
In 9i, there is a Migration Guide whereas in 10g there is a Upgrade Guide.<br>
Furthermore, in 9i, there is the command line startup migrate whereas in 10g that's startup upgrade.
Somebody think upgrade when go to new release, and migration when go to new version.<br>
Others think upgrade when new version replace database in place, and migration when new version include a move of database.<br>
Another point of view is : upgrade is for technical, and migration for application/data.<br>
<br>
Well, after these explanations, your upgrade/migratation notion will not be more clear, but I think that is not very important, only a terminology game. The most important is to know what you need : new version or new release.<br>
<br>
Nicolas. -
Difference between Null in c and Null in Oracle
Hi,
Can any one tell me the difference between NULL in C language and NULL in Oracle
Rds,
Naga> Null is some garvage value in oracle.
Not sure what you mean.
AFAIK and not being a C programmer myself, isn't null CHR(0) in C? I'm not sure the two concepts (SQL null and C null) have anything in common. -
Migration MS ACCESS FORMS and Reports to Oracle (Java or Forms or Reports)
Hello ,
can someone tell me, how i can migrate a whole MS ACCESS 2000 mdb (with forms and Reports) to Oracle.
I think i have first migrate the Access DB with the OMWB to Oracle and in the next Step to convert the VBA Code to JAVA or Forms9i.
BUT Is there a tool available for Migrating VBA code like the OMWB ????I don't know if this is an obvious question, but do you have MS Access 2k installed on the machine you are trying to run this from? I'm assuming yes.
If you do and there is still a problem, you should log a ticket for support who will take your mdb and help out with the issue for you.
Many thanks
Barry -
Loading MS Access Table and Data into Oracle
Hi,
I have few tables in MS Access. I want to create same layout of tables in Oracle and want to populate data from MS Access tables to Oracle tables.
Please let me know if there is a way by which I can create tables and load data automatically (thru some option or script)?
I have Oracle 10g database and its clients.
Thanks in advance,
Rajeev.You can use Oracle migration workbench
Loading MS Access Table and Data into Oracle
It´s very easy to use and good to import
regards,
Felipe -
How to extract data from xml and insert into Oracle table
Hi,
I have a large xml file. which will have hundreds of the following transaction tags having column names and there values.
There is a table one of the schema with coulums "actualCostRate","billRate"....etc.
I need to extract the values of these columns and insert into the table
<Transaction actualCostRate="0" billRate="0" chargeable="1" clientID="NikuUK" chargeCode="LCOCD1" externalID="L-RESCODE_UK1-PROJ_UK_CNT_GBP-37289-8" importStatus="N" projectID="TESTPROJ" resourceID="admin" transactionDate="2002-02-12" transactionType="L" units="11" taskID="5017601" inputTypeCode="SALES" groupId="123" voucherNumber="ABCVDD" transactionClass="ABCD"/>
<Transaction actualCostRate="0" billRate="0" chargeable="1" clientID="NikuEU" chargeCode="LCOCD1" externalID="L-RESCODE_US1-PROJ_EU_STD2-37291-4" importStatus="N" projectID="TESTPROJ" resourceID="admin" transactionDate="2002-02-04" transactionType="L" units="4" taskID="5017601" inputTypeCode="SALES" groupId="124" voucherNumber="EEE222" transactionClass="DEFG"/>Re: Insert from XML to relational table
http://www.google.ae/search?hl=ar&q=extract+data+from+xml+and+insert+into+Oracle+table+&btnG=%D8%A8%D8%AD%D8%AB+Google&meta= -
Install and uninstall of Oracle 11g R2 on Windows 2008 Server
Hi,
I installed Oracle 11g R2 and set up a database on Windows 2008 Server following the steps in the Installation Guide and it was successful. After uninstalling the product and doing a re-install, the step to configure the Net Configuration Assistant fails with the following msg.
Failed to allocate port(s) in the specified range(s) for the following process(es): JMS
[5540-5559], RMI [5520-5539], Database Control [5500-5519], EM Agent [3938] | [1830-1849]
Also, when I ran "netca.bat" and tried to reconfigure the Listener, it indicated the default port 1521 is being used. I ran "netstat -an" and do not see the port listed.
Questions:
What is the best way to check if something was leftover from my previous install of Oracle that is using the default ports?
What do I need to do to ensure a re-install is successful?
Uninstalling Oracle -
1. Log in as the Administrator.
2. Stop all Oracle Services.
3. From a cmd window, run C:\app\oracle\product\11.2.0\dbhome_1\deinstall\deinstall.bat.
4. Delete the C:\app\oracle directory.
5. Remove the following registry entries as per http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e16777/toc.htm:
HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle Services for MTS
HKLM\System\CurrentControlSet\Services\EventLog\Application\OracleDBConsole<SID>
HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.<SID>
HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.VSSWriter.<SID>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11Johan, after I uninstalled Oracle, I checked to ensure there were no remaining Oracle services remaining.
Srini, below are the steps I followed to uninstall Oracle. In step 3, I just ran deinstall.bat without any parameters and provided required information as prompted. Note, I uninstalled using the Administrator user and not the "oracle" account that I used to install Oracle.
Uninstalling Oracle -
1. Log in as the Administrator.
2. Stop all Oracle Services.
3. From a cmd window, run C:\app\oracle\product\11.2.0\dbhome_1\deinstall\deinstall.bat.
4. Delete the C:\app\oracle directory.
5. Remove the following registry entries as per http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e16777/toc.htm:
HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle Services for MTS
HKLM\System\CurrentControlSet\Services\EventLog\Application\OracleDBConsole<SID>
HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.<SID>
HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.VSSWriter.<SID>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11 -
Statement for Lock and Unlock an Oracle user (Urgent)
Hi DBAs.
I just want to know about the statement used for lock and unlock the Oracle user thru sysdba suer.
Thanks
HassanHey,
SQL> alter user <USERNAME> account lock;
and
SQL> alter user <USERNAME> account unlock;
Cheers,
Marcello M.
Sorry Justin, same answer........
Message was edited by:
Marcello M. -
How to find Fragmentation of tables and tablespaces in oracle 8i
Hi,
How can i measure the fragmentation of Tables and Tablespaces in oracle 8i.
Do any one have any handy script to find the same.
What are the attributes to be determined to do health checkup of a database.how many such empty blocks are there in the table and of what size.Again Tom Kyte reference :
http://asktom.oracle.com/pls/ask/f?p=4950:8:7760471022221195640::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:231414051079
For tablespace, fragmentation is the regular termAbout tablespace, the link from post above can help.
Nicolas. -
How to read the data from XML file and insert into oracle DB
Hi All,
I have below require ment.
I will receive data in the XML file. then i need to read that data and insert into oracle tables. please let me know how this can be handled.
Many Thanks.Sounds a lot like this question, only with less details.
how to read data from XML variable and insert into table variable
We can only help if you provide us details to help as we cannot see what you are doing and only know what you tell us. Plenty of examples abound on the forums that cover the topics you seek as well. -
Extract the data from SQL Server and Import into Oracle
Hi,
I would like to run a daily job that will export the table data from SQL server table (it will be only one or two table) and Import back into Oracle table (it might one or two table tables).
Could you please guide me that how can i do this using either sql server or oracle?
We have oracle 9.2 and sql server 2005.
Normally i do from flat file which is generated by source destination nand i dump into oracle using sql*loader but this time I have to directly extract/export the data from MS Sql server and load into Oracle table, mostly it will reload so i might doing any massaging data during the load.
If you show me the detail approach, it will be really appreciated.
I have access to Sql server but i don't how to use sql server to do this or using oracle as a daily job even becuase have to schedule the job for this as it will be a daily job.
Thanks,
poratipsUnless you can find an open source ODBC driver for SQL Server that runs on Solaris (and I wouldn't be overly hopeful there) Heterogeneous Services would require that you license something-- a third party ODBC driver, a new Oracle instance, or an Oracle Transparent Gateway.
As I stated below, you could certainly use SQL Server's ETL tool, DTS. Oracle's ETL tools would require additional licensing since you're just on 9.2. You could also write a small application (Java or otherwise) that connected to both databases and transferred the data. If you're particularly enterprising, you could load the SQL Server Type 4 JDBC driver into Oracle's JVM and write a Java stored procedure that connected to the SQL Server database via JDBC, but that's a pretty convoluted approach.
Justin -
Firefox closing down when trying to pay for items on amazon and scotts
since last night everytime i click to go to pay for items on amazon and scotts and some other dites it says firefox has encountered an error and needs to close,seems to be fine til it needs to load payment page,someone please help its highly annoying now
Hi..
No, I don't think you need to rebuild the computer.
From your Safari menu bar top of your screen click Safari > Preferences then select the Security tab.
Click Show Cookies. Type facebook in the search field top right corner of that window then click Remove All > Done. That will remove Facebook cookies.
Now back to the menu bar, clck Safari > Empty Cache
Quit and relaunch Safari.
See if that made a difference...
If that didn't help, open the Finder.
From the Finder menu bar click Go > Go to Folder
Type this exactly as you see it here: ~/Library/Safari
Click Go.
Move these files from the Safari folder to the Trash.
LastSession.plist
History.plist
Downloads.plist
Quit then relaunch Safari. Try Facebook.
For pop ups... Safari menu bar again. click Safari > Preferences then select the Security tab.
You can enable or disable: Block pop-up windows anytime.
edited by: cs -
How to integrate from MS SQL SERVER 2005 and Flatfile to Oracle 10g.
Hi
I am new to ODI. I am trying to load sample data from MS SQL Server 2005 and Flatfile to Oracle 10g.
1. I have created three models.
1-1. SQL2005 (SRC_CUSTOMER table)
1-2. Flatfile (SRC_AGE_GROUP.txt & SRC_SALES_PERSON.txt)
1-3. Oracle 10g (TRG_CUSTOMER table)
You may know I got those environments from the ODI DEMO environment.
2. I could able to reverse the tables also.
3. I have created an interface which contains source table (from MSSQL 2005), Flatfile and target table from ORACLE model.
4. I have imported the knowledge modules. But I am confusing in selecting the knowledge modules to source and target tables.
I've selected LKM File to SQL for flatfile model.
I've also selected LKM SQL to SQL for MSSQL 2005 model and IKM Oracle Incremental Update for the target table (ORACLE).
I've also implemented the interface that I created. It worked without errors. But there is no data in target table which is TRG_CUSTOMER.
I really would like to know what happened and what the problems are.
You can email me [email protected]
Thanks in advance
Jason Leewhat did give for SRC_AGE_GROUP SRC_CUSTOMER join condition
if it is
(SRC_CUSTOMER.AGE=SRC_AGE_GROUP.AGE_MIN) AND SRC_CUSTOMER.AGE=SRC_AGE_GROUP.AGE_MAX
give it as
(SRC_CUSTOMER.AGE>SRC_AGE_GROUP.AGE_MIN) AND SRC_CUSTOMER.AGE<SRC_AGE_GROUP.AGE_MAX
Maybe you are looking for
-
Lose connection to wifi every few minutes, after iOS 7.1 update
I just recently updated my iPad to iOS 7.1 My iPad is the model w retina display, cellular capable but with the data plan currently disabled. Immediately following that update, I can no longer stay connected to my home wifi. My connection lasts from
-
How can we add a button on our ALV Grid
Hello, I need to add a button on the ALV Grid and write a code on that button to download a file on the desktop of the user's machine. How can we write a code for the same and what would be the syntax of that code.
-
My stolen Iphone 4S (DNPGN90ADTDF) is registered under another apple ID (not mine). I have Apple ID but I have never registered my Apple products on this web site. One of them Iphone 4S has been stolen and I wanted to inform the administration and us
-
my ipod touch 4th generation is disabled for 45 years how can i reset it?
-
ICC profile description is invalid
I loaded PSE 8 on my Dell M1530 running Vista. Whenever I try to start PS8 I get "could not initialize Photoshop because the ICC profile description is invalid" and the program quits. I've tried removing and reinstalling PSE8 and it still errors.