SQL Developer 3.2.20.09 - Database Export generating an unusable file
I am using the Database Export option in the tools menu to create a script to create schema objects. Unfortunately, the output of the script is not very usable. There seem to be extra '/' throughout the script. Here is a sample:
-- DDL for Sequence ADDL_INFO_GROUP_SEQ
CREATE SEQUENCE "ADDL_INFO_GROUP_SEQ" MINVALUE 1 MAXVALUE 2147483647 INCREMENT BY 1 START WITH 1 CACHE 1000 NOORDER CYCLE ;
-- DDL for Sequence ADDL_INFO_NAME_LANG_SEQ
CREATE SEQUENCE "ADDL_INFO_NAME_LANG_SEQ" MINVALUE 1 MAXVALUE 2147483647 INCREMENT BY 1 START WITH 1 CACHE 1000 NOORDER CYCLE ;
-- DDL for Sequence ADDL_INFO_VALUE_SEQ
CREATE SEQUENCE "ADDL_INFO_VALUE_SEQ" MINVALUE 1 MAXVALUE 2147483647 INCREMENT BY 1 START WITH 1 CACHE 1000 NOORDER CYCLE ;
-- DDL for Sequence ATTACHMENT_GROUP_SEQ
CREATE SEQUENCE "ATTACHMENT_GROUP_SEQ" MINVALUE 1 MAXVALUE 2147483647 INCREMENT BY 1 START WITH 1 CACHE 1000 NOORDER CYCLE ;
Obviously, having both the ';' at the end of the statement and the '/' on the following line will cause an error when the script is executed.
Has anyone else seen this kind of behavior?
In SQLPlus, this script will attempt to create everything twice, resulting in
ORA-00955: name is already used by an existing objectfor each line.
If SQL Developer doesn't do this then its SQLPlus compatability is broken.
This is messy and undesirable for DDL statements, but will definitely result in the wrong behaviour if there are insert statements.
Similar Messages
-
How sql developer connects to a oracle database
hi,
I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
How does it make the connection with oracle server?
Sameera924164 wrote:
hi,
I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
How does it make the connection with oracle server?
SameeraWelcome to OTN
From Left side Tab click on (+) New Connection. Then at the window give a connection name,User name,Password.
Then provide Host Name, Port and SID
Click on Test button and then save or connect.
Hope this will help you -
Import from a full database export having 5 .dmp files
i have a full database export having 5 .dmp files of 2g each, its having a user agvlc and which contains some partitioned tables,i imported the data for the user agvlc in a tablespace agvlc al the tables gets imported but the partitions are not getting imported what can i do to import the partitions as well
thanx in advanceHello,
al the tables gets imported but the partitions are not getting imported what can i do to import the partitions as wellHow do you see that the Partitions are not imported ? Do you have any error message ?
Which options did you use for the Import ?
Please, as previously said, post all the informations so that we can help you efficiently.
Best regards,
Jean-Valentin -
SQL Developer 2.1.0.63.73 exports DATE as TIMESTAMP
I believe this is a bug. When I export a table to an XLS file, the values contained in DATE columns are saved as if they were TIMESTAMP:
eg. 31-DEC-09 12:00:00 AM would export as 31-DEC-09 12.00.00.000000000 AM
Not really a huge deal until you try to import it back in, in which case you can't import a TIMESTAMP into a DATE column. First, you'll get an error about the AM/A.M. or PM/P.M. missing. You can't explicitly specify the date format during the import either as Oracle rejects it since it's not supported. The proper way is to cast it back to a date, but you can't do that through the import function.
Regardless, I think the export function should export DATEs according to the Date Format NLS settings but it is not.
If it makes any difference, I'm using the 64-bit Windows version of SQL Developer on Windows 7 64-bit with the Oracle 64-bit client.Hi,
Not sure if this is something related to my previous problem.
My SQL Dev gives the correct date format on exporting to Excel, but fails on export INSERT statement
Vasan, one of the sql dev's team member, gave this workaround which solved my problem
>
You can add the following in the sqldeveloper.conf to ensure that the driver doesn't report the column type of a DATE column as TIMESTAMP.
AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
>
as suggested in this thread
Re: 2.1 EA1: Problems on Date type columns
Hope this help,
Buntoro -
SQL Developer 3.0 EA Certified Databases and Platforms
Is SQL Developer 3.0 EA(including SQL Developer 2.1) certified with the follow OS and DB? Thank you.
Windows 2003 32bit
Windows 2003 R2
Oracle Database 10g Release 2
Oracle Database 9i and Oracle Database 9i R2
SQL Server 2008 and SQL Server 2008 R2
There is certification information below, but not in detailed. So want to confirm as above.
http://www.oracle.com/technetwork/developer-tools/sql-developer/certification-096745.html
Edited by: user780879 on 2011/01/06 2:10Hi,
There are differentiation between certified and supported.
See Sue's comment on the following thread to have a better idea of this :
Re: SQL Developer with Oracle 9i
9i is supported, not certified.
From your lists, anything which are not listed, hopefully are still supported.
Not sure for SQL Server 2008, though.
Regards,
Buntoro -
Help how to connecting Oracle SQL Developer 3.0 with Oracle Database 11g
Hello,
I'm new in oracle developer yesterday i setup in my laptop database 11g the last version (11.2.0.1.0), well i follow steps still i got succeed to install, and i got my local host URL and i test my user name and password work very well, my problem now is i try to connect database 11g using Oracle SQL Developer 3.0 (3.0.04.34) but always filed and with my little experience i don't know where the wrong. as i said i test database after finish install is work fine the my URL is https://Ahmed-HP:1158/em and i test my username and password that i already set before is enter normal in my local database, please i need help to know how i connect database with Oracle SQL Developer 3.0 (3.0.04.34).
Thanks,885173 wrote:
EdStevens, thanks for your quick answer, sorry for my explain was doesn't clear, i open oracle sql developer and choose new connection i set connection name system_orcl username:system password:*i set my password that i create when i setup database*
-Now the link that i got after finish install database is https://Ahmed-HP:1158/em so i have question about this point Hostname and port if the link to access database is this https://Ahmed-HP:1158/em so this mean i typing at Hostname:localhost and port:1158 ?
because the message when i test connection always is filed and I'm sure i typing username and password and SID:orcl as i set when install database.port 1158 is what the dbcontrol (Oracle Enterprise Manager) is listening on. OEM is NOT the database. As far as the database is concerned, OEM is "just another client".
Actually, the database doesn't listen for requests on any port. There is another process, the "listener" that listens for requests to connect to the database. Typically, it listens on port 1521. You should have a tnsnames.ora file set up to resolve a connection request to the correct host. You can read more on this at http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ -
SQL Developer 3.1EA1 JAVA Error During Export
Displayed approx. 10 records from a table and right clicked on the results tab. Chose Export and the following appeared. I am using Windows XP JAVA 1.6.0_26 32 bit versions.
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: oracle.dbtools.raptor.export.ExportObjects
Dependent class: java.awt.Component
Loader: jre.bootstrap:1.6.0_26
Code-Source: unknown
Configuration: jre bootstrap
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2180) [C:/Oracle/Tools/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@13288040]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1733) [C:/Oracle/Tools/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@13288040]
at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.java:143) [C:/Oracle/Tools/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@13288040]
at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClassLoader.java:331) [C:/Oracle/Tools/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@13288040]
at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1692) [C:/Oracle/Tools/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@13288040]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1674) [C:/Oracle/Tools/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@13288040]
at java.lang.Class.getDeclaredMethods0 (Native method) [unknown, by unknown]
at java.lang.Class.privateGetDeclaredMethods (Class.java:2427) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.lang.Class.getDeclaredMethod (Class.java:1935) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Component.isCoalesceEventsOverriden (Component.java:5973) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Component.access$500 (Component.java:169) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Component$3.run (Component.java:5927) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Component$3.run (Component.java:5925) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
at java.awt.Component.checkCoalescing (Component.java:5924) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Component.<init> (Component.java:5893) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Container.<init> (Container.java:251) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at javax.swing.JComponent.<init> (JComponent.java:570) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at javax.swing.JPanel.<init> (JPanel.java:65) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at javax.swing.JPanel.<init> (JPanel.java:92) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at javax.swing.JPanel.<init> (JPanel.java:100) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at oracle.ide.panels.DefaultTraversablePanel.<init> (DefaultTraversablePanel.java:29) [C:/Oracle/Tools/sqldeveloper/ide/lib/idert.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
at oracle.dbtools.raptor.export.wizard.ExportWizDestinstaionPanel.<init> (ExportWizDestinstaionPanel.java:62) [C:/Oracle/Tools/sqldeveloper/ide/lib/patches/oracle.sqldeveloper.incremental_patch.jar (from system property ide.patches.dir), by ide-global:11.1.1.0.0]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native method) [unknown, by unknown]
at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39) [unknown, by unknown]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27) [unknown, by unknown]
at java.lang.reflect.Constructor.newInstance (Constructor.java:513) [unknown, by unknown]
at oracle.ide.panels.MetaTraversable.newTraversable (MetaTraversable.java:315) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at oracle.ide.wizard.Step.newTraversable (Step.java:171) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at oracle.ide.wizard.FSMStateInfo.getTraversable (FSMStateInfo.java:99) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at oracle.ide.wizard.FSMWizard._addPage (FSMWizard.java:534) [C:/Oracle/Tools/sqldeveloper/ide/lib/idert.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
at oracle.ide.wizard.FSMWizard._populatePages (FSMWizard.java:492) [C:/Oracle/Tools/sqldeveloper/ide/lib/idert.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
at oracle.ide.wizard.FSMWizard.<init> (FSMWizard.java:112) [C:/Oracle/Tools/sqldeveloper/ide/lib/idert.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
at oracle.dbtools.raptor.export.wizard.ExportWizMain.launchWizard (ExportWizMain.java:169) [C:/Oracle/Tools/sqldeveloper/ide/lib/idert.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
at oracle.dbtools.raptor.export.wizard.ExportWizMain.launchForData (ExportWizMain.java:141) [C:/Oracle/Tools/sqldeveloper/ide/lib/idert.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
at oracle.dbtools.raptor.dialogs.actions.TableExportAction.launchForData (TableExportAction.java:104) [C:/Oracle/Tools/sqldeveloper/ide/lib/idert.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
at oracle.dbtools.raptor.controls.grid.contextmenu.ExportGrid$1.actionPerformed (ExportGrid.java:161) [C:/Oracle/Tools/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar (from extension jar in C:\Oracle\Tools\sqldeveloper\sqldeveloper\extensions), by ide-global:11.1.1.0.0]
at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1995) [C:/Oracle/Tools/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar (from extension jar in C:\Oracle\Tools\sqldeveloper\sqldeveloper\extensions), by ide-global:11.1.1.0.0]
at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2318) [C:/Oracle/Tools/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar (from extension jar in C:\Oracle\Tools\sqldeveloper\sqldeveloper\extensions), by ide-global:11.1.1.0.0]
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387) [C:/Oracle/Tools/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar (from extension jar in C:\Oracle\Tools\sqldeveloper\sqldeveloper\extensions), by ide-global:11.1.1.0.0]
at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:242) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at javax.swing.AbstractButton.doClick (AbstractButton.java:357) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at javax.swing.plaf.basic.BasicMenuItemUI.doClick (BasicMenuItemUI.java:809) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased (BasicMenuItemUI.java:850) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Component.processMouseEvent (Component.java:6288) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at javax.swing.JComponent.processMouseEvent (JComponent.java:3267) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Component.processEvent (Component.java:6053) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Container.processEvent (Container.java:2041) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Component.dispatchEventImpl (Component.java:4651) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Container.dispatchEventImpl (Container.java:2099) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Component.dispatchEvent (Component.java:4481) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:4577) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.LightweightDispatcher.processMouseEvent (Container.java:4238) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.LightweightDispatcher.dispatchEvent (Container.java:4168) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Container.dispatchEventImpl (Container.java:2085) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Window.dispatchEventImpl (Window.java:2478) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.Component.dispatchEvent (Component.java:4481) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventQueue.dispatchEventImpl (EventQueue.java:643) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventQueue.access$000 (EventQueue.java:84) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventQueue$1.run (EventQueue.java:602) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventQueue$1.run (EventQueue.java:600) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
at java.security.AccessControlContext$1.doIntersectionPrivilege (AccessControlContext.java:87) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.security.AccessControlContext$1.doIntersectionPrivilege (AccessControlContext.java:98) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventQueue$2.run (EventQueue.java:616) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventQueue$2.run (EventQueue.java:614) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
at java.security.AccessControlContext$1.doIntersectionPrivilege (AccessControlContext.java:87) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventQueue.dispatchEvent (EventQueue.java:613) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java:269) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java:184) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:174) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:169) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:161) [jre bootstrap, by jre.bootstrap:1.6.0_26]
at java.awt.EventDispatchThread.run (EventDispatchThread.java:122) [jre bootstrap, by jre.bootstrap:1.6.0_26]Hi,
The "Missing class: oracle.dbtools.raptor.export.ExportObjects" is used in 3.0 (found in oracle.sqldeveloper.jar) but not 3.1. Did you not remember to install 3.1 into an empty directory? That would also be the most likely reason for the issues you encountered in these other posts:
SQL Developer 3.1EA1 Connected Icon
SQL Developer 31EA1 SQL Worksheet not allowing entry
Regards,
Gary
SQL Developer Team -
SQL Developer can be used for database design
can I use SQL Developer to design the database?
It really depends on what you mean by "can," how complex the schema design is going to be, and your comfort level.
AB is quite right to point out Oracle Designer-- that's a very powerful, very visual tool for creating physical and logical schema designs. It also has a relatively steep learning curve and a relatively large installation footprint. If you need to generate highly complex schema designs, to allow multiple modelers to work together, and you will use the tool frequently enough to justify the training time, Designer is a wonderful tool.
On the other end of the spectrum, however, it's perfectly possible to generate a schema design using SQL*Plus or SQL Developer with a white board or scratch paper nearby to help think through various issues. The tools aren't presenting you with pretty ERDs, they're not automatically translating visual representations of designs to physical implementations, etc. but it's quite possible for a human using those tools to do the translation.
Either way will work-- the constraints of your particular project and your comfort level with various risks will determine which approach is more appropriate.
Justin -
SQL Developer can't connect Oracle Database as SYSDBA
Dear all,
Recently,I installed SQL Developer3.0 on my machine,and try to create connection to local oracle database.But one problem confused me.When i login as normal role ,it can connect DB successfully; when i login as sysdba role named sys,it always failed and show" invalid username/password".I am sure the username and password are right ,because i haved connected the oracle DB by pl/SQL with the same username and password. And i also choosed the role as sysdba. Does SQL Developer3.0 not support connect as sysdba? I would very appreciate if someone could give me a hand .Thanks in advance.Hi 851634,
Do you require a password file for remote sysdba (old link)?
Cannot login as sysdba in Oracle Enterprise Management Console
You may be trying to log in (loopback) over the network as sysdba which needs a password file.
-Turloch
SQLDeveloper team -
Sql Developer Data Modeler 3.0 EA1: Export - To reporting schema
When launching Export -> To reporting schema the schema tables are created and messages show that data is being generated but after indicating that it "Exporting Diagrams" I get the following error message:
"Error occurred while exporting to Reporting Schema. See the log file for details."
and all the tables are left empty.
The message log is not indicating that anything went wrong.
What could be the problem?
- MarcThis is probably what you are looking for:
2010-10-14 14:56:43,680 [Thread-11] ERROR ReportsHandler - Error Exporting to Reporting Schema:
java.lang.NullPointerException
at oracle.dbtools.crest.model.design.DesignPart.doSetMainViewVisible(Unknown Source)
at oracle.dbtools.crest.model.design.DesignPart.setMainViewVisible(Unknown Source)
at oracle.dbtools.crest.model.design.DesignPart.setMainViewVisible(Unknown Source)
at oracle.dbtools.crest.exports.reports.RSDiagrams.ensureMainViewVisible(Unknown Source)
at oracle.dbtools.crest.exports.reports.RSDiagrams.export(Unknown Source)
at oracle.dbtools.crest.exports.reports.ReportsHandler.export(Unknown Source)
at oracle.dbtools.crest.swingui.ControllerApplication$ExportToReportsSchema$1.run(Unknown Source)
What does it mean?
/ Marc de Oliveira -
SQL Developer Data Modeling - Synchronization with database
How to synchronize changes in the relational model with an existing database (as well as JDeveloper)?
For example I added a column in a table of the relational model and then want to generate the changes against an existing database. Only a ALTER TABLE-Statement should be generated.
Thanks,
HolgerThanks for your answer.
I tried this, but it is in comparison with Oracle JDeveloper or Oracle Designer much to complicated. I reported this in the osdm feedback application.
Furthermore the Compare Models view is no more helpful, when I use domains in the updated model. Because every column is marked as different with a exclamation mark.
Thanks,
Holger -
SQl Developer 3.0.04 Revoke doesn't generate any DDL. Bug?
Hi everyone,
trying Revoke while rightclicking on , e.g. a stored function doesn't generate any DDL. Specifically, opening "Perform Revoke Action", selecting the Properties tab and applying the desired action doesn't do anything. Interestingly enoguh, selecting the "SQL" tab shows no generated DDL no matter what properties were set. It looks to me as another bug. Any thoughts.
Cheers,
BobHi Bob,
The SQL tab will remain empty until the privileges to be revoked have been selected. In the properties tab of the revoke dialog, the drop down list for "Users" contains a list of those users for which privileges on the object have been granted. (If this list is empty then you will need to do some grants first!) Select a user. You should now see some privilege names in the right hand side of the shuttle. Shuttle one or more of these to the left pane. You should now see generated SQL in the SQL tab.
Please let me know if this doesn't resolve the problem for you.
Best regards,
Philip Richens
SQLDev Development Team -
SQL Server Virus Attack - Recover main database (MDF) using log (LDF) file
Hi ! My server was hit by some unknown virus which seems to have corrupted header information for many of our files including an important databases and some of its backups. However the log file (.LDF) for the live DB was not affected. I also have
a relatively old .BAK backup file. Is it possible to bring the DB (.MDF) in the old backup to Live standard using the new/latest Log file? If so, how?
Any help is truly appreciated.Hello,
Yes, that is theoretically possible if
- database is in "Full" recovery mode
- since the "old backup" no other backups were done (beside copy-only)
Run a log backup, then you can restore full + log backup, as it's best as a new database to keep the old (damaged) one for safety.
See
Restore a Database Backup (SQL Server Management Studio)
Restore a Transaction Log Backup (SQL Server)
And for the future:
MS Support: How to choose antivirus software to run on computers that are running SQL Server
Olaf Helper
[ Blog] [ Xing] [ MVP] -
SQL Developer - Database Export - Constraints not included in DDL
I have used the Database Export function available in the Tools menu but have been unsuccessful in getting the referential integrety and check contraints to export. These are the steps I take:
Environment: Windows XP Professional.
SQL Developer 1.5.1
Tools>Database Export
In Source/Destination I select the filename and the database source and check:
Show Schema
Terminator
Pretty Print
Add Force to Views
Include Grants
In Types to Export I check all except Data.
In Specify Objects I select the Schema I want to export.
None of the foreign_key or check constraints are shown but I select all of the objects.
Export Summary
File:C:\Documents and Settings\richardk.asbury\My Documents\EER\eer3.sql
Connection:ENVD
DDL Options
Show Schema
Terminator
Pretty Print
Add Force to Views
Necessary object dependencies will be included in export.
Tables
A_EMIS_TOXIC_DTL
A_EMIS_TOXIC_HDR
DSK_BLOB
PORTAL_AI_PROFILE
PORTAL_AI_XREF
PORTAL_USER
SUBJECT_ITEM_PARENT
SUBJ_ITEM_ATTRIBUTE
SUBJ_ITEM_COMMENTS
SUBJ_ITEM_QUANTITIES
SUBJ_ITEM_RELATED
Views
ACTIVITY_TASK_LIST_VW
AGENCY_INTEREST_ORG_XREF_VW
AGENCY_INTEREST_VW
A_EMIS_TOXIC_DTL_VW
A_EMIS_TOXIC_HDR_VW
DSK_CENTRAL_VW
MTB_ATTRIBUTE_DESC_VW
MTB_ATTRIB_ATTR_DESC_XREF_VW
MTB_MUNICIPALITY_VW
MTB_PARAMETER_VW
MTB_PERSON_TITLE_VW
MTB_PORTAL_SUBMITTAL_STATUS_VW
MTB_QUANTITY_TYPE_VW
MTB_QUANT_METHOD_VW
MTB_STATE_VW
MTB_SUBJECT_ITEM_ATTRIBUTE_VW
MTB_SUBJECT_ITEM_TYPE_VW
MTB_UNITS_VW
ORGANIZATION_VW
PERSON_VW
PORTAL_AI_PROFILE_VW
PORTAL_AI_XREF_VW
PORTAL_EMAIL_QUEUE_VW
PORTAL_USER_VW
SUBJECT_ITEM_VW
SUBJ_ITEM_COMMENTS_VW
SUBJ_ITEM_GENERAL_VW
SUBJ_ITEM_LOC_LAT_LONG_VW
Indexes
INDX_DSK_BLOB_BLOB_TITLE
PK_A_EMIS_TOXIC_DTL_ID
PK_A_EMIS_TOXIC_HDR_ID
PK_DSK_BLOB
PK_PORTAL_USER_ID
PK_SUBJECT_ITEM_PARENT
PK_SUBJECT_ITEM_RELATED
PK_SUBJ_ITEM_ATTRIB_ID
PK_SUBJ_ITEM_COMMENTS_ID
PK_SUBJ_ITEM_QUANT_ID
SYS_C0017821
Package Spec
MNG_DATA
MNG_USER
Package Body
MNG_DATA
MNG_USER
Procedures
All procedures will be exported.
Functions
All functions will be exported.
Triggers
A_EMIS_TOXIC_DTL_BEFINSUPD
A_EMIS_TOXIC_HDR_BEFINSUPD
PORTAL_AI_PROFILE_BEFINS
PORTAL_AI_XREF_BEFINS
PORTAL_USER_BEFINS
SUBJECT_ITEM_PARENT_BEFINSUPD
SUBJ_ITEM_ATTRIBUTE_BEFINSUPD
SUBJ_ITEM_COMMENTS_BEFINSUPD
SUBJ_ITEM_QUANTITIES_BEFINSUPD
SUBJ_ITEM_RELATED_BEFINSUPD
Types
All types will be exported.
Sequences
A_EMIS_TOXIC_DTL_SEQ
A_EMIS_TOXIC_HDR_SEQ
DSK_BLOB_SEQ
PORTAL_AI_PROFILE_SEQ
PORTAL_AI_XREF_SEQ
PORTAL_USER_SEQ
SUBJECT_ITEM_PARENT_SEQ
SUBJ_ITEM_ATTRIBUTE_SEQ
SUBJ_ITEM_COMMENTS_SEQ
SUBJ_ITEM_QUANTITIES_SEQ
SUBJ_ITEM_RELATED_SEQ
Materialized Views
All materialized views will be exported.
Materialized View Logs
All materialized view logs will be exported.
Synonymns
All synonyms will be exported.
Queues
All queues will be exported.
Queue Tables
All queue tables will be exported.
Database Links
All data base links will be exported.
There are numerous Check and Foreign_key constraints missing in created DDL.
Im I missing a step?
rasberryActually all tables were included and the Automatically Include Dependent Objects option was checked.
For an example, the first table exported A_EMIS_TOXIC_DTL had the following constraints:
FK_A_EMIS_TOXIC_DTL2HDR Foreign_Key
NN_A_EMIS_TOXIC_DTL_ID Check
PK_A_EMIS_TOXIC_DTL_ID Primary_Key
The primary key constraint was included in the DDL but none of the others. -
SQL Developer database copy corrupts wrapped PL/SQL
SQL Developer 3.0.04.34, database 11.2.0.2.2
Database copy brings over the wrapped pl/sql DDL, but somehow corrupts the code and will not compile.
It must be recreated from source plb file.
expdp / impdp does not have this problem.
This would appear to be a bug.
Wayne Lintonuser4792902 wrote:
Also it looks like the SQL Developer loads all the Data from sources Schema for each table in memory and copies to destination Schema.Yes
Any idea how to over come that...Don't use it, use the database's IMPDP/EXPDP tools for copying large quantities of data or whole schemas or databases.
Also adding the Filter or selection like the Database Export functionality in Database Copy will really be helpful in this kind of situation. The Developer team has any plans?Probably not right now, but you can request this at the SQL Developer Exchange though, so other users can vote and add weight for possible future implementation.
Regards,
K.
Maybe you are looking for
-
Connecting G3 OS 8.6 via Ethernet to AEBS
Have been using an old D-Link router to connect G4 10.5.8 via airport, Macbook 10.5.8 via airport, Windows laptop XP via wireless and G3 OS 8.6 via ethernet. The G3 because it seems to be the only option for an old, slow but still nice quality printi
-
I reported a problem and I got a confirmation saying that my money was refund, I have't received anything yet. How does this work?
-
How do we get main asset and it's corresponding amount against AUC
Hi all, I have AUC number,on basis of this AUC number I need all the associated asset numbers and amount I need the table and field names. need your help in this regard Thanks, Sid.
-
I have a custom ItemRenderer for my TileList. The problem is my custom itemRenderer is in a different namespace, and i get this error: Definition LibraryThumb could not be found. LibraryThumb is my custom itemRenderer. How can i solve this? Here is m
-
I am having trouble with calling a web service via <cfinvoke> It seems to be some type of a caching issue. The cfc works perfectly at first, but if I make any changes to a function once the page has been "hit", the call fails. I can copy the exact sa