SQL Developer and DB2
Hello.
I connected with success a Mainframe (MVS) DB2 Database in my SQLDeveloper 3.0.04.
I have Orable Database conencted too.
I'm able to expand the Oracle database to get the list of the tables for example.
I'm not able to expand the DB2 database to get all interesting informations.
I use these drivers :
db2jcc.jar
db2jcc_license_cisuz.jar
Regards
Edited by: 1000133 on 15 avr. 2013 09:00
Edited by: 1000133 on 15 avr. 2013 09:02
That's what the DB2 support in SQL Developer is for - for you to migrate to Oracle.
So the DB2 supported platforms on that migration page are also the DB2 platforms SQL Developer supports.
Of course if you want to use SQL Developer to work with SQL Server or Sybase - feel free to. Just don't expect to have the ability to update data, debug stored procedures, or to manage those environments. Running queries and browsing objects - that should work OK.
Similar Messages
-
View jobs with SQL Developer and export to file with delimiter
Hi,
is there a way to view, create and alter my database jobs with SQL developer?
And is it possible to export tables, views or simple queries to file delimited different from the CSV standard?
Diego.Hi and Welcome to the Forum!!
To select data from a table or a view you must use the SELECT sql command. Example to get the data from your view you can
select ZMATNUM,ZMATCUR,ZMATATTR from ZMATERIALAs you have said you are using SQL Developer just execute the above query in your sql developer and it will show the data. Right click the grid and export the data to excel file. -
SQL Developer and Blocking View of Other Users' Objects
I am using SQL Developer in a classroom environment. My student users can “see” Other Users objects. They cannot modify, but none the less can see the structure and data.
I only want the users to be able to see their own objects. Is there a privilege that needs to be revoked? (In using SQL Plus command line, this was not a problem.)
Thanks.
-KarenKaren,
From sysdba account (sys/system). Run following and verify for that particular user grant is revoked. May be exit from sql developer and log back in or refresh view.
YOu can also potenially revoke all the privs from all non admin uses i.e.r even connect/resource roles and grant them back.
revoke select any table from yourschemaname;
revoke connect from schemaname;
revoke create session from schemaname;
revoke resource from schemaname;
Then just grant privs as need basis
grant connect to schemanme;
grant resource to schemaname;
grant create session to schemaname;
..Regards
Edited by: OrionNet on Jan 23, 2009 2:01 PM -
Links for SQL Developer and Data Modeler not working?
Hi folks,
I tried to access the new SQL Developer and Data Modeler links posted in the April 1 message (and on the Oracle site) from a couple of machines with no luck (empty zip files) - is there an update to the links?
Thanks!
TomoIn Firefox zero length zip. In IE loses connection to downloads.oracle.com.
-
Install Oracle XE, SQL Developer, and Toad on the same machine?
I have been trying to install Oracle SQL Developer, Toad, and Oracle Express on my work computer. Installing SQL Developer and Toad was pretty straightforward, and I was able to browse the XE database with SQL Developer. But after installing Toad, problems started. Toad was using Oracle XE's registry settings to locate ORACLE_HOME and oci.dll. So I tried changing the settings for Oracle XE in the registry. Toad now works, but not Oracle XE. And while I was going through this all, I even had a time when I had Toad and oracle xe working, but not SQL Developer. It almost looks like you can choose two of the products, but not all three.
So, my question to the community at large is "Can it be done?". In what directories do you have each product installed? What environment variables do you have set? Where is your tnsnames.ora? What Oracle registry settings do you have set (namely HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE)?
I can post my current settings, but I've been through so many iterations that these current settings don't really matter that much.
Here are the details I am looking for
Path to sqldeveloper.exe
Path to oracle.exe (for Oracle XE)
Environment Variables
ORACLE_HOME
ORACLE_BASE
TNS_ADMIN
PATH (just the oracle stuff)
Registry Settings
HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE\ORACLE_HOME
HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE\ORACLE_BASE
HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE\TNS_ADMIN
HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE\OLEDB
HKLM\SOFTWARE\Wow6432Node\ORACLE\KEY_XE\ORAMTS_CP_TRACE_DIRI don't use toad, but there should be no reason why you can't install all 3. SQL Developer is a very clean install and affects nothing else. It doesn't add to the path, or create any registry entries except for file associations.
A toad installation should pick up your oracle client (in this case the XE code). I am curious as to why you felt you had to change registry settings. What problem were you trying to fix?
My recommendation would be to uninstall everything, clean the registry and reinstall in the order XE, Toad, SQL Developer. Test in between installations and seek help for problems as you find them. Bear in mind that this is the forum for SQL Developer. QUestions about Oracle XE would be better answered in the dedicated forum, or in the Installation forum, and questions about Toad in a toad forum. -
Sql Developer and Data Guard enabled instance
I have version 1.1.2.25 SQL Developer and when I try to connect to Oracle 10gR2 instance which is data guard enabled and its logical standby it spits few message, and then connects, but data is not visible from any table.
Is there any way to see data and other code while in logical standby instance which only in read only mode?
Thanks.This problem came when I tried to connect to Oracle
instance which is a logical standby in data guard
setup. Eventually connection is made and then you can
not see any object.
In logical standby database its suppose to be read
only and should be available for query.
In TOAD you can see every thing and when you want to
make any change ,it spits an error and wouldn't allow
you to make any change.
My question was, why SQL Developer is not showing the
objects in the list and its contains.Perhaps we could help you if you told us what the error was. -
Oracle sql developer and access db
Hi All,
I have connection to oracle and Access dbs’ on my oracle sql developer.
When i try to create a database link from oracle db to access db i have to add Host Name.
Connection details to access looks like this :
@jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\ list.mdb;DriverID=22;READONLY=false}
I tried different variants, but it doesn’t work.
Is this possible to create database link to access db, and if yes, what i have to add for a host name and what is the syntaxes for cross table ?
Thank youGood documentation here... http://www.orafaq.com/node/60
TimS -
Oracle SQL Developer and Application Express
Hi all,
I have a SQL Developer 1.5.4.59.40 and have an application developed in Application Express 10G XE with APEX 3.1.2. I have successfully opened my schema which owns an application, but to my surprise there is no node for viewing my application????? How can i view my application?
With Regards,
Sunil Bhatia - Programmer
Eon Technologies Pvt Ltd
Edited by: Sunil Bhatia on Mar 26, 2009 9:39 AMHello,
If you go to your parsing scheme in SQL Developer for ex. SCOTT you'll see a node Application Express.
That should list all the applications that have the SCOTT parsing scheme defined in your APEX application.
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
REWARDS: Please remember to mark helpful or correct posts on the forum -
Oracle sql developer and oracle express
I am new in PL/SQL
I just wonder for run the pl/sql , why has the different result for two tools
for the following example I get out put on the express
Employee 145 commission .4 which is High
Statement processed.
on sql developer I get
anonymous block completed why???
DECLARE
n_pct employees.commission_pct%TYPE;
v_eval VARCHAR2(10);
n_emp_id employees.employee_id%TYPE := 145;
BEGIN
-- get commission percentage
SELECT commission_pct
INTO n_pct
FROM employees
WHERE employee_id = n_emp_id;
-- evalutate commission percentage
CASE n_pct
WHEN 0 THEN
v_eval := 'N/A';
WHEN 0.1 THEN
v_eval := 'Low';
WHEN 0.4 THEN
v_eval := 'High';
ELSE
v_eval := 'Fair';
END CASE;
-- print commission evaluation
DBMS_OUTPUT.PUT_LINE('Employee ' || n_emp_id || ' commission ' || TO_CHAR(n_pct) || ' which is ' || v_eval);
END;
/Hjava wrote:
I just wonder for run the pl/sql , why has the different result for two tools
for the following example I get out put on the express
Employee 145 commission .4 which is High
Statement processed.
on sql developer I get
anonymous block completed why???Nothing to do with the database or PL/SQL.
The client makes the call (e.g. passing the PL/SQL anon block to the server to be parsed and executed).
This is successful. The server returns a zero return code to that client call. This means successful completion of that database call.
The client can now choose to display any message it wants to inform the user of that - from "+hey dude, it worked!+" to "+command completed successfully+" or whatever.
The database does not return a message string in response to that call - only a return code. What the client can do is make another call and request the associated message from the client driver for that return code. In this case, an English language message file (as queried by the driver) will return the message string, "+normal, successful completion+". -
SQL Developer and Oracle Database 10g Express Edition, Connection Problem
I am using SQL Developer version 1.2.1 and am connecting to a 10g database on a windows xp.
Up until today there have been no problems with the connection. When I tried to connect to the database and have not been able to.
The error states that "...listener refused the connection with the following error: ORA-12505, TNS; listener does not currently know of SID given in connect descriptor..."
Also tried to log into the database home page but page doesn't load...I'd bet the database is down.
Try a login through sqlplus ("Run SQL Command Line" in the Oracle Express Edition 'Start' menu).
Do a CONN / AS SYSDBA
If you get a message about database or memory area not available, try STARTUP.
If that doesn't work, you are best off in the General Database forum or the Express Edition forum.
You'll probably get the most expert response in General Database, but the Express Edition forum can be gentler on newbies (as it is more accepted that questioners are not and do not have access to full-time DBAs). -
Oracle SQL Developer and commit
I have the auto commit in SQL Worksheet unchecked and disconnect a worksheet with open transaction and the data is commited !!
I have to set another option??
When I close the SQL Developer no questions if I'm sure to close or i want to perform a commit (like toad).
Thanks.you may want to try this forum:
SQL Developer -
Oracle SQL Developer and Errors (Line Number Incorrect)
First, I wanted to state that Oracle SQL Developer 2 is a standout job.
I wanted to report, though, that when Oracle SQL Developer 2 can't compile a block of code or a simple SQL statement has invalid syntax, it does not have an option to accurately go to the line of code in question. GOING TO the erroneous line of code doesn't need to be a feature, but often times the line no. REPORTED by Oracle SQL Developer is incorrect by 50+ lines.
Is this something I could fix on my end? I have five other developers griping about this.
Thank you!I don't know if this is the situation you are talking about, but line numbers for errors in SQL in a SQL Worksheet are not line numbers within the statement but rather line numbers in the worksheet. For example, with the following SQL in the worksheet:
select * from dual;
select * from dual;
select * from dual;
select from dual;Running the "select from dual;" statement (as either statement based on cursor position, selected statement or as script), the error is reported on Line 4, Column 7. As I show line numbers (Tools | Preferences | Code Editor | Line Gutter | Show Line Numbers), this makes sense. Without line numbers showing or having the option to go to the error and with more realistic examples with SQL statements scrolling off the page, I can see that the line number in the errors wouldn't be helpful.
I think -K- is talking about the PL/SQL code editors not reporting the correct line number based on the error line not counting the "create or replace" line at the start of a package (and more for triggers).
theFurryOne -
Added jTDS as third party DB connector to Oracle SQL Developer and connecti
I have followed the directions for adding a third party db connector to SQL Developer however as soon as I do the connection manager form doesn't come up for both adding a new connection and editing an exisitng one. I have posted here as I am having issues finsing information or getting help through Oracle forums.
Two things:
1 - Confirm you got the jTDS we recommend from here http://www.oracle.com/technetwork/database/migration/omwb-getstarted-093461.html#conf
2 - Confirm you added the entry in the preferences and pointed to the actual JAR file, not just the directory -
Difference in data retrieved from sql developer and sqlplus prompt
SQL> select distinct snap_time from perfstat.stats$idx_stats;
SNAP_TIME
21-MAY-07
05-JUN-07
but using sql developer
select distinct snap_time from perfstat.stats$idx_stats;
SNAP_TIME
21-MAY-07
05-JUN-07
13-JUN-07
but can anyone explain the difference because it's the same databaseSQL> select distinct snap_time from
perfstat.stats$idx_stats;
SNAP_TIME
21-MAY-07
05-JUN-07
but using sql developer
select distinct snap_time from
perfstat.stats$idx_stats;
SNAP_TIME
21-MAY-07
05-JUN-07
13-JUN-07
but can anyone explain the difference because it's
the same databaseIt looks to me during the interim between you run the query in sqlplus and SQL Developer, statspack generated a new snapshot.
Check your DBA_JOBS see if there's any auto statspack collection job. -
SQL Developer and Java GUI problems
I am having a problem with all the java apps i use, including Oracle SQL Developer. When i load up SQL developer, the top of the "Connections" text is chopped off as well as all the table names in the list when I make a connection. Also the java buttons are rather large. Almost as if they have a carriage return in the text of the button.
Its seems the gui configuration for java has been corrupted, but i cannot find where to modify those settings. I cant find anything on the internet on this. I have checked my video card settings and modified them to see if that is the issue, but it doesnt fix the problem.
Since other java apps do the same thing, I know its a java issue, but Ive uninstalled all the JRE's and JDKs i have and reinstalled them, and I still have the problem.
Im on an Windows XP box and running the JDK and JRE 1.5.0_09 versions. Any help would be appreciated. its very annoying to not be able to read some of the text in the java apps including sql developer due to the tops being cut off.
I have an ATI RADEON 7000 on an DELL optiplex gx620.
any help would be appreciatedThe first thing to try, if you haven't already, is to update your video driver.
Maybe you are looking for
-
User command in drop down in select options
Hi. I am able to build a drop down in select options via the method add_parameter_field, and setting option I_AS_DROPDOWN as true. Now I want to trigger a user command when any value in the drop down is selected. Is it possible? I cannot find any met
-
When I try to sharpen in photoshop with smart sharpen or unsharp mask on a separate layer, the preview image looks OK. When I click OK to apply and the sharpening program runs, the image reverts back to its unsharpened state.
-
Push mail, mail alerts, pdf reader and GPS for C3 ...
Hi you experts, pls be kindfull to explain step by step procedure to install all the above said utilities. Thanks in advance. Regards, acumenalex.
-
Photoshop 5.5 and Camera Raw
I am using Photoshop 5.5 because it still suits me needs, except that I am unable to import RAW photos from my Canon EOS 600D (CRS files). Photoshop 5.5 does'nt support this. Is there an update to rectify this? Many thanks
-
Hello, Can i make a web application (Java - jsp, jsf, etc) on Weblogic server? What are advantages/disadvantages using Weblogic instead of OAS? I wanna build an enterprise web application in Eclipse IDE, so can i configure there the Weblogic server?