Creating Data Mining PL/SQL Package in SQL Developer
hi,
i have built a model and want to create a PL/SQL package.
in SQL developer, i launch a "New Gallery", select "All Items" from the drop-down menu, and click on "Database Objects". but in the right window pane, i am not able to see "Data Mining PL/SQL Package" in the options.
can somebody please tell me how to fix this?
thanks!
To verify that Oracle Data Mining PL/SQL Package extension is properly installed, please do the following:
Select Menu Help->About, click on "Extensions" tab. Look for "Oracle Data Mining PL/SQL Package" in the Name column ( you can sort it).
If it is, please make a note of the version installed and post it here as well as the SQL Developer version.
Just to clarify, you don't see "Data Mining PL/SQL Package" item in the "Database Objects" at all or is it grayed out?
Thanks
Similar Messages
-
Is it possible to return a data grid in sql developer from package?
Hi, I am in need of some help in returning a datagrid rather than just a list from a package. This is my package:
CREATE OR REPLACE PACKAGE BODY C_1
as
PROCEDURE COUNTING1 (C_YEARFROM IN NUMBER, C_TABLE_NAME IN VARCHAR2) is
yearCount NUMBER;
c_sql long;
BEGIN
execute immediate 'SELECT COUNT(DISTINCT SPECIES) FROM '||C_TABLE_NAME ||' WHERE year >2007' into yearCount;
dbms_output.put_line('Distinct species count: ' ||yearCount);
end counting1;
end c_1;
Is it possible to get the results of these in a table or data grid in sql developer, e.g. I would like to sort results etc rather than just a flat list? Something a bit more elegant then dbms_output.put_line?
Thanksyes, I copied the wrong code into the example - what I actually want to display in a grid is the following:
CREATE OR REPLACE PACKAGE RSET_CURSOR IS
cursor rs_cursor is select species, location from ot;
r_c rs_cursor%rowtype;
end;
create or replace package rset_cursor2
is
procedure printSpecies;
end rset_cursor2;
create or replace package body rset_cursor2
is
procedure printSpecies is
begin
open rset_cursor.rs_cursor;
loop
fetch rset_cursor.rs_cursor into rset_cursor.r_c;
exit when rset_cursor.rs_cursor%notfound;
dbms_output.put_line(rset_cursor.r_c.species);
end loop;
close rset_cursor.rs_cursor;
end;
end;
I have also just noticed the list I am getting is only including one column of data where it should include 2, have I omitted something?
Thanks -
Error using Data Miner on SQL Developer
Dear all.
I'm trying to use Data Miner on SQL Developer (3.1.06) with Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 -
64bit Production, with the Partitioning, OLAP, Data Mining and Real Application Testing options.
I created a project, a workflow, a data source, a classification model and connected them.
I tried to show the Decision Tree generated as described in the tutorial "Using Oracle Data Miner 11g Release 2".
But, I receive the message "It's not possible to load the data mining model because it does not exist" in a dialog box entitled "Model not found".
It seems that something was missing either during installation or granting my user.
Does anybody have seen this message and know what causes it?
Any other suggestion is welcome.
Regards,
Duncan
PUCRS-BrazilHi Mark.
Thank you on replying my post.
I'm not the DBA of Oracle repository here. So, if possible, I'd like to address my issue without having to do anything in it.
I'll try to state better what we have here.
When I try to use latest SQL Developer version, 11.2.1.1.7.42, it got me a message stating current repository isn't compatible with this SQLDev version
Repository version is: 11.2.1.1.3
I don't know what type of upgrade SQL Developer wants to do...
About your other questions.
"Is the model not found error occurring for all models or just the DT model?" -- The error occurs for all 4 standard models: SVM, GLM, NB and DT. But, I'm able to see all other options: "show tests results", "Compare tests results".
You did not report that the workflow failed, so you must be seeing a successful completion status for each of the nodes. -- Yes, all steps are executed and finished OK.
Are you using a proxy user or some other connection definition other than a standard connection. -- No.
There is currently some problems supporting proxy based connections that will be fixed in a upcoming SQL Developer release.
So, if you can provide me some details on how your connection is defined, that will be helpful.
How was the product installed and the user granted rights? -- I need to ask PUCRS DBA team to answer these questions.
Was it done through the UI or by running the scripts in the dataminer/scripts directory?
Lastly, what is your client operating system and are you using the SQL Dev 64 bit or 32 bit release? -- I tested in 2 different computers, both with Windows 7 Professional. In my notebook, it's 64 bits OS version.
Thank you for your attention and kind reply.
Regards,
Duncan -
Oracle SQL Developer Data Modeler Versus SQL Developer
Friends,
I'm trying to understand the differences between Oracle SQL Developer Data Modeler and the ability to use the Data Modeler in SQL Developer.
I've looked at both products home pages on OTN, http://www.oracle.com/technology/products/database/datamodeler/index.html & http://www.oracle.com/technology/products/database/sql_developer/index.html and would appreciate your comments on my findings so far
1) The Oracle SQL Developer Data Modeler is a stand-a-lone chargeable product whereas the use of the Data Modeler functionality of SQL Developer is free
2) The Data Modeler functionality within SQL Developer is basically a "viewer" I can create ERD's of my existing tables by dragging them into the modeler from the object navigator but that's about it. I can't save the diagram for later use or use it to change the structure of the table(s)
3) If I need to have "Oracle Designer" like ERD capabilities then I need to use Oracle SQL Developer Data Modeler (after purchase!)
4) Are there any other differences I have missed?
Thanks in advanceYou can open any diagram created in the stand-alone product in the SQL Developer Data Modeler Viewer and navigate through all property dialogs and the full navigator, just like you can in the stand-alone product, but with no update capabilities. This allows developers to fully review the model and all properties, without making changes.
Sue -
Update date format in SQL developer
I need to convert date format in SQL developer , it's varchar2 format now
The current format is yyyy/mm/dd-hh:mm:ss:sss and I need to convert it to yyyy-mm-dd hh:mm:ss CST
I don't really know SQL but did some research and found that I can use instr to find the string and replace it, however, no matter what I try,there is always something off :(
Could anyone here help me with it? thanks in advance.create table xo_custom_date_format (mydateAsChar varchar2(100));
table XO_CUSTOM_DATE_FORMAT created.
insert into xo_custom_date_format
values ('2012/03/23-09:52:24:123')
+1 rows inserted.+
select mydateasChar from xo_custom_date_format
mydateaschar
+2012/03/23-09:52:24:123+
select to_timestamp(mydateaschar, 'YYYY/MM/DD-HH24:MI:SS:FF3') mydateAsTimestamp from xo_custom_date_format
-- We must convert to timestamp data type, rather than date data type as you have fractions of seconds
mydateAsTimestamp
+23-MAR-12 09:52:24.123000000 --<-- This will probably appear differently, depending on your database NLS_ settings (i.e. what country you are in)+
select to_char( to_timestamp(mydateaschar, 'YYYY/MM/DD-HH24:MI:SS:FF3') , 'YYYY-MM-DD HH24:MM:SS')||' CST' as myDateReformatted
from xo_custom_date_format
mydateReformatted
+2012-03-23 09:03:24 CST+ -
Sort Order of Tables in Data Modeler in SQL Developer 3.0
I have a schema with many tables and would like the Data Modeler (in SQL Developer 3.0) to create a Relational Model sorted by table name in Alphabetical Order. The default seems to be random alphabetic order.
There's an algorithm involved, and I'm pretty sure it's related to the number of grouped objects by relations, but instead of guessing I'll ask the developer to weigh in with the 'real answer.'
When working with larger models, I've found the #1 tip for making them easier to digest is to break them down into smaller SubViews. Have you experimented much with this feature yet? Also, you can right-click on a table in the tree and 'Go To Diagram' to find the object in the diagram. -
How to integrate the Data modeler in Sql developer
Hi
How can we integrate the data modeler into sql developer and use the data modeler?
ThanksIntegrating different oracle products (SQL Developer [Data Modeller], JDeveloper, ...) on platforms like Eclipse, Netbeans, JDeveloper Framework is a really missing feature.
JDeveloper has a good approach for integrated Java and database development, but has not immediate benefits from from other development streams like SQL Developer.
On daily work we must use more than three different tools for most common task
- editing stored functions, procedures and packages with SQL-Developer (code formatter in Jdeveloper produces sometimes UNREADABLE code ( So we are using TOAD instead ). Why can't Jdeveloper use SQL-Developer formatting tools in bug fixed verrions from 1.5.5?
- database modelling with SQL Developer Data Modeler without PLSQL package support ???
- database development with JDeveloper, ADF and offline database model without capabilities for logical databse models
Please put them all together! -
Create statspack report using sql*developer
Hello,
While connecting with PERFSTAT user I can not create statspack report using SQL*Developer:
@?/rdbms/admin/awrrpt
Error starting at line 1 in command:
@?/rdbms/admin/awrrpt
Error report:
Unable to open file: "?/rdbms/admin/awrrpt.sql"
Actually, my problem or question is that how can PERFSTAT user can generate statspack reports from a Client side. What is the other way a non-dba can see the snapshots histroy and generate report (by using perfstat user ) while joing tables or using views?
Thanks a lot.
Best RegardsHi,
for awr reports @?/rdbms/admin/awrrpt (you need EE+Diagnostic Pack) there is a solution.
Grant execute dbms_workload_repository to <user>;
Grant select_catalog_role to <user>;
get all SNAP_IDs
SELECT TO_CHAR(s.startup_time,'YYYY.MM.DD HH24:MI:SS') INSTART_FMT,
di.instance_name INST_NAME,
di.db_name DB_NAME,
s.snap_id SNAP_ID,
TO_CHAR(s.end_interval_time,'YYYY.MM.DD HH24:MI:SS') SNAPDAT,
s.snap_level LVL
FROM dba_hist_snapshot s,
dba_hist_database_instance di
WHERE di.dbid = s.dbid
AND di.instance_number = s.instance_number
AND Di.Startup_Time = S.Startup_Time
ORDER BY snap_id desc;
Select * From Table(Sys.Dbms_Workload_Repository.Awr_Report_Html(DBID, 1, BEGIN_SNAP_ID, END_SNAP_ID));
For statspack i don't know a solutuion. I think the best idea is, create a job to make the statspack report on the server side and access it via external tables or mail them forward to you.
Best regards
Thomas -
Unable to create a connection in SQL developer
hii
I'm unable to create a connection in SQL developer..it says I/O Exception, Network Adapter could not establish a connection...i provided the username and password which i used for SQL*Plus, which is working fine. And i gave the host as localhost. I don't know how to fill the connection name field..can anyone help me in connecting to the database...By the way I'm using Oracle 11g. Thankssssssyou could try to change the connection type to TNS and pick the database name available to you in the Network Alias drop-down list.
Edited by: Alex Nuijten on Sep 5, 2008 10:13 AM -
How create new user in sql developer?
so i tried creating a new user in SQL developer, under the worksheet section, for a 12c database
create user Hares1
identified by book;
but I get this error
SQL Error: ORA-65096: invalid common user or role name
Sorry I know this is a generalized question. I only learned how to actually connect today - any help of a next step would be appreciated.so i tried creating a new user in SQL developer, under the worksheet section, for a 12c database
create user Hares1
identified by book;
but I get this error
SQL Error: ORA-65096: invalid common user or role name
The 'next step' is RTFM. Sorry but for 12c multitenant you simply MUST read the documentation about the new multitenant architecture.
Your 'problem' is not creating a user with sql developer - it is how to create users in 12c.
See my extended comments and reply in this thread (and several other threads I reference there) which addresses your exact problem
12c: ORA-65049: creation of local user or role is not allowed in CDB$ROOT
http://www.oracle.com/pls/db121/homepage
I suggest you first read chapters 17 and 18 of the Concepts doc about the new multitenant architecture of 12c.
http://docs.oracle.com/cd/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ
The 'Common Users in a CDB section answers your question
>
The name of every user-created common user must begin with the characters c## or C##. (Oracle-supplied common user names do not have this restriction.)
>
There are two types of users in 12c: common and local. You need to understand the difference between them.
Until you read those doc chapters you won't understand these terms: common user, local user, CDB, PDB, root container, and many others.
As I said in that other thread:
You will NOT be successful working with 12c unless you have read and understand the new multitenant architecture that it uses. There are very simple things (connecting, startup/shutdown, creation of users, grants to users, etc) that just don't work the same old way anymore.
If you try to just 'plow through it' without reading about it you will likely get an exception that you won't understand and it will likely use a term (CDB$ROOT) that you won't understand. Then you will hunt all over (or worse, ask in the forums) to find out about that term.
Yes - I know how adverse some people are to RTFM replies. But for 12c multitenant it is mandatory to read the docs no matter how expert you may be in previous Oracle versions. -
Problem in creating DATA Model from SQL SERVER 2008 in BI PUBLISHER
Dear Team,
I connect BI Publisher with SQL SERVER 2008 But On creating Report on BI,when we create data model...dataset,
i select the tables but when i click on RESULT i am geting this error.
error--
[Hyperion][SQLServer JDBC Driver][SQLServer]Invalid object name 'DBNAME.DBO.TABLE'.
please resolve this problem...
Thanks,
Him
Edited by: h on Aug 22, 2011 6:31 PMHi David,
The things I said are not a fix for this problem.
If your RCU installation worked, then you do not have to worry about modifying the createfr.sql.
Edit:
I've just tracked the problem. It appears that when using the query builder, BI forgets to add the " sign.
For example:
This query will give the hyperion error.
select "table"."field"
from "database.user"."table"
To correct it write it like this:
select "table"."field"
from "database"."user"."table"
Edited by: EBA on Nov 14, 2011 10:21 AM -
How to create save actions in SQL Developer 1.5?
Hi,
I am trying to create a save action in SQL Developer, which shall execute "an external tool" I already added.
I choose "Code-Editor" -> "save actions". I want to add an action, but there are 3 predefined actions and there is no possibility for me to add another. Is there a way for me to add a save action, as it is possible in eclipse?
What I am trying to do is, I want to trigger an external sql formatter. The sql formatter, which is built in, doesn't fit my needs and the way I can configure it, is very sparse. Therefore I want to use an external tool do to this - and I want it to be executed after saving the document.
Greetings,
DanielRight click on the table and select "Export Data": default format is INSERT statement.
Example of generated SQL:
-- Fichier créé - mardi-septembre-13-2011
-- DDL for Table HELP
CREATE TABLE "SYSTEM"."HELP"
( "TOPIC" VARCHAR2(50 BYTE),
"SEQ" NUMBER,
"INFO" VARCHAR2(80 BYTE)
) PCTFREE 0 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 49152 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "SYSTEM" ;
REM INSERTING into SYSTEM.HELP
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',1,null);
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',2,' @ ("at" sign)');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',3,' -------------');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',4,' Runs the SQL*Plus statements in the specified script. The script can be');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',5,' called from the local file system or a web server.');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',6,null);
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',7,' @ {url|file_name[.ext]} [arg ...]');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',8,null);
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',9,' where url supports HTTP and FTP protocols in the form:');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',10,null);
(...)SQL Developer documentation: http://download.oracle.com/docs/cd/E18464_01/index.htm.
Edited by: P. Forstmann on 13 sept. 2011 21:27 -
All,
I am using the new version of SQL Developer which is great but I am having a problem usig the Export Data functionality.
I have tried exporting the data from a table to a file as INSERT statements and TEXT and also to the clipboard and all I get is either a blank file or a REM statement with the name of the table.
The table I am trying to select data from is partitioned.
The database I am trying to export from is Oracle 9i and I have select privs on the data and the tables as I can see them in SQL Developer.
My O/S is Windows XP professional...I am not allowed to use Linux at work :-(
Is anyone else having such problems.
Chris
Message was edited by:
tifferSorry Chris, been tied up. looked at this
1. created a PTN table. This is the DDL export of that table. Range partition on date.
-- DBMS_METADATA was unable to use TABLE_EXPORT to generate sql. Now trying to use TABLE.
CREATE TABLE "HR"."TABLE1"
( "ID" NUMBER,
"HIREDATE" DATE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
TABLESPACE "USERS"
PARTITION BY RANGE ("HIREDATE")
SUBPARTITION BY LIST ("ID")
(PARTITION "P1" VALUES LESS THAN (TO_DATE(' 2006-12-31 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
TABLESPACE "USERS"
( SUBPARTITION "SYS_SUBP21" VALUES (DEFAULT)
TABLESPACE "USERS") ,
PARTITION "P2" VALUES LESS THAN (TO_DATE(' 2007-01-31 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
TABLESPACE "USERS"
( SUBPARTITION "SYS_SUBP22" VALUES (DEFAULT)
TABLESPACE "USERS") ) ;
2. Export from Resultset tables in query. As insert statements
REM INSERTING into TABLE1
Insert into TABLE1 ("ID","HIREDATE") values (1,to_date('12-DEC-06','DD-MON-RR'));
Insert into TABLE1 ("ID","HIREDATE") values (2,to_date('21-JAN-07','DD-MON-RR'));
I'm also getting the others working well too. I 'm running the latest version that we are about to release a patch on so it should be good when it comes out. -
Problems Creating Custom Connections In SQL Developer
I have the Auto-Generated Local Connections available in SQL Developer 3.2.20.09 Build MAIN-09.87, but cannot create my own connections. I've searched the forums, but haven't had an "AHA" moment.
I installed the 32-Bit Oracle 11gR2 and SQL Developer with JRE on my Windows x64 system because installing the x64 version of Oracle 11gR2 failed. This is for database classes I'm taking at the local community college.
Trying to create a connection with OS Authentication:
Connection Name: PaulK
Connection type: Basic
Role: default
Hostname: localhost
Port: 1521
SID: orcl
and clicking Test returns Status: Failure - Test failed: The Network Adapter could not establish the connection
When I run lsnrctl services, I get
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\PaulK>lsnrctl services
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 26-APR-2013 13:36:35
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
listener.ora contains
# listener.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\app\PaulK\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\app\PaulK\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = E:\app\PaulK
tnsnames.ora contains
# tnsnames.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
I assume something is missing or incorrect, but I don't know what.
Thanks in advance for your help.I reinstalled Oracle 11gR2 x86 and ran lsnrctl:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\PaulK>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 02-MAY-2013 15:51:56
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
Start Date 02-MAY-2013 14:57:07
Uptime 0 days 0 hr. 54 min. 53 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File e:\app\paulk\diag\tnslsnr\PaulK-PC\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Users\PaulK>lsnrctl services
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 02-MAY-2013 15:53:19
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:4 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: PAULK-PC, pid: 8880>
(ADDRESS=(PROTOCOL=tcp)(HOST=PaulK-PC)(PORT=51451))
The command completed successfully
As you can see, my Service "orcl" matches your example, but I am still unable to create a new connection in SQL Developer.
This is my tnsnames.ora file:
# tnsnames.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
and my listener.ora file:
# listener.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\app\PaulK\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\app\PaulK\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = E:\app\PaulK
These files are just as the install process created them, but are there any sore thumbs sticking out?
Thanks. -
.csv data import via SQL developer
I am trying to load an Access 2003 table into an Oracle 10g database via SQL developer. The Access file is located on another system and there is no ODBC connection between it and the SQL server.
What I have done so far is the following:
i) Export Access table as comma-delimited text file;
ii) Open text file and re-saved as .CSV;
iii) On SQL developer - created a table that matches the column structure in the original Access table, then right-clicked > Import Data > on Data Import Wizard I click Next...
after this, the wizard hangs on step 1, and does not allow me to move to the second step. It doesn't matter whether or not the SQL *Loader option is checked.
If anyone could offer some advice on the procedure I have applied above and possible sources of weakness, I'd be grateful to hear your thoughts. I'm relatively new to Oracel SQL and not very experienced with databases in general.
ThanksSince this is not native export/import, a better place could be this forum:
SQL Developer
Maybe you are looking for
-
Should i get lion if i have a new macbook pro? (i dont have any old programs)
i have a new macbook pro! should i get lion? i dont mind paying the $ 30. my only real concern would be the bugs! i have heard alot about the bugs in lion! i would mainly use it for school work and using imovie and idvd to burn my home movies. i woul
-
Several instances using same port question
Good Morning, I am going to have to create several instances on one box using solaris 10 zone technology. Each zone haveing it's own instance. I need to confirm whether or not that all those instances can use one listerner or does each instance need
-
LSMW what BAPI to use to load Business Partner?
Could anyone tell me what BAPI to use for business partner? i think its part of CRM..... I'll work out what a BAPI is later! But i gather batch recording is not the go? I don't know anything about SAP, BAPIs and Idocs and Batch recordings!!! I have a
-
How to export iphoto library to other location ?
iphoto is taking lots of memory space... how would I export photos to another location, like an external disk?
-
Oracle11gR2 single instance installation procedure on AIX HACMP setup
Hi Everyone, Can anyone please guide me the procedure of installing single instance oracle 11gR2 on an AIX HACMP setup? I have installed the oracle software on the shared disk storage but the dbstart/dbshut scripts fails to run during node failover.