Can I create a script of commands SQL Developer?
I have a frequently repeated process where I:
Open SQL Developer (v3.2.2 due to requirements of 32 bits),
to connect to a database previously defined connection,
to connect to a previously defined MS Access database connection,
Select 3 tables in Access
Use the context menu to copy Oracle
Specify Append on the conflict
and I'm done.
I would like to automate this process. Can it be done?
Thank you!
There is no command line interface in version 3.2, but we don't have one in version 4.0.
And version 4.0 does not have some of the migration features available to call from the CLI, but I do not see a "copy to oracle" action available.
Tags: Database
Similar Questions
-
Can we create a local database with SQl developer 3.1
Hi I am trying to create a local database that I can run in my machine. Should what username and password I use. Do I need it, where to find it.
Thank you
If your instance of XE and SQL Developer are on the same machine, try right-clicking on the node 'Connections', then 'create local connections. This will create connections, which you can then use to administer the complete database, including the schemas provided apex. If you do it yourself, just use 'localhost' or 127.0.0.1 as the host of the db.
-
Can not see the package body in SQL Developer version 3.1
Hello
Have walked the boards and google for that matter for some time now. I think I found the problem, but would like to if there is a work around.
Problem:
I'm unable to view packages, procs, VIEWS DOF, etc. of other users. When one of my colleagues use Toad, with the EXACT same connection ID and the parameter, they are indeed able to see all the source code...
What I found:
Looking around, apparently Toad and SQL Dev work in different ways. Toad a use apparently DBA_SOURCE and DBA_OBJECTS to generate everything.
SQL Dev using package META_DATA to retrieve everything. In addition, in order to use the package meta_data, I need the catalog of grant role, or something like that.
Is it possible to set up the SQL Developer to use the same method as the toad to get the code? It is a fact that I WILL NOT receive the catalogue by the DBA permission... I can write the
Select the text from DBA_SOURCE where OWNER = 'OWNER' and NAME = 'OBJECT NAME';
But I would rather just be able to use the nodes in the tree and click on the objects to generate all this. Anyone know of any setting for this?Hello
No doubt Developer SQL wants to be competitive with the Toad, but in terms of raising red flags on the inconsistencies in the basic features, any difference from SQL * Plus would be more surprising than Toad.
DBA_SOURCE and DBA_OBJECTS are synonymous publicly available in any standard Oracle installation, but you also get to PICK ANY DICTIONARY to get the maximum benefit from them. Which will display the code in the schema of another user without having a privilege explicit (such as EXECUTE) on a function/procedure/package.
If you already have privileges (SELECT ANY DICTIONARY, or EXECUTE or DEBUG on specific executable objects), and the Code tab is empty, you will need to provide a test case, according to Vadim.
With respect to cases where the SQL Developer uses DBMS_METADATA, my understanding is that the API relies on the SELECT_CATALOG_ROLE privilege, if a user has or otherwise have a granted privilege explicitly on an object. Developers like to use this API in the extent possible instead to write a script that could break or need maintenance to deal with future versions of the Oracle database.
I have no idea how works the Toad, and probably I should not speculate, but here's a scenario that might explain the case you mention without that user of connection with one of the above privileges. Let's say that the client software of Toad calls a PL/SQL package that selects from DBA_SOURCE and is installed in a pattern that has the privilege to CHOOSE ANY DICTIONARY. All users of Toad are granted EXECUTE on this package and therefore inherit SELECT ANY DICTIONARY in the execution of the package. It will work, but at the cost of complicating the installation of Toad. Also, he is not giving them a precise control of metadata security administrator.
Kind regards
Gary
SQL development team -
How to create insert statements in the SQL Developer client
Hi all
A toad, we can create instructions for insertion of data in the table by clicking with the right button on the table and selecting create insert Stmts. But I am new customer SQL Developer. Could you please let me know how to do that in SQL Developer. I would be grateful if someone posts a link to the manual of the SQL Developer (how to use SQL Developer).
Thank you.SQL> create table staging(x int, y varchar2(3)); Table created. SQL> create table base(x int, y varchar2(3)); Table created. SQL> SQL> insert into staging values(1,'ABC'); 1 row created. SQL> insert into staging values (2,'DEF'); 1 row created. SQL> commit; Commit complete. SQL> select * from staging; X Y ---------- --- 1 ABC 2 DEF SQL> select * from base; no rows selected SQL> SQL> insert into base 2 select * from staging; 2 rows created. SQL> commit; Commit complete. SQL> truncate table staging; Table truncated. SQL> SQL> select * from staging; no rows selected SQL> select * from base; X Y ---------- --- 1 ABC 2 DEF SQL> SQL> exit
-
See above for more details
Can you please close and reopen the history? See you always this problem then?
-
Your comments running command SQL Developer
In version 1.x, there was visible comments (throbbing icon) when a statement was running. This seems to have disappeared in 2.1. Is it possible to restore it?Yes, all 2.1 versions have this, but FYI don't forget the other thread: F9 on anything except a normal SELECTION currently shows only progress in the progress of the tasks pane...
Kind regards
K. -
SQL * more the 'timing' in SQL Developer command
I installed SQL Developer version 4.1.1.19. In the sql worksheet, how can I use SQL * more order 'timing' in a script to see a time elapsed SQL? The "Timing" on 'set' did not return any info after running SQL, and 'calendar beginning mon_timer' back 'command Timing is obsolete. Help, please.
Thank you
- As you can see, there is no calendar information in the script output log.
- Then I tried on the discussion forum, found it can be enabled in "tool > preference > Database > startup script" and set as startup script:
Set serveroutput on
set timing on
- However, 2 questions are:
- the calendar that he returned is NOT the elapsed time of my stored procedure to run. He simply choose the 2 time points its time, before and not after MS point run. Set timing on is therefore not a solution for me.
- He did not follow the instructions in the startup script. After that I put the calendar in the startup script, stop & restart SQL Developer, same laptop charging, timing still on. The only way to turn off now is to configure it to NOT use
any startup script.
- Then I developed my own coding as a solution:
3. control of the COIL
VAR bv_start_ts VARCHAR2 (30)
VAR bv_end_ts VARCHAR2 (30)
VAR bv_elps_ts VARCHAR2 (30)
DECLARE
v_start_ts VARCHAR2 (30);
BEGIN
SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_start_ts FROM DUAL;
: bv_start_ts: = v_start_ts;
END;
/
IMPRESSION bv_start_ts
EXEC pmsmmi.rpt.rpt_ethncty_race_smry (15);
DECLARE
v_end_ts VARCHAR2 (30);
BEGIN
SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_end_ts FROM DUAL;
: bv_end_ts: = v_end_ts;
END;
/
IMPRESSION bv_end_ts
EXEC: bv_elps_ts: = TO_CHAR (TO_TIMESTAMP (: bv_end_ts, 'yyyymmddfxDyhh24miss.ff6')-TO_TIMESTAMP (: bv_start_ts, 'yyyymmddfxDyhh24miss.ff6'), 'hh:mi:ss.ff6');
IMPRESSION bv_elps_ts
SPOOL OFF
- Then I got what I want, the answer is in the 'PRINT ': bv_elps_ts
SQL > VAR bv_start_ts VARCHAR2 (30)
SQL > VAR bv_end_ts VARCHAR2 (30)
SQL > VAR bv_elps_ts VARCHAR2 (30)
SQL > DECLARE
v_start_ts VARCHAR2 (30);
BEGIN
SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_start_ts FROM DUAL;
: bv_start_ts: = v_start_ts;
END;
/
PL/SQL procedure successfully completed.
Elapsed time: 00:00:00.031
SQL > PRINT bv_start_ts
BV_START_TS
-----------
20150702Thu112617.775545
SQL > EXEC pmsmmi.rpt.rpt_ethncty_race_smry (15)
PL/SQL procedure successfully completed.
SQL > DECLARE
v_end_ts VARCHAR2 (30);
BEGIN
SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_end_ts FROM DUAL;
: bv_end_ts: = v_end_ts;
END;
/
PL/SQL procedure successfully completed.
Elapsed time: 00:00:00.062
SQL > PRINT bv_end_ts
BV_END_TS
---------
20150702Thu112630.805786
SQL > EXEC: bv_elps_ts: = TO_CHAR (TO_TIMESTAMP (: bv_end_ts, 'yyyymmddfxDyhh24miss.ff6')-TO_TIMESTAMP (: bv_start_ts, 'yyyymmddfxDyhh24miss.ff6'), 'hh:mi:ss.ff6')
PL/SQL procedure successfully completed.
SQL > PRINT bv_elps_ts
BV_ELPS_TS
----------
+ 00:00:13.030241000 000000
SQL > SPOOL OFF
-
Create the view using SQL DEVELOPER
I'm new to this forum :)
11 GR 2, WIN2008 R2
SQL Developer Version 3.2.09
I am creating the data below view (view existing)
Table: Dovmarker
I try to describe the table and my goal :),MARKERBOREHOLE UWI MARKERSURFACE Z WELLXXX 65372643AAAA Cw -982,985619574516 WELLXXX 65372643AAAA Cn -1891,47401803955 WELLXXX 65372643AAAA J -674,989528816517 WELLXXX 65372643AAAA K3 20,00165000429 WELLXXX 65372643AAAA Tr 125,000317308153 WELLXXX 65372643AAAA K1 -658,989731894024 WELLXXX 65372643AAAA Q 149,999999999549 WELLYYY 56618334AAAA Jkm -715,071442105268 WELLYYY 56618334AAAA K3 36,9013966413975 WELLYYY 56618334AAAA J2 -976,056079257549 WELLYYY 56618334AAAA Tr 106,900507694299
each line describes wells, uwi(uniqe identifier), z (deppth), high (surface marker)
I try to merge all lines with the same MARKERBOREHOLE/UWI and MARKERSURFACE contact coresponding Z (ascending) as MARKERSURFACE = Z.
If it is posibble to reduce the number of decimals to 2.
My idea to solve the problem:
example: ' | ' is the delimiter
or better (not enough knowledge ;))WELLXXX Q=149,999999999549 | Tr=125,000317308153 | K3=20,00165000429 | K1=-658,989731894024 | J =-674,989528816517 | Cw=-982,985619574516 | Cn=-1891,47401803955 WELLYYY Tr=106,900507694299 | K3=36,9013966413975 | Jkm=-715,071442105268 | J2=-976,056079257549
Number of markersurface is different for each wellWELLXXX Q=149,999999999549 Tr=125,000317308153 K3=20,00165000429 K1=-658,989731894024 J =-674,989528816517 Cw=-982,985619574516 Cn=-1891,47401803955 WELLYYY Tr=106,900507694299 K3=36,9013966413975 Jkm=-715,071442105268 J2=-976,056079257549
I try to do it by the listagg function, but I have failled
result:select markerborehole, listagg(z, ' | ') within group (order by z) as new1 from dovmarker group by markerborehole;
When I tried to create new view in sql developer I occurred error;WELLZZZ -2575,95869465411 | -1891,47401803955 | -982,985619574516 | -674,989528816517 | -658,989731894024 | WELLRRR -2376,96975480605 | -2376,96975480605 | -2308,97180590009 | -2308,97180590009 | -2206,47428534641 | -2206,47428534641 | -2163,97522524171
Can you help me with this?Error(s) parsing SQL: unexpected token near *!* in the following: select markerborehole, listagg(z, ' | ') within *!*group (order by z) as new1 unexpected token near *!* in the following: select markerborehole, listagg(z, ' | ') within group *!*(order by z) as new1 missing expression near *!* in the following: select markerborehole, listagg(z, ' | ') within group (*!*order by z) as new1
Concerning
Jaroslaw961148 wrote:
I missed xWell Yes, my apologies, I has not changed all that.
It's a simple way to format the Z value to 2 decimal places?
Yes. It depends on if you want to use rounded, floor, ceiling, truncate or if you like a string always have 2 decimal places etc.
Make your choice and customize according to your needs...SQL> ed Wrote file afiedt.buf 1 with t as (select 'WELLXXX' as MARKERBOREHOLE, '65372643AAAA' as UWI, 'Cw' as MARKERSURFACE, -982.985619574516 as Z from dual union all 2 select 'WELLXXX', '65372643AAAA', 'Cn', -1891.47401803955 from dual union all 3 select 'WELLXXX', '65372643AAAA', 'J', -674.989528816517 from dual union all 4 select 'WELLXXX', '65372643AAAA', 'K3', 20.00165000429 from dual union all 5 select 'WELLXXX', '65372643AAAA', 'Tr', 125.000317308153 from dual union all 6 select 'WELLXXX', '65372643AAAA', 'K1', -658.989731894024 from dual union all 7 select 'WELLXXX', '65372643AAAA', 'Q', 149.999999999549 from dual union all 8 select 'WELLYYY', '56618334AAAA', 'Jkm', -715.071442105268 from dual union all 9 select 'WELLYYY', '56618334AAAA', 'K3', 36.9013966413975 from dual union all 10 select 'WELLYYY', '56618334AAAA', 'J2', -976.056079257549 from dual union all 11 select 'WELLYYY', '56618334AAAA', 'Tr', 106.900507694299 from dual) 12 -- 13 -- END OF TEST DATA - IGNORE ABOVE WITH CLAUSE 14 -- 15 select z 16 ,round(z,2) as round_z_2 17 ,floor(z*100)/100 as floor_z_2 18 ,ceil(z*100)/100 as ceil_z_2 19 ,trunc(z,2) as trunc_z_2 20 ,to_char(round(z,2),'fm9990.00') as string_z_2 21* from t SQL> / Z ROUND_Z_2 FLOOR_Z_2 CEIL_Z_2 TRUNC_Z_2 STRING_Z ------------------- ---------- ---------- ---------- ---------- -------- -982.9856195745160 -982.99 -982.99 -982.98 -982.98 -982.99 -1891.4740180395500 -1891.47 -1891.48 -1891.47 -1891.47 -1891.47 -674.9895288165170 -674.99 -674.99 -674.98 -674.98 -674.99 20.0016500042900 20 20 20.01 20 20.00 125.0003173081530 125 125 125.01 125 125.00 -658.9897318940240 -658.99 -658.99 -658.98 -658.98 -658.99 149.9999999995490 150 149.99 150 149.99 150.00 -715.0714421052680 -715.07 -715.08 -715.07 -715.07 -715.07 36.9013966413975 36.9 36.9 36.91 36.9 36.90 -976.0560792575490 -976.06 -976.06 -976.05 -976.05 -976.06 106.9005076942990 106.9 106.9 106.91 106.9 106.90 11 rows selected.
with above code I try to create a new view in SQL Developer, but I have error:
Error(s) parsing SQL: Unexpected token near *!* in the following: select markerborehole, listagg(z,chr(10)) within *!*group(order by rn) as z Unexpected token near *!* in the following: select markerborehole, listagg(z,chr(10)) within group*!*(order by rn) as z Missing expression near *!* in the following: select markerborehole, listagg(z,chr(10)) within group(*!*order by rn) as z
What are all the {noformat}! * * {noformat} in the code? Delete them.
Edit: or maybe your version of SQL Developer is not up-to-date and does not know the new LISTAGG function in 11g?
Published by: BluShadow on 26-Sep-2012 09:41
-
How to get the script to a table or view in SQL Developer?
Dear friends/expert,
Could you tell me how to get the script from a view or a table easily in SQL Developer as pressing F4 in TOAD?
I found that I can press SHIFT + F4 to view in SQL Developer and get the script of the view in the Details tab. But how to move the script to the SQL worksheet to change? It is very easy to do in TOAD.
And I have not found a way to get the script for a table up to now. Is it possible to do?
Thanks in advance.
Best regards
NingThere are people a lot better out there to answer on this point than I am - but here's how I do it.
I'm just in the browser/browser for interest table, choose the script on the right side tab (which shows all the SQL for the table) and then cut and paste what I want or need in my editor window.
-
SQL Developer 3.0 EA1 creates account names case senstive
Hello
When you create a new account with SQL Developer 3.0 EA1, the username is enclosed in quotes. This creates an account name of case-sensitive which creates problems when you try to sign. Historically, the account names have been converted to uppercase internally and during the logon sequence this is expected behavior. Not sure why SQL Developer 3.0 EA1 team has chosen to start encapsulating user names when creating quotes?
Example of a create user statement of 2.0
-SQL USER
Why_this_old_way CREATE USER IDENTIFIED BY scott;
-ROLES
GRANT "RESOURCE" FOR why_this_old_way;
GRANT "CONNECT" to why_this_old_way.
Example of a create user statement of 3.0 EA1.
-SQL USER
CREATE USER 'why_this_new_way' IDENTIFIED BY scott;
-ROLES
GRANT the "RESOURCE" to "why_this_new_way";
GRANT 'CONNECT' to 'why_this_new_way ';
Having the names of case-sensitive objects significantly increases the complexity unnecessarily, please do not implement this approach.
Scott K.There was a change made to address another issue that caused this problem. I supported this behavior will return following EA (when it exists) or the Production version.
Syme
-
SQL Developer CLI honor named connections in SQL dev
While trying to run SQLDEV CLI, I get the error during command line call. Here's what I did-
(1) created a unit test in SQl Developer
(2) verified that it works correctly
(3) open the command prompt and went to SQLdeveloper/sqldeveloper/bin dir.
(4) called-> unittest sdcli64.exe - run - test - name "AWARD_BONUS_TEST" - repo UT_REPO - db HUB28. (name of the connection, the name of repo are same with SQL Developer)
obtained after error-
Oracle.jdeveloper.db.ConnectionException SEVERE: cannot connect to the HUB28 database. encountered error is: invalid connection information specified.
Check the URL format for the specified driver.
oracle.jdeveloper.db.DatabaseConnections.getUniqueConnection(DatabaseConnections.java:677)
SEVERE empty - java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
Unable to run the test.
Environment-
Developer SQL 4.0 ai2
Windows 7, 64 bit.
Java (build 1.7.0_40 - b43) 64-bit
Jeff Smith Sqldev Pm-Oracle Gary Graham-Oracle , I was able to run tests using SDCLI, well, there is opposition Repository connection and target DB were setup in SQLDEV using connections based TNS, SQCLI has managed to connect repository but never target DB, once I changed the target DB for a named connection (providing Server, SID) it starts to work properly. Cross, I checked all the documents, but could not find any reason for this behavior. He can see that works similarly to the 3.1, 3.2, 4.0 EA1, 4.0 ai2 can you confirm that it is intended?
-
SQL Developer Oracle 11g XE database error
Hello
I am trying to create a new connection in SQL Developer Version 3.2.20.09 in the Oracle 11 g XE database, but I still encounter the error "status: failed Test failed: IO error: the network adapter could not establish the connection.
I type the commands below in the command prompt.
lsnrctl stop
lsnrctl start
lsnrctl status
lsnrctl service
set
Here are the results in the command prompt:
C:\Users\paul. John.s.Calzado > lsnrctl stop
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 5 April 2013 17:58
: 52
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
32-bit Windows error: 2: no such file or directory
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = MW74Q2YZ4X4F09.dir.svc.a
ccenture.com) (port = 1521)))
TNS-12545: Connect failed because target host or object does not exist
AMT-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows error: 1004: unknown error
C:\Users\paul. John.s.Calzado > lsnrctl start
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 5 April 2013 17:58
: 57
Copyright (c) 1991, 2010, Oracle. All rights reserved.
From tnslsnr: Please wait...
AMT-12560: TNS:protocol adapter error
AMT-00530: Protocol adapter error
C:\Users\paul. John.s.Calzado > lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 5 April 2013 17:59
: 01
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
32-bit Windows error: 2: no such file or directory
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = MW74Q2YZ4X4F09.dir.svc.a
ccenture.com) (port = 1521)))
TNS-12545: Connect failed because target host or object does not exist
AMT-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows error: 1004: unknown error
C:\Users\paul. John.s.Calzado > lsnrctl service
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 5 April 2013 17:59
: 05
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
32-bit Windows error: 2: no such file or directory
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = MW74Q2YZ4X4F09.dir.svc.a
ccenture.com) (port = 1521)))
TNS-12545: Connect failed because target host or object does not exist
AMT-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows error: 1004: unknown error
C:\Users\paul. John.s.Calzado > set
ALLUSERSPROFILE = C:\programdata
AppData is C:\Users\paul. John.s.calzado\AppData\Roaming
CommonProgramFiles = c: files
CommonProgramFiles (x 86) = c: Program Files (x 86) \Common Files
CommonProgramW6432 = c: files
COMPUTERNAME = MW74Q2YZ4X4F09
ComSpec=C:\windows\system32\cmd.exe
FP_NO_HOST_CHECK = NO
HOMEDRIVE = C:
HOMEPATH = \Users\paul. John.s.Calzado
LocalAppData is C:\Users\paul. John.s.calzado\AppData\Local
LOGONSERVER = \\MRCDC1801
NUMBER_OF_PROCESSORS = 4
OS = Windows_NT
Path=C:\oraclexe\app\oracle\product\11.2.0\server\bin; C:\Windows\System32; C:\wi
ndows; C:\windows\System32\Wbem; C:\windows\System32\WindowsPowerShell\v1.0\
PATHEXT = .COM; EXE;. BEATS;. CMD;. VBS;. VBE;. JS;. JSE;. WSF;. WSH;. MSC
PROCESSOR_ARCHITECTURE = AMD64
PROCESSOR_IDENTIFIER = Intel64 family 6 model 37 Stepping 2 GenuineIntel
PROCESSOR_LEVEL = 6
PROCESSOR_REVISION = 2502
ProgramData = ProgramData
ProgramFiles = c: Program Files
ProgramFiles (x 86) = c: Program Files (x 86)
ProgramW6432 = C:\Program Files
PROMPT = $P$ G
PSModulePath=C:\windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC = C:\Users\Public
SESSION = Console
SYSDRIVE = SYSTEMFOLDER %
SystemDrive = C:
SystemRoot = C:\windows
TEMP=C:\Users\PAULJO~1.CAL\AppData\Local\Temp
TMP=C:\Users\PAULJO~1.CAL\AppData\Local\Temp
UATDATA = C:\windows\SysWOW64\CCM\UATData\D9F8C395-CAB8-491 d-B8AC-179A1FE1BE77
USERDNSDOMAIN IS DIR. SVC. ACCENTURE.COM
USERDOMAIN = DIR
USERNAME = Paul.John.s.Calzado
UserProfile is C:\Users\paul. John.s.Calzado
windir = C:\windows
windows_tracing_flags = 3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
C:\Users\paul. John.s.Calzado >
Here are the results of ping as well:
C:\Users\paul. John.s.Calzado > ping localhost
Ping MW74Q2YZ4X4F09.dir.svc.accenture.com [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes = 32 time < 1 ms TTL = 128
Reply from 127.0.0.1: bytes = 32 time < 1 ms TTL = 128
Reply from 127.0.0.1: bytes = 32 time < 1 ms TTL = 128
Reply from 127.0.0.1: bytes = 32 time < 1 ms TTL = 128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, received = 4, lost = 0 (0% loss),
Time approximate round trip in milli-seconds:
Minimum = 0ms, Maximum = 0ms, average = 0ms
C:\Users\paul. John.s.Calzado > tnsping localhost
AMT Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 05-APR-2
013 18:07:46
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Use settings files:
C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
Name of HOST adapter used to resolve the alias
Try to contact (DESCRIPTION = (CONNECT_DATA = (SERVICE_NAME =)) (ADDRESS = (PROTO
(COL = TCP)(HOST=127.0.0.1) (PORT = 1521)))
AMT-12541: TNS:no listenerJP wrote:
I type the commands below in the command prompt.Use the services control panel to start the XETNSListener service, if the command line does not work for you.
>
lsnrctl stop
lsnrctl startThese two cmmands on the latest variants of Win, needs a privs elevated command prompt IE started with run as administrator...
to avoid any error below.C:\Users\paul. John.s.Calzado > lsnrctl start
From tnslsnr: Please wait...
AMT-12560: TNS:protocol adapter error
AMT-00530: Protocol adapter errorName of HOST adapter used to resolve the alias
Try to contact (DESCRIPTION = (CONNECT_DATA = (SERVICE_NAME =)) (ADDRESS = (PROTO
(COL = TCP)(HOST=127.0.0.1) (PORT = 1521)))
AMT-12541: TNS:no listenerAs long as you have 'no listener', you can't wait to connect to the site of the developer SQL or any other LDAP client.
-
Problem with SQL Developer to capture
Hi guys,.
I am facing a problem for the last 4 days with SQL Developer. I use to migrate sql database to oracle SQL Developer. It worked well before and I had migrated some tables as well. But all of a sudden a few days before I had a mistake, I was unable to capture the objects. While I am trying to capture the sql database or the tables the progress dialog box is displayed as usual, but he suddenly gets hit and the green light turns red which is in the upper left corner. Said at that time, the progress message that appears at the bottom of the box +' stored jdbc:jtds:sqlserver: / / < hostname >: < port > / < the database name > ' +. But if I use another oracle server, then I can capture objects.
Because of this error, I'm not able to go forward. I tried to solve this problem in many ways. But nothing helps! Please help me solve this problem, as it's an emergency.
Thanks in advance.
RAM.
Published by: Ram Dhilip on March 22, 2010 08:16
Published by: Ram Dhilip on March 22, 2010 08:16
Published by: Ram Dhilip on March 22, 2010 08:19
Published by: Ram Dhilip on March 22, 2010 08:34You can use the method of capture in offline mode:
Click on tools-> Migration-> third party database offline Capture-> Capture database creation scripts
Now select the output directory of these scripts and the source database. Also, make sure that you have selected the Batch mode. Once this is done, copy all scripts on a computer with an installed SQL Server client or perform the export on the SQL Server computer directly.
Run the script and you'll get 2 directories with a couple of DAT files created. ALL switch to SQL Developer machine and load them into the SQL Developer
Click on tools-> Migration-> third party database offline Capture-> Capture Script output load of database -
Cannot modify most user Source in SQL Developer
Hello
I created an Oracle 12.1.0.2 database container called DEVELOP and responsible for 11 GR 2 one hundred packages and 600 tables with hundreds of pages of APEX 5.0.
I did it using IMPDP and applications run well in the 5.0.2 APEX I just tested all applications.
Each version of SQL Developer (4.1.2 4.1.3 and the version that comes with 12 c for download) does not allow me to edit any package, procedure, function, or type.
All I see is "CREATE or REPLACE.
I can see all the tables and data.
I saw some problems that appear which suggested using 12.1.0.2 if that happen which I use.
I create a window using the SYSDBA account for the container, then:
Select * from DBA_OBJECTS where owner = 'LSDB' and object_type = 'PACKAGE '.
I see all of my packages.
I create a window in the account for these objects, called LSDB can:
When I run select * from USER_OBJECTS where type_objet = 'PACKAGE '. I see all my packages, for example.
When I run select NAME DISTINCT from USER_SOURCE; I don't see any source at all code, even if I can right-click on each package of SQL Developer and download the entire package in a window and modify the set.
The source code is somewhere else, simply not visible to the process tree viewer that seems.
I don't see many discussions on this issue for 12 c 12.1.0.2.
Because it is a test of 12 c, I gave all the roles and privileges for the LSDB account.
I am new to 12 c and Developer SQL 4.1.x. and I'm not a magician to the inner workings of the Oracle or SQL Developer, this behavior seems very strange to me.
Any help would be greatly appreciated.
Thank you
Bernie
Jeff,
Here is the right solution to this problem.
This problem was caused by a failure to completely put the PDB container $ SEEDS at 32K extended varchar2 objects.
The pluggable DEVELOP database has been upgraded to 32K VARCHAR2 objects correctly, but APB$ SEEDS was not.
This resulted in an Oracle ORA-14696 error when you create a new database plug-in, DEVELOP2.
Once the PDB database $ SEED container has been properly upgraded to 32K VARCHAR2 objects using the following code, Developer SQL displays all the source properly, and the new database plug-in DEVELOP2 could also be created.
You can close this topic and thanks for your help.
BPW
SQL > conn / AS sysdba
SQL > startup mount
SQL > migrate ALTER DATABASE OPEN;
DATABASE altered.
SQL > SELECT con_id, name, open_mode FROM v$ PDB;
CON_ID NAME OPEN_MODE
---------- ------------------------------ ----------
2 PDB$ SEEDS MIGRATE
SQL > ALTER SESSION SET container = APB$ SEED;
Modified SESSION.
SQL > SELECT SYS_CONTEXT ('USERENV', 'CON_NAME') AS a 'Container' FROM dual;
Container
------------------------
PDB$ SEEDS
SQL > ALTER system SET max_string_size = EXTENDED;
Modified system.
SQL > @? / rdbms/admin/utl32k. SQL
PROCEDURE is complete PL/SQL with success.
-
Import Export using SQL Developer
People
I have 6 tables whose data must be exported from a database and imported into the other. The structure of the table constraints etc. is the same across both of the DB.
Database is 11g. Average amount of data in tables 5 is 2.5million contain lines and 1 340million.
Could you please suggest the best possible way to the export and import of data using SQL Developer. Developer SQL version 3.2.20.09
There is an option in the 'View' tab in Developer SQL by using 'DBA' but do not have s/n of these patterns. I am well aware expdp and impdp operations but it is managed by another team that can cause delays both want to do it myself.
Can we do expdp and impdp on SQL Developer without access s/n?
All of the suggestions.
Thank you
Simple method would be to create external table Using the ORACLE_DATAPUMP Access Driver. Its neat and fast.
http://docs.Oracle.com/CD/B28359_01/server.111/b28319/et_dp_driver.htm#i1007502
Maybe you are looking for
-
I can type my search in the address bar. Why do I need a separate search beside him bar? How can I get rid of him? And I can't find the RSS FEED button more. And yet one thing - your "Help button" should be replaced by a box 'he is NO help... "
-
Hi all. I use Kuzy keyboard cover on my mac pro retina display. I read that Apple does not recommend to use the keypad cover when you close the mac of retina display. So I wonder if it would be dangerous to use key cover if I put the microfibre cloth
-
Re: Satellite P300-1AE - port SATA speed
Hello I have wonderd what sata port speed is on my laptop for a possible upgrade to an ssd.I know that the chipset is able to use 3 Gbit/S, but I've also read that some company limited the seed to 1.5 Gbps for the extended battery life.Given that dri
-
Cannot install the FSX SDK says that there is no such thing as the E: drive.
Original title: games I try to install the FSX SDK on a second computer. He settled not and says that there is no such thing as the E: drive. There is no windows popping up for me so that it points in the right direction. It will also not be insta
-
Disable the default ISAKMP policy?
Y at - there no way to disable or change the default ISAKMP policy? I created the number 20 of the police, which is used in a VPN site-to site in vain for a quarterly PCI analysis the results come back in due to stage successful 1 authentication wit