Third Party Database Support in SQL Developer

As a rule I don't (blatantly) advertise my blog on this forum, but I have just had feedback from my recent posting which made realize you might not have stumbled on this new functionality. i.e. Third Party Database Support in SQL Developer. <br>
<p>In the Evaluation Release 3 (1.1.0.22.71) you can connect to and browse MySQL and SQL Server databases. The Getting Started document on OTN, does mention where to get the jdbc drivers and briefly, how to set it up in SQL Developer. This blog entry takes that a step further.
<p>If you have access to either of these databases, please take a whirl and see what you think. For production you will also be able to connect to an MS Access database.
<p>Regards<br>
Sue

The great thing, as you see from Donal's reply, is that other teams can take advantage of SQL Developer's framework, so we have a few teams working on extensions to SQL Developer and the product benefits from the work they do.
From the SQL Developer team's side, we have logged and fixed bugs for 8i support in 1.1. since the last evaluation drop, so when you get the next drop for SQL Developer, you should be able to browse more objects using 8i. Also I have logged further 8i bugs and will continue to have more fixed. This is an ongoing project. We also have a number of features that need to be added to support current releases and try to give these a high priority. So the team is focused on addressing as many requests as we can for supported features.
We know we have many customers on unsupported databases and would like to support them too, having said that, we have run a poll on this forum for ages and have had 7.5% (22) responses for databases lower than 9.x. It's a small poll, but based on all our feedback we believe we have the right focus.
Regards
Sue

