Oracle 11g XE and SQL Developer
Hello:
Very new here. I don't know where to post anything. My apologies, but I'm all over the room.
I installed 11g and downloaded SQL Developer (not even sure if it should be "installed" because it's just a zip file).
In any case, on the SQL command line I get SYSTEM CONNECT, then my password. I get the following error:
ORA 12154: TNS could not resolve the connect identifier specified.
Also, the "get started" link not working anymore. Don't know what's happening, or if it is specific to my laptop. I tried to connect two days without result.
Thanks for any help.
Your headset does not work: OracleXETNSListener service started?
Tags: Database
Similar Questions
-
Subversion integration wit jdeveloper and sql developer failure
Hello guys!
I'm really tired of trying to make this work, finally, I ask you for help. I implement subversion and I can't use jdev and sqldev integration. No matter what I try, the menus of the version control menu items are never released. I can application version in my subversion repository perfectly connected, can create new folders in any repository (I can also create repositories the of in j and sql developer and work with them), can perform a checkout complete BUT, when the application withdraws and reappears in the browser of the application there is not overlap of icons for files , or review or any what version submenu when you right-click. I really tested almost all combinations of versions, I was hoping that the new versions of the developers would have been useful in fact, but they do not have.
I have a fresh install of jdeveloper 11.1.1.2.0, a new downloaded and unpacked developer sql 2.1 and a new installation of subversion 1.6.2 (Setup-Subversion - 1.6.2.msi of the Tiger, I tried this version in the end just because the SVNkit 1.3.0, that works with this version) and it does not work. I'm really lost now, so I understand that the best approach would be me following a procedure well known and well tested for details see WTH am I'm doing wrong. Unless someone identify my problem and can offer me a solution, that would be nice but I was not to exhaustively search with no luck.
I'm ready for your questions or wisdom, please do not hesitate to ask what I should have said and I thank very you much in advance!Oh my. SVN_ASP_DOT_NET_HACK is a horrible hack used when using Tortoise SVN (according to me, it has been used to get around some nonsense with Visual Studio). Unset this environment variable! [url http://blog.dotsmart.net/2008/02/19/moving-on-from-svn_asp_dot_net_hack/] This can help. You should be able to use the recent plu VisualSVN server and with 11.1.1.2 (assume you meant 11 and not 10); I tested it, and that's fine.
John
-
Remote debugging with Apex and SQL Developer
Hello
I try to turn on remote debugging with Apex and SQL Developer.
I can debug the PL/SQL procedure when it is called from SQL * PLUS, but when I call the procedure from Apex 'Process', the debugger does not stop at breakpoints.
I checked that the procedure is called Apex process as I can see 'things' happening in the procedure but the debugger does not stop at breakpoints. The program being debugged (session Apex) manages to fix the SQL Developer debug listener.
Apex (OnSubmit) process
---------------------------
BEGIN
DBMS_DEBUG_JDWP. CONNECT_TCP ('10.176.20.225', 4000);
DONOTHING;
DBMS_DEBUG_JDWP. DISCONNECT;
END;
Procedure
-------------------------------------
CREATE OR REPLACE
PROCEDURE DONOTHING ACE
testvar VARCHAR2 (100);
BEGIN
update cross-set test_data = 'I came here 11111'; -It is run
commit;
testvar: = "aaa"; -bREAK POINT IS HERE
DONOTHING END;
/
Thanks in advance,
Paresh
Published by: pyadav1 on November 19, 2008 15:19Hello
Sorry... seems I was too hasty in reading your question...
You also gave * DEBUG ON [Parsingschema]. [procediurename] * APEX_PUBLIC_USER (or ANONYMOUS or HTMLDB_PUBLIC_USER). Otherwise, the behavior is exactly the same as you have described...
The privilege of the DEBUGGING SESSION to CONNECT need to given to the schema analysis but the APEX_PUBLIC_USER schema needs debug privilege on the function or procedure...
Does that help?
Carsten-
-
Installation of Oracle and SQL Developer data
Hi, I was looking for some help/advice with regard to the installation of an SQL Developer and Oracle database on a 32-bit Windows 7 computer. I have been asked to create a database to store the data that I create through reports in Excel format, so I'm required to create a local database but do not know how to do this. Also do not know if I install the Express edition or Oracle 11 g R2 database. If someone could please advise on how I can get this has begun or even links/tutorials that guide me in getting this installed with a localhost.
Thanks in advanc.
318f20b8-a3d0-4FB4-bb0f-73785250b7d4 wrote:
Thanks guys, I managed to install Oracle 11 g 2 and I installed a database using dbca tool and I can connect to my database. One thing I noticed is that when I look in my tables in sql developer I see plenty of tables different i.e. def$ _, logmnr_, etc. and I don't know why did I expect an empty table.
Thank you for all your help btw.
One of the fundamentals of relational databases is that they use their own facilities to manage themselves. This means that the database management system uses the database to manage data on the database using exactly the same facilities (tablespaces, tables, user accounts, procedures, etc.) that an application uses to store application data. See "data dictionary" so there is no such thing as a completely database empty.
As said by others, you do NOT want to create your own tables under patterns oracle (users) or in the disc spaces logics own oracle (esp. SYSTEM and SYSAUX). Create your own account user/schema. Create your own tablespace. Do this by default tablespace for the user.
-
Creation of a new database Oracle and Sql Developer
Hello
I am a newbie to Oracle and and a beginner not so Sql Server and Visual Studio.
I am trying to learn Oracle on my local machine. I want to create a new Oracle database and start learning from here.
I downloaded the Client Oracle sql developer and maker of data. Could someone please provide some guidance on how to create an Oracle database?
From the responses, it seems that none of the articles I've mentioned actually creates a database. SQL Server provides a free download, also a developer version for a small fee. What specific Oracle product would be better to provide this type of service?
Thank you
Mark
Published by: user8948230 on January 7, 2010 09:50You can download the company for educational use via the OTN site. There is also the Express edition, which includes limits on the OTN site as well.
Whatever it is, read the agreements to make sure that you use it properly.
-
convert DB2008 SQL express oracle 12 c by sql developer
Hi friends,
I created a SQL 2008 declare for the prod database. I run OMWB_OFFLINE_CAPTURE and receive an ocp source file complete
Transform ocp Oracle express12c sql developer (3.2.20.10) but failed with error DB
oracle.dbtools.metadata.persistence.PersistenceException: ORA-06550: line 1, column 14: PLS-00201: identifier ' MIGRATION. GATHERCONNECTIONSTATS' must be declared ORA-06550: line 1, column 7: PL/SQL: statement ignored
Research on the basis and the migrated tables revised, I found that I only migrated system SQL sql objects and does not see any user with dbo SQL prefix object
OMWB_OFFLINE_CAPTURE test its backsql P@$$w0rd1234
The SQL server database was generated by s a software vendor and we know not what user has application data.
How can I get sql tables dbo server in ocp for the migration file.
Thank you
newdba
Hello
I ran a test on my system using SQL * 3.2 Developer and don't see the problem you have.
Can I check what you have done and the steps to follow?
1. you have generated the ocp in the menu - Tools - Migration file - Create Database capture Scripts
2. after the execution of OMWB_OFFLINE_CAPTURE you see 2 directories under the directory chosen for migration?
You should see - 2 directories - 'master' and 'backsql.
3. in the migration wizard.
Tools - Migration - migration
for the 'Source' database, you chose "offline" and then the file .ocp is generated - sqlserver2008.ocp
4. in the next screen "Capture" you shoud see the database "backsql" in the column "databases selected. If it of in "Databases" then move it across.
If that's what you see migration should precede as planned.
5. in the next screen - target database - choose "offline" and check the generated scripts.
They should contain instructions create for all objects in the database 'backsql.
If this isn't what you see then please detail the exact measurements you have taken.
Kind regards
Mike
-
Hello world. Need help.
Sorry for my English :-)
I try to use TimesTen 11.2.1. (Windows-32)
I install it and connect (use ttIsql). Everything is OK.
Command > Connect ttSOP;
Successful login: DSN = ttSOP; UID = gdi; data store = C:\TimesTen\tt1121_32\databas
e\ttSOP; DatabaseCharacterSet = CL8MSWIN1251; ConnectionCharacterSet = US7ASCII; PILOT
= C:\TimesTen\tt1121_32\bin\ttdv1121.dll; LogDir = C:\TimesTen\tt1121_32\logs; TypeMo
= 0; PLSCOPE_SETTINGS = IDENTIFIERS: NONE;
(Default AutoCommit = 1).
Command >
But, when I do a test plug on TimesTen with SQLDeveloper (Version 2.1.0.63.73), and then I got an error message:
Cannot connect to the database. The error encountered is: TimesTenhttp://TimesTen 11.2.1.4.0 DriverTimesTenTT8517 ODBC: cannot join the memory shared PL/SQL; PLSQL_MEMORY_ADDRESS invalid or already underway of the file "db.c", lineno 9795 - use, procedure 'sbDbConnect '.
Variable PLSQL_MEMORY_ADDRESS has the value by default (5b8c0000)
THX, responsible to no idea :-)
PS. does anyone know another program to connect to Oracle TimesTen? (for example, SQL, PL/SQL Developer, developer TOAD, etc.)
Edited by: user4661491 the 07.01.2010 03:10Hi Dan,.
I think you found this error in SQL Developer, because the virtual address specified in PLSQL_MEMORY_ADDRESS has been occupied by a segment shared memeory or a shared library in the process SQL Developer space. You will need to find a different virtual address for PLSQL_MEMORY_ADDRESS. This issue impacts of related only, direct connections and it tends to be a problem on 32-bit OS, particularly Windows.
My recommendation would be to set up a client DSN and use it for you connect with your local of TimesTen database when you use SQL Developer.
Simon
-
Autocommit DDL: difference between SQL and SQL Developer * more?
I asked this in the SQL forum (commit auto DDL: difference between developer SQL and command-line client?), but it has suggested it might be a problem in SQL Developer, so I thought I would ask here.
I'm trying to understand what exactly happens when an error occurs when a transaction is committed because of a DDL statement. I noticed that with SQL Developer, if the DDL statement CREATE TABLE, the statement is executed, even if the DML statements which I entered before CREATE TABLE violates a deferred constraint, so that the transaction fails. In SQL * Plus, it's not the case: the table is not created. I have no automatic validation. I'm using Oracle 10 g XE.
That's what happens in SQL * more:
If I put the same code in SQL Developer (versions 1.5.5 and 2.1.0.63), the table is created.SQL> create table table1(a number); Table created. SQL> alter table table1 add constraint table1_a_uq unique(a) deferrable initially deferred; Table altered. SQL> insert into table1 values(1); 1 row created. SQL> commit; Commit complete. SQL> insert into table1 values(1); 1 row created. SQL> create table table2(b number); create table table2(b number) * ERROR at line 1: ORA-02091: transaction rolled back ORA-00001: unique constraint (BOEK.TABLE1_A_UQ) violated SQL> select * from table2; select * from table2 * ERROR at line 1: ORA-00942: table or view does not exist
This is my script:
And this is the output of SQL Developer:create table table1(a number); alter table table1 add constraint table1_a_uq unique(a) deferrable initially deferred; insert into table1 values(1); commit; insert into table1 values(1); create table table2(b number); select * from table2;
As you can see, the table is created in SQL Developer, but not in SQL * more.create table succeeded. alter table table1 succeeded. 1 rows inserted commited 1 rows inserted Error starting at line 9 in command: create table table2(b number) Error report: SQL Error: ORA-02091: transaction rolled back ORA-00001: unique constraint (BOEK.TABLE1_A_UQ) violated 02091. 00000 - "transaction rolled back" *Cause: Also see error 2092. If the transaction is aborted at a remote site then you will only see 2091; if aborted at host then you will see 2092 and 2091. *Action: Add rollback segment and retry the transaction. B ---------------------- 0 rows selected
I wonder why it's different.Well Yes, it is a slightly different situation, because you issue 1 statement that executes internally 2 statements.
But the problem is the same: the error handling. Where sqlplus rejects again (implicit) statements, sqldev goes ahead and runs them anyway. Personally, I'd say sqldev is more consistent and sqlplus is not, because run the following instructions (explicit).Kind regards
K. -
Just downloaded sqldeveloper EA 3 - and the ability to drag a quick pattern in data for a logical diagram maker is gone.
Is this even possible now in separate data Modeler product?It is still there - you can drag & drop browser SQL Developer only tables in relational model empty diagram. Pressing Ctrl key will change the child behavior - all tables is also imported.
You can drag & drop of the types of objects on the types of data model diagram.
Now you have more possibilities - to reorganize/format and diagram to print, generate the DDL.Philippe
-
I can't to table and its contents when I write SELECT * FROM HR. EMPLYEES, but I cannot see this table and others like that when I develop Tables of the icon.
Someone knows why?
Use
SELECT * FROM HR. EMPLOYANG
Unlock you the account of human resources?
https://Satendrakumar.WordPress.com/2008/09/26/how-to-unlock-sample-HR-database-in-Oracle/
Sorry, read the post wrongly.
See you soon
AJ
-
Oracle 11g Documents and links
Hello
I tried to look good n links associated with Oracle 11 g documentation and could not come across one.
Can you please provide me with the same Oracle's Web site or any other good link master concepts such as RAC, Grid Computing, new PL/SQL features and many other things in this document, please help, thank you.http://Tahiti.Oracle.com/
http://www.morganslibrary.com/library.html
Concerning
Asif Kabir -
Oracle 11G datapump and sequences issue
Hello
I made a pattern (datapump: expdp) dump on a database 11G and any with impdp on another instance. I have removed all the objects schema before importing it on the destination instance. Import took place without problems. But after a while we got ora-0001 primary key violations. The reason why were some footage with a value less than the value in some tables. It seems Oracle dump first year sequence then the oracle data. They are out of sync. I thought datapump made coherent landfills. Is this a known issue?
Kind regards
IvanThis is the case with exp/imp since V6.
See "Export of sequences" under "Considerations when exporting database objects" to
http://download.Oracle.com/docs/CD/E11882_01/server.112/e10701/original_export.htm#BABJHCDHHemant K Collette
-
Oracle 11g Client and Enterprise Manager
Just need confirmation that the old Java based Enterprise Manager 10g left for always with 11g and there is no installation of 11g client management console (at least I can't find one). And after searching for the ndo son Oracle documentation, it seems that I can install database 11g on my local pc and then have a dbconsole (not the grid control). Please confirm that this dbconsole only points to the specific database that is installed on the same pc, and it cannot be used to manage remotely located 10 or 11 g databases. I'm still in the planning stages for the installation of grid control and want to use the more small enterprise manager - java control. But even once, there no such Oracle 11 g application now? I have to use the grid control to manage multiple databases?
Thank you
Curt Swartzlander
S/NOzark DBA wrote:
Just need confirmation that the old Java based Enterprise Manager 10g left for always with 11g and there is no installation of 11g client management console (at least I can't find one).Confirmed. Identical to the installation of the database.
And after searching for the ndo son Oracle documentation, it seems that I can install database 11g on my local pc and then have a dbconsole (not the grid control). Please confirm that this dbconsole only points to the specific database that is installed on the same pc, and it cannot be used to manage remotely located 10 or 11 g databases.
Confirmed. The DB Console is linked to an ORACLE_HOME one HOST for a single INSTANCE. The HOST and the INSTANCE are used in the directory naming (of all stupidity) and the content of the configuration file under the ORACLE_HOME.
I'm still in the planning stages for the installation of grid control and want to use the more small enterprise manager - java control. But even once, there no such Oracle 11 g application now? I have to use the grid control to manage multiple databases?
Confirmed. Fortunately, the grid control is included in the license database in accordance with the manual of licenses of database, and you can place the grid on a separate machine control. As the Grid control is powered with a single agent for all products (and any other database) on the target host, the grid control puts on a much smaller footprint on a machine of database that even the old console Java.
Note that the grid control of 11g (at least) will tomorrow announce Webcast - check the RTO.
-
whenever I run this code I get this error
SQL Error: ORA-30926: failed to get a stable set of rows in the source tables
30926 00000 - "impossible to get a stable set of rows in the source tables.
* Cause: A stable set of rows could not be achieved due to the large dml
activity or one not deterministic where clause.
* Action: Remove any non deterministic of the clauses and reissue of the dml.
Don't know wht goes wrong!
SQL:
MERGE IN VENDORS_ACTIVE_DATE s
USING (nvl (d.VENDOR, s.VENDOR) selection of the SELLER,
NVL (d.COMPANY_CODE, s.COMPANY_CODE) COMPANY_CODE.
(case when ((d.VENDOR = s.VENDOR) and (d.COMPANY_CODE = s.COMPANY_CODE)))
)
then "MATCH".
When d.COMPANY_CODE is null
then 'DELETE '.
When s.COMPANY_CODE is null
then "INSERT."
else 'UPDATE '.
chck end)
from (select * from VENDORS_ACTIVE_DATE where COMPANY_CODE = 2) s
full outer join (select * provider where COMPANY_CODE = 2) d
on (d.COMPANY_CODE = s.COMPANY_CODE AND s.COMPANY_CODE = 2)
) d
WE (d.COMPANY_CODE = s.COMPANY_CODE AND d.chck in ('UPDATE', 'GAME', 'DELETE'))
WHEN MATCHED THEN
UPDATE SET s.VENDOR = d.VENDOR
WHERE d.chck in ('UPDATE', 'DELETE')
DELETE WHERE d.chck = 'DELETE '.
WHEN NOT MATCHED THEN
INSERT (SELLER, COMPANY_CODE)
VALUES (d.VENDOR, d.COMPANY_CODE)
Work request: (deleted the duplicate data in tables (source and target))
MERGE IN VENDORS_ACTIVE_DATE s
USING (nvl (d.VENDOR, s.VENDOR) selection of the SELLER,
NVL (d.ACTIVEDATE, s.ACTIVEDATE) ACTIVEDATE.
NVL (d.COMPANY_CODE, s.COMPANY_CODE) COMPANY_CODE.
(case when ((d.VENDOR = s.VENDOR))
- AND D.ACTIVEDATE = S.ACTIVEDATE
and NVL (d.ACTIVEDATE, trunc (sysdate)) = NVL (s.ACTIVEDATE, trunc (sysdate))
and (d.COMPANY_CODE = s.COMPANY_CODE)
)
then "MATCH".
When d.COMPANY_CODE is null
then 'DELETE '.
When s.COMPANY_CODE is null
then "INSERT."
else 'UPDATE '.
chck end)
from (select * from suppliers where COMPANY_CODE = 2) d
full outer join (select * from vendors_active_date where COMPANY_CODE = 2) s
on (d.COMPANY_CODE = s.COMPANY_CODE and s.vendor = d.vendor)
) d
WE (d.COMPANY_CODE = s.COMPANY_CODE AND d.VENDOR = s.VENDOR AND d.chck in ('UPDATE', 'GAME', 'DELETE'))
WHEN MATCHED THEN
S.ACTIVEDATE = UPDATE SET d.ACTIVEDATE
WHERE d.chck in ('UPDATE', 'DELETE')
DELETE WHERE d.chck = 'DELETE '.
WHEN NOT MATCHED THEN
INSERT (VENDOR, ACTIVEDATE, COMPANY_CODE)
VALUES (d.VENDOR, d.ACTIVEDATE, d.COMPANY_CODE)
-
Oracle 11g RAC and Clusterware several houses of the databases
We plan to install grid 11 GR 2 Clusterware on several series P IBM AIX 5.3 servers and combine them together.
Advising several of the DBA in my shop to install the clusterware and ASM under an AIX user id (for example, crsuser) and then implement various database houses (we plan 2 databases for this cluster) under different pseudos of AIX software (for example, users oradb1 and oradb2). So the clusterware will run on AIX user id crsuser, and the first database would be executed using AIX user id oradb1, the second database would use AIX user id oradb2. Will this work?
I administered the RAC clusters in the past for 10 gr 2, but the clusterware and databases were all settled under the same AIX user id (for example, AIX 'oracle' user id).
Any advice will be greatly appreciated. Thank you. :)CowTown_dba wrote:
We plan to install grid 11 GR 2 Clusterware on several series P IBM AIX 5.3 servers and combine them together.Advising several of the DBA in my shop to install the clusterware and ASM under an AIX user id (for example, crsuser) and then implement various database houses (we plan 2 databases for this cluster) under different pseudos of AIX software (for example, users oradb1 and oradb2). So the clusterware will run on AIX user id crsuser, and the first database would be executed using AIX user id oradb1, the second database would use AIX user id oradb2. Will this work?
I administered the RAC clusters in the past for 10 gr 2, but the clusterware and databases were all settled under the same AIX user id (for example, AIX 'oracle' user id).
Any advice will be greatly appreciated. Thank you. :)
Hello
From 11 GR 2, Oracle recommends having the separation of roles for ASM / software grid infrastructure and database. Please have a read http://download.oracle.com/docs/cd/E11882_01/install.112/e17210/preaix.htm#CWAIX176 for more details
See you soon
Maybe you are looking for
-
Firefox does not open, the Profile Manager does not, are not not in the Task Manager
Firefox worked fine on two days back. Our norton expired so I downloaded Kaspersky Anti-virus 12.0.0.374. I don't know if that has a relationship with firefox does not. I click the icon, nothing happens. The task is not mentioned in the Task Manager.
-
I have a very serious problem. My iPhone 6s fell and has cracks on the screen. What should I do now?
-
Wiring to something not visible in the current block diagram view
My entire block diagram is not visible without scrolling. (I tried to avoid this problem, but it turned out to be impossible). When I try to connect the two together, how to scroll? I have not found a way to do it. Now I'm stuck because I'm unabl
-
Helps the first ever camera purchase
Hello everyone, I'm looking for in getting my first camera ever and hoped to get a suggestion or two. I want to be able to use in low light conditions as the observation of the stars if possible, but the main reason would be to use on holiday, seen s
-
I just got a few errors at the Windows startup. The first says "Windows cannot load the locally stored profile. Possible causes include insufficient security rights or a damaged local profile. "The second says" Windows cannot find the local profile a