Using SQL developer, how to show more then 1 table at at time ?
Hi, everybody
I am able to open more then 1 procedures/functions for editing.
However i am not able to open more then 1 table for seeing the data and columns.
1) how do i open more then 1 table tab in sql developer or i am not allow to do so ?
2) is it possible to see what column is the foreign key of a table in sql developer ?
thanks once again :)
use freeze view button
and drop table below from tabs
http://www.oracle.com/technology/products/database/sql_developer/files/viewlets.html
watch this viewlet
Useful Features of SQL Developer (July '07)
it can show u how u can see more than one table at a time
Similar Messages
-
How to start or shut down database using sql developer in windows
Dear Sir/Madam,
how we start or shut down database using sql developer in windows
we are using oracle 11g release2, unix, java & oracle oracle weblogic administration
Thanks & Regards
Manish Kumar
Datbase Team
TCS Ltd.HI, Welcome to OTN form,
SHUTDOWN is not a SQL statement but a SQL*Plus command . You cannot use SHUTDOWN in PL/SQL.
Check following link:
http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve042.htm#i2699551
More Information please check OTN discussion: https://forums.oracle.com/thread/2349159
Thank you -
How do I make a connection to SQL Server Express using SQL Developer 1.5.3?
How do I make a connection to SQL Server Express using SQL Developer 1.5.3, if it's possible at all?
Also, I received a SQL Server dump file of some sort. Is there any way to read this file in SQL Developer and migrate the db to Oracle? Unfortunately I don't have raw DDL and DML for this database--just some sort of a binary dump file from SQL Server.
Thanks.
DanaAre you using SQL Developer 1.5.3 or 1.5.4?
If using an older version (i.e. 1.5.3), then you'll have to add a DLL to your environment. This is [ntlauth.dll].
If you don't find this DLL in your SQL Developer directory, then obtain the JDBC SQL SERVER Pluggin (jtds-1.2.2-dist.zip) from:
http://sourceforge.net/project/showfiles.php?group_id=33291&package_id=25350
Copy the ntlmauth.dll in the ...\\...\ide\lib directory (no need to register it).
Note: this approach should work if using DQL Developer 1.5.3 and SQL Server Express 2008
Regards,
M. R. -
How to execute a system procedures in Sybase using SQL Developer ?
Hi everybody,
I'm using SQL Developer to remote connect to my Sybase Database. But I don't know how to run a system procedures in Sybase on SQL Developer program.
I I use these command in CLI mode in Solaris server, it's OK. But if I try on my computer, it'll show an error message.
Input :
sp_helpdb SecurityDB
Output :
Error starting at line 25 in command:
sp_helpdb SecurityDB
Error report:
Unknown Command
Please help me to do it ?
Many thanks,hello...
any input will welcomed... Thanks.. -
How to use SQL Developer Debugger
I'm using SQL Developer Version 3.2.20.09 and want to use its debugger option. I tried to get "how to use SQL Developer Debugger" by using google.ca but didn't get any tutorial. I really appreciate if someone suggest me any good and simple tutorial regarding SQL Developer Debugger, Thanks in advance.
Hello,
you can find a tutorial here:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/devdays2012/mod2_sqldev/mod2_sqldev.html
Joop -
How to load jar file using SQL Developer
Dear All,
I need urgent help to load mytest.jar to the database using SQL Developer. I am able to load individual java classes to the database using SQL developers, but i could not load JAR files. Please help me any one know how to do this using SQL Developer.
Thanks and Regards
John pI don't think that's possible, so load it through the OS with the loadjava utility.
Have fun,
K. -
How to use sql developer to connect informix
hi, everyone,i want to use sql developer to connect to informix database.
i have added the informix jdbc driver,but when i create a new connection,i can't find the informix database.
does it not support informix?
please help.
Edited by: 917391 on 2012-2-27 下午7:10SQL developer supports (as listed in the release notes: http://www.oracle.com/technetwork/developer-tools/sql-developer/sqldev31-ea-relnotes-487612.html) only these foreign databases:
Third Party Databases
SQL Developer supports IBM DB2 UDB LUW , Microsoft SQL Server and Microsoft Access, MySQL, Sybase Adaptive Server and Teradata. -
Demonstrating PL/SQL Functions Using SQL Developer
Good afternoon,
I'm starting to write some PL/SQL functions to replace some of the SQL that I use most frequently. A couple of very simple examples would be:
create or replace function func_test (p_1 number) return number
is
x number;
y number;
begin
x :=1;
y :=2;
return p_1 * x * y;
end func_test;
create or replace function func_test2 (p_1 varchar2) return varchar2
is
return_val varchar2(10);
begin
select p_1 into return_val from dual;
return return_val;
end func_test2;
However, at my workplace I haven't been granted create function privileges yet until I can demonstrate some examples, which is understandable.
For the time being, without these privileges, is there a way I can build/test functions in principle locally using SQL Developer without the need to write the functions to our database? I.e. can I demonstrate the above in SQL Developer, but without wrapping in create or replace syntax?
I hope this isn't too vague.
Using Oracle 11gR2 (not logged in to workplace database at the moment for specific version no.)
SQL Developer 3.4
Thanks,
TPsb92075 02-Nov-2013 19:12 (in response to TinyPenguin)
populating test DB with data is a solvable problem.
You don't need client data to test code (functions).
You only need sample test data; which generally is less than a few dozen records per table.
Absolutely, of course. Our client database is pretty messy though, and includes data prior to the implementation of more recent business rules that I need to take account of. Useful perspective though, thanks.
rp0428 02-Nov-2013 19:14 (in response to TinyPenguin)
Sure, but then I wouldn't have access to all the data in our client database to test functions under various circumstances.
Huh? Why not? It's your database so what keeps you from creating a database link to your client database where all the data is?
Also, I suppose it's not good practice to constantly write/replace/drop functions to/from a database when developing them? Better to test the function in principle and then write to the database?
Huh? Why not? What you think a dev database is for if not for development?
Based on your two posts so far in this thread it's understandable why they don't want to give you privileges yet. Those sample 'functions' you posted are NOT a good use for functions.
In sql developer you can just create and save the queries you use most often. There is no need to create functions for that.
But if you do need an anonymous function now and then just create one using sql*plus syntax:
Our IT department are pretty sensitive about how they allow access, even to the dev environment. As you've identified, I'm not naturally a programmer so the option to play around with the data to develop some representative examples about how we can simplify and devolve SQL reporting to more members of staff is useful to me. I just wrote those two function quickly for the purpose of posting some sample data, which I thought would be helpful. Thanks for illustrating how to return their output using an anonymous block.
FrankKulash 02-Nov-2013 19:13 (in response to TinyPenguin)
Hi,
The obvious solution is to get the privileges. If your employer really wants you to do something, they need to give you the necessary privileges to do it. It's silly for them to tell you to do something, but refuse to let you do it.
Failing that, you can install Oracle on your own machine, as suggested above. It's free and legitimate if you're only using it for learning and developing. Oracle Express Edition is very easy to install.
As a last resort, you can write functions and procedures that are local to an anonymous block, like this:
Thanks Frank. Yeah I'm going to speak with our DBA next week about privileges. I've got XE/SQL Developer installed on my own computer - I wrote those sample functions using them - I just wasn't sure how to call/return anonymous blocks as both you and rp identified to develop at work as an interim solution.
Thanks a lot All,
TP. -
In the SQL Developer how to set Indentation in preferences?
I am using SQL developer version 1.5.1 BuildMain 5440. In the Tools --> Preferences--> Database --> SQL Formatter --> Alignment and Indentations, I see Indentation on the right panel which shows drop down and spaces, and there is a check box option "Use tabulator". It is disabled for me. How do I make that enable? I want to use this in my formatting.
You need to disable the first option "Right-Align Master Keywords"..
-
IBM DB2 to Oracle Database Migration Using SQL Developer
Hi,
We are doing migration of the whole database from IBM DB2 8.2 which is running in WINDOWS to Oracle 11g Database in LINUX.
As part of pre-requisites we have installed the Oracle SQL Developer 4.0.1 (4.0.1.14.48) in Linux Server with JDK 1.7. Also Established a connection with Oracle Database.
Questions:
1) How can we enable the Third Party Database Connectivity in SQL Developer?
I have copied the files db2jcc.jar and db2jcc_license_cu.jar from the IBM DB2 (Windows) to Oracle (Linux)
2) Will these JAR files are universal drivers? will these jar files will support in Linux platform?
3) I got a DB2 full privileged schema name "assistdba", Shall i create a new user with the same name "assistdba" in the Oracle Database & grant DBA Privillege? (This is for Repository Creation)
4) We have around 35GB of data in DB2, shall i proceed with ONLINE CAPTURE during the migration?
5) Do you have any approx. estimation of Time to migrate a 35 GB of data?
6) In-case of any issue during the migration activity, shall i get an support from Oracle Team (We have a Valid Support ID)?
7) What are all the necessary Test Cases to confirm the status of VALID Migration?
Request you to share the relevant metalink documents!!!
Kindly guide me in-order to go-ahead with the successful migration.
Thanks in Advance!!!
Nagu
[email protected]Hi Klaus,
Continued with the above posts - Now we are doing another database migration from IBM DB2 to Oracle, which is very less of data (Eg: 20 Tables & 22 Indexes).
As like previous database migration, we have done the pre-requirement steps.
DB Using SQL Developer
Created Migration Repository
Connected with the created User in SQL Developer
Captured the Source Database
Converted Captured Model to Oracle
Before Translation Phase we have clicked on the "Proceed Summary"
Captured Database Objects & Converted Database Objects has been created under PROJECT section.
Here while checking the status of captured & converted database objects, It's showing the below chart as sample:
OVERVIEW
PHASE TABLE DETAILS TABLE PCT
CAPTURE 20/20 100%
CONVERT 20/20 100%
COMPILE 0/20 0%
TARGET STATUS
DESC_OBJECT_NAME
SCHEMANAME
OBJECTNAME
STATUS
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:ARG_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H0INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H1INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H2INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H3INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H5INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPIREP1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPISWIFT1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPITRAN1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OBJ_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OPR_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:PRD_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:S1TABLE01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STMT_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STM_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:X0IAS39:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
We have seen only "Missing" in the chart, also we couldn't have any option to trace it in Log file.
Only after the status is VALID, we can proceed with the Translation & Migration PHASE.
Kindly help us how to approach this issue now.
Thanks
Nagu -
Can you use SQL Developer against non Oracle data bases?
If so, then how do you define the connection for non Oracle data bases?
Look, SQL Developer has got to be a 'gateway' into Oracle DBs from other databases. JDBC allows simple introspection and execution of SQL commands. So the 'explain' button won't be available, or some of the DDL stuff, big deal! Let them get a taste of what they are missing by not having an Oracle database.
If we can get non-Oracle developers (especially MS SQL Server) to use SQL Developer it will expose them to the superiority of the Oracle DB server.
If they have heterogenous services installed they are already an Oracle customer -- we have little additional DB server sale opportunity there. SQL Developer is a really sweet tool and it could be a real draw into the DB server sales.
SQL Developer must be easily usable by non-Oracle customers in order to help us sell the DB server to them! -
Can we use SQL developer tool to READ/WRITE BerkeleyDB by any means
We use Berkeley Db as a persistent database, which holds data less frequently changed data. Can is it possible to use SQL Developer tool or any other front end tool that can connect and communicate to Berkeley db file for INSERT, UPDATE, DELETE records.
I assume you're referring to Berkeley DB SQL (BDB SQL API).
SQL Developer is not certified to work with BDB SQL; see the SQL Developer Certifications page.
Something similar was asked some time ago, about connecting JDeveloper to BDB SQL; see this Re: How connect Oracle JDeveloper 11g to Berkeley DB 11g. The SQL tools in JDeveloper and SQL Developer are similar and built on the same components, so my answer there can be extended to SQL Developer as well. While you can probably have SQL Developer properly connect to a BDB SQL database, I am afraid you won't be able to do more than just viewing the data; likely any attempt to generate DDL or DML statements, export data, or run DML statements against the database will fail.
If you migrated to BDB SQL from SQLite and were using a front-end tool for SQLite, it should be possible to use that with BDB SQL as well.
Regards,
Andrei -
My photostream on my iphone shows more then 30 days of photos, however I have recently lost my phone and hadn't set up the icloud on my computer until now. Is there anyway to get all the photos in my photostream on my iphone or just the last 30 days?
If you backed up the iPod before restoring it then restore from that backup. See the restore topic of:
iOS: How to back up
Also, if yoo have that backup you can extract the photos by:
Recover iPhone, iPad or iPod photos from backups with Picturescue
If you used PhotoStream then try getting them from your PhotoStream. See that topic of:
iOS: Importing personal photos and videos from iOS devices to your computer -
How to show more than one record at a form-like style report?
Hi All,
I developed a form-like style report
I want it to show more than one record at once (At the same page)
I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
but when I close the property palete and open it agian the value is returned to 1 !!!
how to show more than one record at the same page?????
Thank uHi,
there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
Regards
Rainer -
Connecting to Oracle DB on Ubuntu 8.04 using SQL Developer
Hi,
I managed to install Oracle 11g on Ubuntu 8.04 using this guide:
http://www.pythian.com/blogs/968/installing-oracle-11g-on-ubuntu-804-lts-hardy-heron
But I don't remember the Username or SID, that's why I keep on getting ORA-12505 from SQL DEVELOPER
How can I get those missing informations?But I don't remember the Username or SIDAssuming your DB is up and running, you can find out the SID by :
$ ps -ef | grep smon | grep -v grep
oracle 15298 1 1 10:59 ? 00:00:00 ora_smon_db11
$ here db11 is the SID.
About username, you can create one. Use Sql*Plus and OS authentication :
$ export ORACLE_SID=<your SID>
$ sqlplus / as sysdba
SQL> CREATE USER
Maybe you are looking for
-
Due to NAS issues, when I started a new time machine backup it did not have the old backups available. My question is do I need to delete them or will time machine automatically reclaim the space? There is only one sparse bundle but when I enter tim
-
JSTL WLS 7 to WLS 8.1 Upgrade Issues
We have a web app that currently runs on WLS 7. We have been asked to upgrade the app to WLS 8.1 recently. Most of the screen have ported fine, but there are a couple of screens that seem to be throwing fits. It could be a JDK/JRE issue, but here is
-
Where do the Management Pack Files go once you import them
Hello Hopefully this is a simple question, I may just be missing some thing obvious I have SCOM 2007 R2 When I download and run the MSI to unpack he MP, I understand where it extract the files. I then go to SCOM Console and Import the MP, not problem
-
Image not displayed on 10g Tutorial page
Hi , the imagew on the "Proactively Managing Space by Using the Segment Advisor" 10g tutorial are not displayed. Could someone fix it please? Thanks in advance Binh URL is : http://www.oracle.com/technology/obe/10gr2_db_single/manage/space/space_otn.
-
Query to retrieve list of users who do not have a resource provisioned
I am trying to get a list of user who do not have a particular resource provisioned. I cannot seem to find a table that links the resource object information and User information. I need to generate a CSV file. Has anyone done this before or have any