Similar Messages

  • The third party database supported by SAP BW

    Hi
    Apart from SAP R/3 , my client has a historical data in thier legacy system so called  MFG/PRO, they wondering if SAP BW is allow to connect to such system.  Anyone know where I can check the third party database supported by SAP BW ?
    Panadda

    Hi:
    The native SAP NetWeaver BI functionality delivered to connect with such a system is called UDconnect ("BW" is an old term).
    Here are some resources
    http://help.sap.com/saphelp_nw2004s/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/58f4db47-0501-0010-a2bf-ff01b150fdff
    You should be able to find a JDBC or ODBO driver for such a system that can work with UDconnect.
    Thanks for any points you choose to assign.
    Best Regards -
    Ron Silberstein
    SAP

  • Where to add Third Party JDBC Driver in SQL Developer 4.1 EA2

    In SQL Developer 4.0.3 under Tools - Preferences - Database there was an option to add a  Third Party JDBC Driver so we could use the same tool for a PostgresSQL database.  I cannot find in in SQL Developer 4.1.0.18

    I think it happened because I imported settings and connections from a previous installation. 
    I removed the C:\Users\username\appdata\SQL Developer\system4.1.0.18.37\ folder.
    I've run it now without that and the option is back.
    Thanks! 

  • 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 SQL Developer connect to ANY third party database

    As of my investigations, SQL Developer can currently connect only to Oracle, MSSQL, MySQL and Access.
    What about connecting to any database using JDBC? Is this possible / planned? I'm currently interested in PostgreSQL.
    Thanks, Viliam

    In the next release users will be able to connect to Sybase. We do have plans to extend to further third-party databases, but this is not scheduled for the short term. Are you looking for a migration solution? The Migration Technology center has a lot of detail and support we provide for third party database support. http://www.oracle.com/technology/tech/migration/index.html
    Regards
    Sue

  • DB2 on zOS support in SQL Developer?

    I managed to connect to DB2 on zOS by adding third party JDBC drivers from IBM (db2jcc4.jar and db2jcc_license_cisuz.jar) in SQL Developer preferences. During connecting I get an error:
    DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=SYSCAT.SCHEMATA, DRIVER=4.18.60
    The connection actually works and I can successfully execute SQL statements afterwards, however autocompletion and browsing the list of tables doesn't, which renders the tool pretty useless.
    So is this a faulty setup on my part, or does SQL Developer not support DB2 on zOS yet?
    If that is the case, are there any plans/roadmap for at least minimal support of DB2?

    The 3rd party database support in Oracle SQL Developer is provided for helping  you migrate said 3rd party databases to Oracle Database
    Our list of supported platforms

  • [SOLVED] mySQL third party database?

    I think it is surprising that mySQL is threated as a third-party database or has Oracle sold it?
    "You can also connect to schemas for selected third-party (non-Oracle) databases, such as MySQL, Microsoft SQL Server, Sybase Adaptive Server, Microsoft Access, and IBM DB2, and view metadata and data."
    I have searched most of the documentation and the forum and now I think that I have to install some kind of driver (jdbc perhaps) and then I get a new tab in the connection view where I now only have the oracle tab.
    I tried to use the oracle connection tab and use a jdbc connection string: jdbc:mysql://localhost:3306/cdr?useUnicode=true&characterEncoding=utf-8 both with and without the unicode string but it did not work.
    Found it -> Help -> Developer Center -> JDBE my SQL driver (from my mind, just restarting it)
    Edited by: 992601 on 2013-mar-07 23:26

    Oracle SQL Developer is the IDE for Oracle Database. We also have an extension for TimesTen. But primarily any database support for databases other than Oracle is provided to assist with migrating you from those databases to Oracle.
    The MySQL team has it's own IDE, it's called the MySQL Workbench.
    http://dev.mysql.com/downloads/workbench/5.2.html
    You'll notice it does not support Oracle Database.

  • Third Party Component Support in Design View

    in this article:"
    http://flexwiki.adobe.com/confluence/display/ADOBE/Flex+Builder+3+Planning"
    the follow is shown:
    Third Party Component Support in Design View
    Planned milestone: M3
    Flex Builder should have better support for third-party
    components in design view. Also, the components view and the
    properties view should be just as good for 3rd party components as
    it is for Adobe Flex components like charting and advanced data
    grid controls.
    * The component author should be able to specify the
    category for the Components panel.
    * The component author should be able to control the
    Standard View property sheet including the Common and Style
    categories
    * A component developer should be able to deliver a single
    component in a SWC that contains all appropriate information
    * The component author should be able to include Design view
    extension code to specify Design View surface behavior
    * The component author should be able to specify the default
    code that gets inserted when a component is dropped on the stage
    I wonder how to specify the category for my components, is
    that some compile options or some configure file?
    thx

    /bump
    Noone any information about that topic? This would be a great
    usability enhancement...
    Regards

  • Viewing the database version in SQL Developer

    Hello there,
    I am using SQL Developer version 1.5.0.53, and I was wondering if there is a way that I can view the database version within SQL Developer?
    I know when you log on in SQL *Plus it shows it, is there anywhere in SQL Developer that it can be viewed?
    Thanks,
    ivalum21

    There is a report.
    Data Dictionary Reports -> About Your database -> Version Banner
    but it is probably just quicker to select * from v$version;

  • New query for 'Manage Database' option in SQL Developer

    Dear all,
    I want to suggest a changed query for the 'Manage Database' option in SQL Developer (right-click on the connection), see the query below.
    This query has the following changes;
    - extra column with the Maximum disk space based on the datafiles (considering autoextend of datafiles); MAX_DATAFILES
    - the PERCENT_USED and PCT_USED are based on the MAX_DATAFILES, as this is really important (and not the difference between ALLOCATED and USED)
    - the results are shown in GB, as that is in my opinion more relevant in this time of data explosion
    - rename of the column FREE to UNUSED_ALLOCATED, as this column identifies how much of the Allocated space is not used
    I hope the query can replace the current one, to improve SQL Developer even more.
    Thanks for the nice tool SQL Developer!
    Kind regards,
    Siebe
    -- Manage Database - Changed Oracle SQL Developer query with regard to Usage of Tablespaces in GB (considering autoextend of datafiles)
    SELECT "TABLESPACE_NAME", "PERCENT_USED", "PCT_USED", "MAX_DATAFILES", "ALLOCATED", "USED", "UNUSED_ALLOCATED", "DATAFILES" FROM(
    select * from (
    SELECT a.tablespace_name,
    --'SQLDEV:GAUGE:0:100:0:0:'||nvl(ROUND(((c.bytes-nvl(b.bytes,0))/c.bytes)*100,2),0) percent_used,
    --ROUND(((c.bytes-nvl(b.bytes,0))/c.bytes)*100,2) PCT_USED,
    'SQLDEV:GAUGE:0:100:0:0:'||nvl(ROUND(((c.bytes-nvl(b.bytes,0))/c.maxbytes)*100,2),0) percent_used,
    ROUND(((c.bytes-nvl(b.bytes,0))/c.maxbytes)*100,2) PCT_USED,
    round(c.bytes/1024/1024/1024,2) allocated,
    round(c.bytes/1024/1024/1024-nvl(b.bytes,0)/1024/1024/1024,2) used,
    round(c.maxbytes/1024/1024/1024,2) max_datafiles,
    round(nvl(b.bytes,0)/1024/1024/1024,2) unused_allocated,
    c.datafiles
    FROM dba_tablespaces a,
    ( SELECT tablespace_name, SUM(bytes) bytes FROM dba_free_space GROUP BY tablespace_name ) b,
    ( select count(1) datafiles, SUM(bytes) bytes, SUM(DECODE(autoextensible, 'YES', maxbytes, bytes)) maxbytes, tablespace_name from dba_data_files GROUP BY tablespace_name ) c
    --( select count(1) datafiles, SUM(bytes) bytes, SUM(c.maxbytes) maxbytes, tablespace_name from dba_data_files GROUP BY tablespace_name ) c
    WHERE b.tablespace_name (+) = a.tablespace_name
    AND c.tablespace_name (+) = a.tablespace_name
    ORDER BY nvl(((c.bytes-nvl(b.bytes,0))/c.maxbytes),0) DESC
    ) --sub1 order by 1 asc
    )

    Very little technical information provided about the error.
    "+IO error.+" - this likely refers to the client attempting to use a socket handle and the call to the handle failing.
    +"The network adapter could not establish the connection.+" - this likely means that the IP address to connect to, could not be reached, or that the connection was not accepted on that port on the remote IP address. (typically hostname resolution errors would give a different error)
    The easiest way to test connectivity is using the ping command to bounce an ICMP echo off the remote IP.
    If that works, test access to remote port on that remote IP using the telnet command - this will check whether there is a service accepting connections on that port, and whether access to that port is allowed in case of firewalls en-route.

  • Adobe Premiere Pro Third-Party Hardware Support

    Adobe have just posted an updated Adobe Premiere Pro Third-Party Hardware Support

    I replied to this info on another thread, but suffice it to say:
    This list is utterly worthless and best removed if Adobe does not want to further destroy their image.

  • Oracle SQL Developer 3.1 Migration Third Party Databases Issues

    Hi,
    i had following issues with migrating from db2 v8 to oracle 11.2.
    Online:
    Due to missing privileges and roles for user db user migrations some steps have failed (CREATE USER -> ORA-01031 ...).
    After correcting this like described in "Creating a Database User for the Migration Repository" in sqldev online help this has worked.
    The problems are:
    a) on the overview page at the end of the migration assistent all steps (CAPTURE, CONVERT, GENERATE, DATAMOVE) are shown as complete, even if nothing has done
    b) on page 6/9 into migration assistant all changes for datatype convertion are ignored, for example CHAR to VARCHAR2
    c) generated files are not visible, even if you mark refresh on file view
    d) after restarting sqldev, generarted files are visible in file view, but when you add generated files to svn error message "svn: File: xxx has inconsitent newlines" is shown
    e) after sucessful migration on opened migration project pane "data quality" sourcenumrows are NULL, even if they always NOT NULL and count(*) on any table on both sites are equal
    Offline:
    Generated skripts contains errors:
    ./startDump.sh: line 157: syntax error near unexpected token `done'
    '/startDump.sh: line 157: `done < "schemas.dat"
    Can anybody help?
    Thanks in advance
    André

    Hi kgronau,
    thanks for your fast answer.
    Today i have found 2 new issue.
    When you have opened a migration project from repository, on pane "data quality" sourcenumrows are always null
    and
    sourcename and targetname shows always databse object names from the database on the first migration project in repository independently of extra section in drop down box model and source.
    kgronau wrote:
    André,
    I used SQL Dev 3.1 and I captured a DB2 database. Then I've changed the rule to map char to varchar2 and started the migration.
    When I now check out my custom tables all all of them that had in the source model a char column are now using varchar2.I have tried to changed dataype for target database in place over the drop down box, not the edit rule button. It's a little bit confusing to have this option, when it doesn't works.
    After using the edit rule button, all works fine. Just the summary page 9/9 doesn't report changed datatype assignment.
    >
    Could you please explain what you mean with your option c and d?c)
    Yes i'm meaning View -> Files. Sorry but on german windows i have just german menu items. That is sometimes tricky to retranslate for support questions and also not helpful when using the online help where all menu items referenced in english :-(
    (Do you have an ideo how can i configure sqldev with english menu aon german windows?)
    I think, this problemn is special for output folders under subversion control.
    d)
    Generated Files after the end of the migration are just visible in output folders under subversion control after restarting sqldev
    >
    Edited by: kgronau on Mar 7, 2012 12:30 PM
    Are you talking about Opening a File viewer window (View -> Files)? In my case I have chosen d:\temp\DB2 as output and monitored it during the migration. It isn't refreshed until I manually click on the refresh button - but once the migration has finished and written the output and when I then click on the refresh button I'll see all the directories and the files included.
    Edited by: kgronau on Mar 7, 2012 12:39 PM
    When a migration has finished then SQL Developer 3.1 now creates in the top directory an unload_script.sh file which calls the other unload scripts.That's right, all scripts are generated.
    Also the data unload scripts were created - I need to find a DB2 on Unix to check the script - a quick check of the windows scripts worked correctly.
    Edited by: kgronau on Mar 7, 2012 1:22 PM
    These unload shell scripts to unload the data out of a DB2 database are also working.
    Unfortunately I'm not able to test the shell script used for a source model unload as my UDB is running on Windows.
    Didn't the online source model collection work? For me it looks like it did as you mentioned you changed the char data types to varchar2 and this requires already a connection to the source database - except you used the scripts that were generated using the startDump.sh which has failed. Yes, online source model collection did work. Just the unix shell script produces an error on the source unix system with db2. Please see below th generated script.
    So please provide here some more details../startDump.sh was startet for testing purposes without any arguments
    ./startDump.sh: line 157: syntax error near unexpected token `done'
    '/startDump.sh: line 157: `done < "
    if [[ $# != 3 ]]; then
    echo "Usage: startDump <database> <user> <password>";
    exit 1;
    fi
    ROWTAG="'<row>'";
    ENDROWTAG="'</row>'";
    COLTAG="'<col><![CDATA['";
    ENDCOLTAG="']]></col>'";
    # Clear any other dat files
    echo "Clearing older data files"
    rm -f *.dat
    echo "Connnecting to $1 as $2";
    db2 -r connect.dat "connect to $1 user $2 using $3";
    if [[ $? != 0 ]]; then
    echo "Connection failed.";
    exit 20;
    fi
    # GET SCHEMA QUERY.
    echo "Get all schemas";
    db2 +o -x -r schemas.dat "select SCHEMANAME SCHEMA_NAME from SYSCAT.SCHEMATA WHERE DEFINER <> 'SYSIBM' AND
    SCHEMANAME <> 'NULLID' AND SCHEMANAME <> 'SQLJ'
    AND SCHEMANAME <> 'SYSTOOLS'";
    if [[ $? != 0 ]]; then
    echo "Get schemas failed.";
    exit 30;
    fi
    # Loop through file containing schema names and extract db objects for each of them
    while read SCHEMA_NAME
    do
    # Create schema directory
    rm -rf "${SCHEMA_NAME}";
    mkdir "${SCHEMA_NAME}";
    if [[ $? != 0 ]]; then
    echo "Could not create schema directory ${SCHEMA_NAME}.";
    exit 40;
    fi
    echo "Get all tables for schema $SCHEMA_NAME";
    tablesFile="${SCHEMA_NAME}/""tables.dat";
    # GET TABLES QUERY. */
    db2 -x +o -r $tablesFile "select "$ROWTAG", "$COLTAG"||COLUMNS.TABSCHEMA||"$ENDCOLTAG", "$COLTAG"||COLUMNS.TABNAME||"$ENDCOLTAG",
    "$COLTAG"||COLUMNS.COLNAME||"$ENDCOLTAG", "$COLTAG"||(CASE WHEN (COLUMNS.CODEPAGE = 0 and (COLUMNS.TYPENAME = 'VARCHAR' OR COLUMNS.TYPENAME = 'CHAR'
    OR COLUMNS.TYPENAME = 'LONG VARCHAR' OR COLUMNS.TYPENAME = 'CHARACTER')) THEN COLUMNS.TYPENAME || ' FOR BIT DATA'
    ELSE COLUMNS.TYPENAME END)||"$ENDCOLTAG", "$COLTAG"||CHAR(COLUMNS.LENGTH)||"$ENDCOLTAG",
    "$COLTAG"||CHAR(COLUMNS.SCALE)||"$ENDCOLTAG", "$COLTAG"||COLUMNS.NULLS||"$ENDCOLTAG",
    "$COLTAG"||COALESCE(COLUMNS.DEFAULT, '')||"$ENDCOLTAG", "$ENDROWTAG" from
    SYSCAT.COLUMNS COLUMNS, SYSCAT.TABLES TABLES WHERE
    COLUMNS.TABSCHEMA = '${SCHEMA_NAME}' AND
    COLUMNS.TABNAME = TABLES.TABNAME AND
    COLUMNS.TABSCHEMA = TABLES.TABSCHEMA AND
    TABLES.TYPE = 'T'
    ORDER BY COLUMNS.TABNAME, COLUMNS.COLNO";
    if [[ $? != 0 ]]; then
    echo "No tables found.";
    fi
    # GET SYNONYMS QUERY. */
    echo "Get all synonyms for schema $SCHEMA_NAME";
    synonymsFile="${SCHEMA_NAME}/""synonyms.dat";
    db2 -x +o -r $synonymsFile "select "$ROWTAG", "$COLTAG"||TABNAME||"$ENDCOLTAG", "$COLTAG"||BASE_TABSCHEMA||"$ENDCOLTAG",
    "$COLTAG"||BASE_TABNAME||"$ENDCOLTAG", "$ENDROWTAG" from syscat.tables
    where tabschema = '${SCHEMA_NAME}' and type = 'A'";
    if [[ $? != 0 ]]; then
    echo "No synonyms found.";
    fi
    # GET VIEW QUERY. */
    echo "Get all views for schema $SCHEMA_NAME";
    viewsFile="${SCHEMA_NAME}/""views.dat";
    db2 -x +o -r $viewsFile "select "$ROWTAG", "$COLTAG"||VIEWSCHEMA||"$ENDCOLTAG", "$COLTAG"||VIEWNAME||"$ENDCOLTAG",
    "$COLTAG"||COALESCE(TEXT, '')||"$ENDCOLTAG",
    "$COLTAG"||DEFINER||"$ENDCOLTAG", "$COLTAG"||READONLY||"$ENDCOLTAG", "$COLTAG"||VALID||"$ENDCOLTAG", "$ENDROWTAG"
    from syscat.views
    WHERE VIEWSCHEMA = '${SCHEMA_NAME}'
    ORDER BY VIEWNAME";
    if [[ $? != 0 ]]; then
    echo "No views found.";
    fi
    # GET INDEXES QUERY. */
    echo "Get all indexes for schema $SCHEMA_NAME";
    indexesFile="${SCHEMA_NAME}/""indexes.dat";
    db2 -x +o -r $indexesFile "select "$ROWTAG", "$COLTAG"||INDSCHEMA||"$ENDCOLTAG", "$COLTAG"||INDNAME||"$ENDCOLTAG",
    "$COLTAG"||TABSCHEMA||"$ENDCOLTAG", "$COLTAG"||TABNAME||"$ENDCOLTAG", "$COLTAG"||INDEXTYPE||"$ENDCOLTAG",
    "$COLTAG"||UNIQUERULE||"$ENDCOLTAG", "$ENDROWTAG" from SYSCAT.INDEXES
    WHERE INDSCHEMA = '${SCHEMA_NAME}' AND UNIQUERULE <> 'P'
    ORDER BY TABNAME, INDNAME";
    if [[ $? != 0 ]]; then
    echo "No indexes found.";
    fi
    # GET INDEX DETAILS QUERY. */
    echo "Get all index details for schema $SCHEMA_NAME";
    indexeDetailsFile="${SCHEMA_NAME}/""indexDetails.dat";
    db2 -x +o -r $indexeDetailsFile "select "$ROWTAG", "$COLTAG"||INDSCHEMA||"$ENDCOLTAG", "$COLTAG"||INDNAME||"$ENDCOLTAG",
    "$COLTAG"||COLNAME||"$ENDCOLTAG", "$COLTAG"||CHAR(COLSEQ)||"$ENDCOLTAG", "$ENDROWTAG" from SYSCAT.INDEXCOLUSE
    WHERE INDSCHEMA = '${SCHEMA_NAME}'";
    if [[ $? != 0 ]]; then
    echo "No index details found.";
    fi
    # GET TRIGGERS QUERY. */
    echo "Get all triggers for schema $SCHEMA_NAME";
    triggersFile="${SCHEMA_NAME}/""triggers.dat";
    db2 -x +o -r $triggersFile "select "$ROWTAG", "$COLTAG"||TRIGSCHEMA||"$ENDCOLTAG",
    "$COLTAG"||TRIGNAME||"$ENDCOLTAG", "$COLTAG"||DEFINER||"$ENDCOLTAG", "$COLTAG"||TABSCHEMA||"$ENDCOLTAG",
    "$COLTAG"||TABNAME||"$ENDCOLTAG", "$COLTAG"||TRIGEVENT||"$ENDCOLTAG", "$COLTAG"||VALID||"$ENDCOLTAG",
    "$COLTAG"||COALESCE(TEXT, '')||"$ENDCOLTAG",
    "$COLTAG"||COALESCE(REMARKS, '')||"$ENDCOLTAG", "$ENDROWTAG"
    from SYSCAT.TRIGGERS
    WHERE TRIGSCHEMA = '${SCHEMA_NAME}'";
    if [[ $? != 0 ]]; then
    echo "No triggers found.";
    fi
    # The for GET Promary Key CONSTRAINT QUERY. */
    echo "Get all primary keys for schema $SCHEMA_NAME";
    primarykeysFile="${SCHEMA_NAME}/""primarykeys.dat";
    db2 -x +o -r $primarykeysFile "select "$ROWTAG", "$COLTAG"||X.CONSTNAME||"$ENDCOLTAG", "$COLTAG"||X.TYPE||"$ENDCOLTAG",
    "$COLTAG"||X.TABSCHEMA||"$ENDCOLTAG", "$COLTAG"||X.TABNAME||"$ENDCOLTAG", "$COLTAG"||Z.COLNAME||"$ENDCOLTAG",
    "$COLTAG"||CHAR(Z.COLSEQ)||"$ENDCOLTAG", "$COLTAG"||COALESCE(X.REMARKS, '')||"$ENDCOLTAG", "$ENDROWTAG" from
    (select CONSTNAME, TYPE, TABSCHEMA, TABNAME, REMARKS from SYSCAT.TABCONST where (type = 'P' OR type = 'U')) X
    FULL OUTER JOIN
    (select COLNAME, COLSEQ, CONSTNAME, TABSCHEMA, TABNAME from SYSCAT.KEYCOLUSE) Z
    on
    (X.CONSTNAME = Z.CONSTNAME and X.TABSCHEMA = Z.TABSCHEMA and X.TABNAME = Z.TABNAME)
    WHERE X.TABSCHEMA='${SCHEMA_NAME}'
    ORDER BY X.CONSTNAME";
    if [[ $? != 0 ]]; then
    echo "No primary keys found.";
    fi
    # The for GET Check constraints QUERY. */
    echo "Get all Check constraints for schema $SCHEMA_NAME";
    constraintsFile="${SCHEMA_NAME}/""checkConstraints.dat";
    db2 -x +o -r $constraintsFile "SELECT "$ROWTAG", "$COLTAG"||A.CONSTNAME||"$ENDCOLTAG", "$COLTAG"|| COALESCE(TEXT, '') ||"$ENDCOLTAG", "$COLTAG"|| A.TABSCHEMA||"$ENDCOLTAG", "$COLTAG"|| A.TABNAME ||"$ENDCOLTAG", "$COLTAG"|| COLNAME ||"$ENDCOLTAG", "$ENDROWTAG" FROM SYSCAT.CHECKS A , SYSCAT.COLCHECKS B
    WHERE A.CONSTNAME = B.CONSTNAME AND A.TABSCHEMA = B.TABSCHEMA AND A.TABNAME=B.TABNAME AND A.TABSCHEMA = '${SCHEMA_NAME}'";
    if [[ $? != 0 ]]; then
    echo "No check constraints found.";
    fi
    done < "schemas.dat"
    # GET PROCEDURES QUERY. */
    . getProcedures.sh schemas.dat
    # The for GET Foreign Key CONSTRAINT QUERY. */
    . getForeignKeys.sh schemas.dat

  • How to connect Developer 6i with third party Databases

    How to connect Developer 6i with third party Databases

    Hi,
    Oracle Forms 6i comes with a Oracle Client Adaptor, OCA, that allows you to connect to 3rd party databases. Starting Forms 9i you use gateways.
    Frank

  • Integrate TREX with a third-party database  MS SQL 2000

    Hello GURUS i have a question, how integrate a search with trex into the third-party back-end
    stores exacly is a ms sql 2000, my problem is this i have a legacy system in java, this legacy retrieve
    information from a database through Querys and we want to optimize searches through TRex, how can connect the trex to this data base
    thanks
    salvatore

    Hi Salvatore,
    I saw that your looking to find a solution to your problem for a time now and have done some research already.
    Unfortunately, there is no out-of-the-box solution to integrate a MS SQL database into KM (unless it is the database from a different portal/KM).
    So your solution here is to implement a (simple) Read-Only Repository Manager using this guide: https://www.sdn.sap.com/irj/sdn/nw-cm?rid=/library/uuid/70359931-22c1-2910-9fba-f0142ba18956
    Afterwards you can index the repository with TREX.
    Hope this answers your question.
    Best regards,
    Robert

  • Issues connecting to sql 2005 database using Oracle sql developer 1.2

    I just installed the sql developer and was trying to use the quick migrate to try a migration from a sql server to oracle..
    I am getting the following error message when i click on the retrieve database after entering the database credentials
    Status : Failure net.sourceforge.jtds.jdbc.driver
    I am getting another error message when i click on the 'test' button
    Status: Failure - Unable to find driver: net.sourceforge.jtds.jdbc.driver
    I downloaded the jtds driver from source forge and i am wondering what I should do to get the sql developer to make successful connections to sql server.
    Any help is appreciated.
    Thanks

    I have the same issue with both version 1.1.3 of the SQL developer and the latest version(1.2.1). I have added the jar file path in tools->preferences->Database->Third Party etc...
    I got the jar file from this download: jtds-1.2.2-src.zip
    I get this error when trying to connect to an sql server:
    oracle.jdeveloper.cm.CMException: Unable to find driver: net.sourceforge.jtds.jdbc.Driver
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.createConnection(RaptorConnectionWrapper.java:175)
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getJdbcConnection(RaptorConnectionWrapper.java:202)
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getPresentation(RaptorConnectionWrapper.java:68)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.createConnection(Connections.java:1004)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:876)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
         at java.lang.Thread.run(Thread.java:595)
    Any help would be appreciated. I like the tool would hate to have to abandon it, it works like a charm on our oracle databases.

Maybe you are looking for

  • Select-endselect

    WHY WE DONOT USE SELECT-ENDSELECT. IF I WILL USE SELECT-END SELECT STATEMENT IN REPORT. I KNOW PEEFORMANCE OF THE REPORT WILL BE SLOW. COULD U PLESE TELL ME THE OTHER REASON

  • How can I import Chat history into the Messages.app?

    Okay so this is what I've done so far: I've freshly reinstalled Mac OS X 10.8.1 on my Mac and I've already copied the Messages Folder located in User/Library/Application Support, to the new one. The idea is to access all this history data in the Mess

  • Custom TCP/IP Settings for different network connections

    I have about 4-5 different networks I hop onto all the time. The problem is my brother will NOT use Auto-configure using DHCP. So, I have to get the settings and put them in everytime, with his static IP, gateway, DNS and the such. Is there a way to

  • SSAS SQL Profiler Trace Results - Error metadata unknown

    I am using a control that generates MDX queries and am tracing these through SQL Server Profiler. On one of the MDX queries, the Query End event is showing a 49 in the Error column. Does anyone know where to find what the codes in the Error column tr

  • Script to ping multiple hosts and return domain info to a txt or csv file

    Hi, I wonder if anyone can help.  I need a script that will allow me to ping multiple hosts (all listed on seperate lines in a txt file) and return IP, server up\down and domain info to a txt or ideally a csv file. I'm sure this must have been done\r