oracle-sqldeveloper

PostgreSQL with SQL Developer Issue

回眸只為那壹抹淺笑 提交于 2019-12-09 05:10:29
问题 I added my Third Party JDBC drivers for PostgreSQL, the tab shows up. However, after I fill in the Username/Pwd and Hostname/Port and then select Choose Database - I get: Failure -FATAL: database "user1" does not exist Anyone else having this issue? The JDBC driver I am using is postgresql-8.4-701.jdbc4.jar . 回答1: If you have a different user and db name, SQLDevelopper 4.1 works with this workarround: username: testuser password: mypass Host: 127.0.0.1:1234/testdb? Port: 1234 Don't forget the

Does anybody know what encrypting technique is JDeveloper/SQL Developer using to persist credentials?

僤鯓⒐⒋嵵緔 提交于 2019-12-08 22:37:05
问题 I'd be more than interesting for me to understand which technique is being used here to persist sensible data since I'm needing to implement a similar solution. Here's a sample connection configuration and the resulting exported snippet: <?xml version = '1.0' encoding = 'UTF-8'?> <References xmlns="http://xmlns.oracle.com/adf/jndi"> <Reference name="My Connection" className="oracle.jdeveloper.db.adapter.DatabaseProvider" xmlns=""> <Factory className="oracle.jdeveloper.db.adapter

SPOOL returns empty files when trying to export from SQL Developer

旧时模样 提交于 2019-12-08 16:57:01
问题 I have a series of queries that I want to output to .csv files. The only tool I have to query the database is SQL Developer. I could run each query and then use the Export dialogue in SQL Developer to write them to files, but that's cumbersome, particularly when this needs to be done for multiple files every day. This works for some people Directly export a query to CSV using SQL Developer But it doesn't work for me. For example, if I try spool "C:\Users\james.foreman\Downloads\Temp\myfile

The Network Adapter could not establish the connection in SQL developer

蓝咒 提交于 2019-12-08 16:05:03
问题 I created a database using SQL developer list of 1000 entries and it created successfully. The connection also succeeded. But today while I'm trying to connect there is an error occurring: IO Error: The Network Adapter could not establish the connection in SQL developer I can surely say it is not connecting I tried it in Command prompt also in prompt it is mentioning as Protocol Adapter Error. What is the problem here? What is meant by Protocol Adapter Error how can i overcome it? What is

Oracle SQL Developer how to dynamicly run sql scripts

与世无争的帅哥 提交于 2019-12-08 14:01:43
问题 I have the following challange; I would like to execute a batch of *.sql files on one database. The sql files are assumed to be named in ascending order of their execution sequence. So the main sql script should do a 'dir /s *.sql', then start each of the found scripts in order. Is this possible ? Below is something I found for SQL Server, but I want something similar for Oracle SQL Developer. http://pradeep1210.wordpress.com/2012/03/15/executing-a-set-of-sql-script-files-sql-on-a-group-of

How to monitor all the executed sql statements as a result of single transaction

徘徊边缘 提交于 2019-12-08 11:24:33
问题 I am in the process of upgrading our server from one version to other.So for this purpose i need the detail of all the queries executing in single transaction. I am enabling trace logs for that but that is a tedious process as it contains system related queries also.AWR reports seems to be not working. I am using oracle 10/11 g.Is there any other way in sql developer to achieve this goal. 回答1: Tracing is the only way to see all statements executed. AWR works by sampling active sessions; this

SQL MIN values from two tables

有些话、适合烂在心里 提交于 2019-12-08 11:04:28
问题 I have below mentioned data. I am looking to get min of Start message and corresponding min of success message. If there is no start or success message present then it should show null. Start Message Table ID1 Timestamp_start_msg_recieved date jobid message time in seconds 1234 5/14/2014 10:02:29 5/14/2014 abc start 262 1234 5/14/2014 10:02:31 5/14/2014 abc start 264 1234 5/14/2014 10:02:45 5/14/2014 abc start 278 1234 5/14/2014 10:02:50 5/14/2014 abc start 285 1234 5/14/2014 10:09:04 5/14

Get only top row from SQL Query

我的梦境 提交于 2019-12-08 09:45:37
问题 Hello I'm having trouble with getting the Top 1 row using the below query. its in oracle, plsql. SELECT per.person_no, perbus.person_no, perbus.edit_dt, perbus.org_name, perbus.FIRST_NAME FROM users.persons per LEFT OUTER JOIN ( SELECT ASSOC.edit_dt,PER_CONTACTS.PERSON_NO, PER_CONTACTS.PERSON_ID AS PER_ID, PER.EXTERNAL_PERSON_ID AS EXT_PER_ID, PER_CONTACTS.LNAME||', '||PER_CONTACTS.FNAME AS NAME, PER_CONTACTS.FNAME AS FIRST_NAME, PER_CONTACTS.MNAME AS MIDDLE_NAME, PER_CONTACTS.LNAME AS LAST

Oracle DST Time Conversion Error ORA-01878

杀马特。学长 韩版系。学妹 提交于 2019-12-08 07:08:51
问题 i have a select statement where i am converting timezones Select from_tz(cast(DATE_TIME as timestamp), 'US/Eastern') at time zone 'UTC' DATE_TIME_UTC From Table1 but for some rows i am getting error due to DST ORA-01878: specified field not found in datetime or interval i want to write a query like select if error then do something else do the time conversion from table1 回答1: As you're on 12c you can use the enhanced subquery factoring that provides to define a local function; that can

Data Migration from Oracle to Mongo DB

空扰寡人 提交于 2019-12-08 05:39:52
问题 I am currently doing a POC for my project to see if I can migrate to MongoDB from Oracle . My Oracle structure is currently flat ( Single table with no relational tables with a few columns and a CLOB ) . I have about 10 lac records and want to migrate this to Mongo to analyse the performance of my retrievals/ other queries that exist currently . I could write some custom script to move this from Oracle to Mongo but i was wondering if there are any free tools out there which could help me move