Desc in SQL Developer behaves slightly differently than desc in SQLPlus
Hi All,
Didn't see any posts for this, so I wanted to bring it up here.
We use nls_length_semantics=char, and therefore our varchar2 cols routinely show up in products with the datalength as charlengthx4 or the actual bytelength for the col.
However SQLPlus desc displays the length properly and designates it as CHAR:
SQL> desc access_information;
Name Null? Type
ENTITY_ID NOT NULL VARCHAR2(16 CHAR)
But desc in SQL Developer does not:
desc access_information;
ENTITY_ID NOT NULL VARCHAR2(64)
This is for SQL Developer MAIN-14.67
on an Oracle 10gR2 DB
Let me know if this is a bug, or if I'm misunderstanding something.
Thanks,
Tony
In addition to the above mentioned discrepancy, I've noticed that desc in SQL-Developer does not look at the appropriate schema when your session is altered.
ex. - In SQL-Developer
1. Log in with a user that owns no objects
2. alter session set current_schema = schema_with_objects;
3. desc table_in_schema_with_objects
ERROR:
ORA-04043: object table_in_schema_with_objects does not exist
ex. In SQLPlus
1. Log in with a user that owns no objects
2. alter session set current_schema = schema_with_objects;
3. desc table_in_schema_with_objects
Desc works properly
Are these 2 issues reproducible by development? Are they to be resolved in the next update?
Let me know so I can inform the user base here, and thanks,
Tony
Similar Messages
-
NM output is slight different than in MA
Hi guys,
one questions from MA newbe.
i use default parser in NM and default viewpoint in MA,
but there are some missing information in MA:
No router preference and output is slight different than in NM, like A is H now.
i used before NM, but now trying to swith over MA
Thanks for helpYes, I believe this is a bug. I've filed one and hopefully we can get this addressed in the next public release.
Paul -
DB2 to Oracle conversion using SQL Developer Migration Wizard - different schemas
I am performing a conversion between DB2 to Oracle 11 XE, using the SQL Developer Migration Wizard. Specifically I am trying to migrate the DB2User schema over to Oracle.
Using the migration wizard, when I pick the Oracle target connection to be the same schema ( DB2User schema ) the migration is successful and all data is converted.
However if I pick a different Oracle target connection ( say OracleUser ) , I run into issues.
Firstly , the table schema is not created. When I check the project output directory, the .out file has the following errors:
CREATE USER DB2User IDENTIFIED BY DB2User DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
connect DB2User/DB2User
Error report:
Connection Failed
Commit
Connection created by CONNECT script command disconnected
I worked around this by manually executing the .sql in the project output directory using the OracleUser id in the new DB.
Then I continue with the migration wizard and perform the Move Data step.
Now - the message appears as succuessful, however, when I review the Migrationlog.xml file, i see errors as follows:
<level>SEVERE</level>
<class>oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil</class>
<message>Failed to disable constraints: Data Move</message>
<key>DataMove.DISABLE_CONSTRAINTS_FAILED</key>
<catalog><null></catalog>
<param>Data Move</param>
<param>oracle.dbtools.migration.workbench.core.logging.LogInfo@753f827a</param>
<exception>
<message>java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist</message>
<level>WARNING</level>
<class>oracle.dbtools.migration.datamove.online.TriggerHandler</class>
<message>ORA-01031: insufficient privileges
</message>
I think what is happening is that the wizard is attempting to perform the 'move data' process using the DB2User id.
How do I tell the wizard that the target schema is different than my source schema.
My requirement is that I need to be able to migrate the DB2User schema to different schemas in the same Oracle database
( since we will have multiple test environments under the same database ) .
Thanks in advance .
K.Perhaps the following from the SQL Developer documentation is helpful for you:
Command-Line Interface for Migration
As an alternative to using the SQL Developer graphical interface for migration operations, you can use the migration batch file (Windows) or shell script (Linux) on the operating system command line. These files are located in the sqldeveloper\sqldeveloper\bin folder or sqldeveloper/sqldeveloper/bin directory under the location where you installed SQL Developer.
migration.bat or migration.sh accepts these commands: capture, convert, datamove, delcaptured, delconn, delconverted, driver, generate, guide, help, idmap, info, init, lscaptured, lsconn, lsconverted, mkconn, qm, runsql, and scan. For information about the syntax and options, start by running migration without any parameters at the system command prompt. For example:
C:\Program Files\sqldeveloper\sqldeveloper\bin>migration
You can use the -help option for information about one or more actions. For the most detailed information, including some examples, use the -help=guide option. For example:
C:\Program Files\sqldeveloper\sqldeveloper\bin>migration -help=guide
Regards
Wolfgang -
WAP4410N problems, slightly different than the previous ones
Hello,
I've just purchased a WAP4410N-E V02 for home use and I'm experiencing some strange problems. Whenever the device is close to other electrical devices, it slows down until it eventually grinds to a halt, sometimes requiring a power cycle. I can ping the AP, or my gateway (over the wireless connection), and the ping times go from 1-20ms to 15,000ms+. After a certain amount of time, the wireless connection completely dies and the AP isn't even reachable over the wired network (no ping, no http).
By close, I mean like 1m away in some cases, or less in other cases. Since this is for home use, it's a bit of a problem, as my placement options are quite limited. Here are the 2 scenarios:
1) close to my vdsl modem/router
the wireless-G connection on the router is turned off.
Distance is 1m.
The AP is plugged into the router.
This setup is completely unusable, as it instantly becomes slow. If I pull it away about 2m and place the AP on the floor, it works fine.
2) plugged into my switch close to the tv/pvr (tv over ip)
Distance is up to 2m.
When the tv is on by itself, no problem
When the pvr is on, the AP starts becoming unstable.
If I turn the pvr off, it recovers (unless I left it on long enough, then it gets stuck for good and never recovers).
So I can really reproduce these problems now. At first I thought it was completely random and I was trying all sorts of different ideas like changing channels, changing ssid settings, etc..
Am I really putting this device in situations where it wasn't designed to work? Just because it's a small business device, I don't see why it shouldn't work 1m away from a home VDSL modem, or 2m away from a tv tuner/pvr. I can't really mount it high up on the wall, away from all interference because it wouldn't look so nice. I guess home use has different priorities.
Also, seeing how other people have certain unexplainable problems with these devices, could it be related? I don't know how their setups are, but I can say that the behaviour is similar to other posts that I've read.
What is the proper way to proceed with this problem? Do I just return it to the store? Do I need an RMA? Or does Cisco have some recommendations that I can try so I don't have to return it? I'm quite disappointed that I've lost a whole day trying to diagnose these issues. I was hoping that if I spend a bit more money on a business-grade product, I would save time with trying to figure out the quirks of most home products, but it seems to be the opposite in this case.
As a note, I have done the following, as per previous posts regarding this AP:
- using A/C adapter, not POE
- Hardware reset
- Install firmware 2.0.4.2
- set wired port to 100mbps
- single SSID, WPA2-Personal, 11 character a-z key
- B/G/N Mixed,
- Channel 11 (tried Auto as well)
- Key renewal 36000
- disabled connection control
- 802.11d disabled, Germany, 20MHz bandwidthSee all the settings available in XLD and that will give you an idea as to how ripping could potentially vary between rippers. I don't know the details of how iTunes works but error detection has a lot of different settings with XLD. iTunes does some too, but I don't think the details are publicly available for comparison.
It may not only vary with the rip settings but also with the encode settings if you are using mp3 or AAC. -
Can anyone help me modify a fully functional SWF file to behave slightly differently?
I have a working SWF file which I used a free decompiler to get to the ActionScript of. I do not know Actionscript, but I know enough other languages to have a vague understanding of whats going on. I am not certain if this is Actionscript 1 or 2 or 3 honestly so I simply posted here. The main thing I need to understand is the order in which code is executed within Actionscript. What I'm trying to do is make a telnet applet which initializes with a giant connect button simply connect by default upon initializing and then if the connection is lost of disconnected function as normal and display the connect button again. I believe this should be a fairly simply modification just moving a few lines of code around, I just do not have a good grasp on ActionScript. If someone out there is willing to work briefly on this with me, you would have my gratitude greatly, or even any brief explanation anyone can offer as to what I may want to look into. It looks similar to java, but I just am not sure on too much to want to try to tackle this blindly.
public class FlashTerm extends Sprite
public function FlashTerm() {
super();
trace("test");
this.stage.align = StageAlign.TOP;
this.stage.quality = StageQuality.BEST;
this.stage.scaleMode = StageScaleMode.EXACT_FIT;
drawContextMenu();
drawBorder();
DisplayShortcuts.init();
init();
public static var EMBEDDED_FONT:String = "FlashTerm_EMBEDDED_FONT";
public static const h:Number = 440;
public static var EMBEDDED_FONT2:String = "FlashTerm_EMBEDDED_FONT2";
public static var debug:TextField;
public static var ansiViewer:MultiFontViewer;
public static const w:Number = 650;
public static var defaultFontName:String;
private function handleCancelClicked(param1:MouseEvent) : void {
var _loc2_:DownloadPanel = DownloadPanel(param1.currentTarget.parent);
_loc2_.download.removeEventListener(MouseEvent.CLICK,handleDownloadClicked);
_loc2_.cancel.removeEventListener(MouseEvent.CLICK,handleCancelClicked);
Tweener.addTween(_loc2_,
"alpha":0,
"y":h / 2 - 10,
"time":0.4
private function handleLoadComplete(param1:Event) : void {
var e:Event = param1;
var xml:XML = XML(e.currentTarget.data);
serverName = [email protected]();
serverAddress = [email protected]();
serverPort = xml.@port;
serverSocketPort = xml.@socket_server_port;
defaultFontName = xml.@default_font.toString();
columnWidth = xml.@columns == undefined || xml.@columns == ""?80:xml.@columns;
lineHeight = xml.@lines == undefined || xml.@lines == ""?25:xml.@lines;
if(serverSocketPort != 843)
try
Security.loadPolicyFile("xmlsocket://" + serverAddress + ":" + serverSocketPort);
catch(error:Error)
status.setStatus("Error: Socket security not configured");
if(xml.@info_graphic.toString() != "")
loadGraphic(xml.@info_graphic.toString());
else
readyToConnect();
} -
Yosemite upgrade causes Win7 Bootcamp to BSOD (slightly different than others)
Like others I no longer have a working Win7 Bootcamp partition. Unlike others I still see Windows 7 when I hold ALT booting up the machine. It starts to load windows then I get blue screen of death (unmountable boot volume) and reboots. I can get to the Win7 repair but when it looks for a Windows installation to repair it does not see any.
I can also still see files in that partition in Finder, I'm just really hoping I can get back into the system since I have so many important things installed. I've seen Loner T helping many people and read lots of posts, but I just figured I'd throw my hat in and hope there's a fix for me.
Here's the output of all the commands that Loner recommends to all first:
Jeremys-MacBook-Pro:~ illogix$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 80.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data BOOTCAMP 128.0 GB disk0s4
5: Microsoft Basic Data 42.1 GB disk0s5
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *3.0 TB disk1
1: EFI EFI 314.6 MB disk1s1
2: Microsoft Basic Data FATDISK 1.5 TB disk1s2
3: Apple_HFS BootCampFiles 1.5 TB disk1s3
Jeremys-MacBook-Pro:~ illogix$
Jeremys-MacBook-Pro:~ illogix$
Jeremys-MacBook-Pro:~ illogix$ sudo fdisk /dev/disk0
Password:
Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
2: AF 1023 254 63 - 1023 254 63 [ 409640 - 156250000] HFS+
3: AB 1023 254 63 - 1023 254 63 [ 156659640 - 1269536] Darwin Boot
*4: 07 1023 254 63 - 1023 254 63 [ 157929472 - 249999360] HPFS/QNX/AUX
Jeremys-MacBook-Pro:~ illogix$
Jeremys-MacBook-Pro:~ illogix$
Jeremys-MacBook-Pro:~ illogix$
Jeremys-MacBook-Pro:~ illogix$ sudo gpt -vv -r show /dev/disk0
gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752
gpt show: /dev/disk0: Suspicious MBR at sector 0
gpt show: /dev/disk0: Pri GPT at sector 1
gpt show: /dev/disk0: Sec GPT at sector 490234751
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 156250000 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
156659640 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
157929176 296
157929472 249999360 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
407928832 2048
407930880 82302976 5 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
490233856 863
490234719 32 Sec GPT table
490234751 1 Sec GPT header
Jeremys-MacBook-Pro:~ illogix$
Jeremys-MacBook-Pro:~ illogix$
Jeremys-MacBook-Pro:~ illogix$
Jeremys-MacBook-Pro:~ illogix$ sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 d0 69 09 |........?.....i.|
00000020 00 00 00 00 80 00 80 00 ff 7f ce 13 00 00 00 00 |................|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 11 5a 0a e6 9d 0a e6 3a |.........Z.....:|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
00000200
I have test disk installed, what command would be useful for me to start with? Thanks so much, I know you guys are so busy with your own Bootcamp issues but I've been reading for a couple days and can't seem to find my exact issue.Ok so I ran TestDisk :
Disk /dev/rdisk0 - 251 GB / 233 GiB - 490234752 sectors (RO)
Current partition structure:
Partition Start End Size in sectors
1 P EFI System 40 409639 409600 [EFI system partition]
2 P Mac HFS 409640 156659639 156250000 [Customer]
3 P Mac Boot 156659640 157929175 1269536 [Recovery HD]
Warning: number of heads/cylinder mismatches 255 (NTFS) != 1 (HD)
Warning: number of sectors per track mismatches 63 (NTFS) != 1 (HD)
Error: size boot_sector 332300288 > partition 249999360
No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker
4 P MS Data 157929472 407928831 249999360 [WINDOWS 7]
4 P MS Data 157929472 407928831 249999360 [WINDOWS 7]
No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker
5 P MS Data 407930880 490233855 82302976 [WINDOWS 8]
5 P MS Data 407930880 490233855 82302976 [WINDOWS 8]
I did a deep scan for about 4hrs and got a long list of results. Here's some of what came back...
D Mac HFS 1155769 157405768 156250000
D Mac HFS 1156202 157406201 156250000
D Mac HFS 1156451 157406450 156250000
D Mac HFS 42964772 42975011 10240
D Mac HFS 42975008 42985247 10240
D MS Data 84855546 91492902 6637357 [^F0 ~K^K^Z ڬ^RΚ]
D MS Data 84855547 91492903 6637357 [^F0 ~K^K^Z ڬ^RΚ]
D MS Data 98634056 100731208 2097153 [NO NAME]
D MS Data 98634057 119116868 20482812 [NO NAME]
D Mac HFS 109659108 109660131 1024
D Mac HFS 109660128 109661151 1024
D Mac HFS 109660132 109661155 1024
Those "MS Data" entries did not display any files inside. But the following did...
D Mac HFS 112213740 112214763 1024
D Mac HFS 112213744 112214767 1024
D Mac HFS 112214216 112215239 1024
D Mac HFS 112215236 112216259 1024
D Mac HFS 156659640 157929175 1269536
>P MS Data 157929472 490229759 332300288
..that last entry showed me all my Windows 7 partition files...
>dr-xr-xr-x 0 0 0 16-Oct-2014 17:25 .
dr-xr-xr-x 0 0 0 16-Oct-2014 17:25 ..
dr-xr-xr-x 0 0 0 25-Jul-2012 16:46 $AVG
dr-xr-xr-x 0 0 0 20-May-2014 09:24 $Recycle.Bin
dr-xr-xr-x 0 0 0 16-Jul-2013 14:44 $WINDOWS.~BT
dr-xr-xr-x 0 0 0 16-May-2012 10:18 AMD
dr-xr-xr-x 0 0 0 16-Jul-2013 19:45 Boot
dr-xr-xr-x 0 0 0 11-Feb-2014 21:41 Brother
dr-xr-xr-x 0 0 0 5-Mar-2012 17:36 Intel
dr-xr-xr-x 0 0 0 15-May-2012 19:58 Multimedia Files
dr-xr-xr-x 0 0 0 13-Jul-2009 23:20 PerfLogs
dr-xr-xr-x 0 0 0 23-Sep-2014 12:54 Program Files
dr-xr-xr-x 0 0 0 23-Sep-2014 12:40 Program Files (x86)
dr-xr-xr-x 0 0 0 19-Sep-2014 16:19 ProgramData
dr-xr-xr-x 0 0 0 16-Jul-2013 18:49 Recovery
dr-xr-xr-x 0 0 0 15-Jul-2013 19:11 Sandbox
dr-xr-xr-x 0 0 0 16-Oct-2014 17:14 System Volume Information
dr-xr-xr-x 0 0 0 12-Mar-2013 11:49 TFTP-Root
dr-xr-xr-x 0 0 0 20-May-2014 09:24 Users
dr-xr-xr-x 0 0 0 11-Sep-2014 20:59 Windows
dr-xr-xr-x 0 0 0 11-May-2012 16:45 s3mg
-r--r--r-- 0 0 1 28-Feb-2013 17:09 BOOTNXT
-r--r--r-- 0 0 8192 16-Jul-2013 19:45 BOOTSECT.BAK
-r--r--r-- 0 0 2064 5-Mar-2012 17:35 RHDSetup.log
-r--r--r-- 0 0 242176 7-Nov-2007 07:53 VC_RED.MSI
-r--r--r-- 0 0 1927956 7-Nov-2007 07:50 VC_RED.cab
-r--r--r-- 0 0 425676 15-Jun-2013 21:39 bootmgr
-r--r--r-- 0 0 17734 7-Nov-2007 07:00 eula.1028.txt
-r--r--r-- 0 0 17734 7-Nov-2007 07:00 eula.1031.txt
-r--r--r-- 0 0 10134 7-Nov-2007 07:00 eula.1033.txt
-r--r--r-- 0 0 17734 7-Nov-2007 07:00 eula.1036.txt
-r--r--r-- 0 0 17734 7-Nov-2007 07:00 eula.1040.txt
-r--r--r-- 0 0 118 7-Nov-2007 07:00 eula.1041.txt
-r--r--r-- 0 0 17734 7-Nov-2007 07:00 eula.1042.txt
-r--r--r-- 0 0 17734 7-Nov-2007 07:00 eula.2052.txt
-r--r--r-- 0 0 17734 7-Nov-2007 07:00 eula.3082.txt
-r--r--r-- 0 0 1110 7-Nov-2007 07:00 globdata.ini
-r--r--r-- 0 0 6372249600 8-Oct-2014 11:00 hiberfil.sys
-r--r--r-- 0 0 855040 7-Nov-2007 07:44 install.exe
-r--r--r-- 0 0 843 7-Nov-2007 07:00 install.ini
-r--r--r-- 0 0 75280 7-Nov-2007 07:44 install.res.1028.dll
-r--r--r-- 0 0 95248 7-Nov-2007 07:44 install.res.1031.dll
-r--r--r-- 0 0 90128 7-Nov-2007 07:44 install.res.1033.dll
-r--r--r-- 0 0 96272 7-Nov-2007 07:44 install.res.1036.dll
-r--r--r-- 0 0 94224 7-Nov-2007 07:44 install.res.1040.dll
-r--r--r-- 0 0 80400 7-Nov-2007 07:44 install.res.1041.dll
-r--r--r-- 0 0 78864 7-Nov-2007 07:44 install.res.1042.dll
-r--r--r-- 0 0 74768 7-Nov-2007 07:44 install.res.2052.dll
-r--r--r-- 0 0 95248 7-Nov-2007 07:44 install.res.3082.dll
-r--r--r-- 0 0 8496332800 8-Oct-2014 11:00 pagefile.sys
-r--r--r-- 0 0 1491 15-Mar-2012 22:17 user.js
-r--r--r-- 0 0 5686 7-Nov-2007 07:00 vcredist.bmp
Does this mean my partition may be bootable again?? Thanks as always Loner! -
SQL developer not showing compiler warnings
I'm just testing out the new compiler warning contained in 11g related to the "when others" exception handler when it does not have a subsequent raise or raise_application_error.
in SQL plus, this works fine:
SQL> alter session set plsql_warnings='enable:all';
Session altered.
SQL>
SQL> create or replace function do_stuff
2 return number
3 as
4 v_return number;
5 begin
6
7 v_return := 3;
8 return v_return;
9
10 exception
11 when others then
12 return null;
13 end;
14 /
SP2-0806: Function created with compilation warnings
SQL> show errors;
Errors for FUNCTION DO_STUFF:
LINE/COL ERROR
1/1 PLW-05018: unit DO_STUFF omitted optional AUTHID clause; default
value DEFINER used
11/6 PLW-06009: procedure "DO_STUFF" OTHERS handler does not end in
RAISE or RAISE_APPLICATION_ERRORbut in SQL developer the output is:
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
session SET altered.
FUNCTION do_stuff compiled
No Errors.Anyone experience this issue? is there some setting that makes SQL developer behave differently?it must be something I'm doing wrong, above, I was running under windows 7 pointing at the version above.
I just tried it under an Enterprise Linux pointing at
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production and I get exactly the same script output and no compiler window....
actually...... if I go into a procedure window from the schema browser and compile it there, then I get the correct warning messages..... the problem is I mostly develop from .sql files extracted from source control rather than directly from the schema browser, I just want the sql worksheet to be able to show me the same compiler log window..... -
SQL developer online data move
Hi,
I am using SQL developer 2.1 to migrate tables from Sybase 12 database to oracle 11g.
I have used online data move option for moving sybase data into oracle tables, but even after data move is completed not all rows have been moved from sybase tables to corresponding oracle tables. Some rows are missing but still there is no error messege being displyed, how to find out what's going wrong.
Is there any log file that is being generated in case of oracle sql developer?
Please help me with this.Hi Mandark,
This is a weakness of SQL Developers online datamove.
It doesn't have logging and you cannot tweak the data move itself.
It very basic SELECT * FROM -> INSERT INTO ... under the covers.
If some rows are failing to be inserted,but some rows are being inserted, in the same table.
Then my guess is that the data in some rows doesn't "fit" into the target row/column.
And the datatype mapping used to convert the tables/columns was not good enough.
Ex: Sybase column of VARCHAR(10000) mapped to Oracle VARCHAR2(4000).
Some data which is greater than 4000 chars.
Which causes the insert to fail for those rows with >4000 chars. But ok for other rows.
The solution (in this example) is to map Sybase VARCHAR(100000) to Oracle CLOB.
You can specify the data type mapping in the Convert page of the migration wizard.
Another workaround is to use Copy To Oracle.
http://dermotoneill.blogspot.com/2010/11/copy-to-oracle.html
This is a very simple data move feature again. But it works slightly differently than Online Data Move.
It has no logging or tweaking either, but may do the job "online" for you.
You should temporarily turn off any check constraints, triggers, keys on each table you want to move data with using this method.
If all those fail, then the only sure fire way would be to use Offline Data Move.
Regards,
Dermot
SQL Developer Team. -
Setting/using a variable in a package in SQL Developer
The 10g db I'm working with has a package that contains a variable and routines to set and get the value of the variable. The variable is used in a number of views to tailor data displayed according to the variable value. This all works well in applications, which set the variable after a connection is opened and then issue queries against the views, and then close the connection.
This also works well in Toad - I can open Toad, run a package routine to set the value and then open views (or run queries against views) in Toad to see how different variable values effect the data displayed. The package variable maintains its value so long as Toad is open, which seems to imply that Toad keeps a connection open.
But I can't use SQL Developer in the same way. I can run the SET routine, but it has no effect in on views subsequently run. When running the SET routine, setting the value to 1, the output is:
Connecting to the database HERC DB.
Process exited.
Disconnecting from the database HERC DB.
I can then run the GET routine, but the value of the variable is always zero:
Connecting to the database HERC DB.
v_Return = 0
Process exited.
Disconnecting from the database HERC DB.
The implication seems to be that a connection is made, the routine is run and then the connection is closed. The closing of the connection resets the variable. Is there some way I can have SQL Developer behave like Toad, such that the package variable value is maintained for my SQL Developer session? I've looked at connection roperties and application preferences, but I've not seen anything that seems to be related keeping a connection open.
BTW, I have tried the "connection startup script", but to no avail. Perhaps I've doen this improperly; the script simply attempts to invoke the package set routine, like so: myPkg.set_identity(1)
Thanks.
Edited by: user483973 on Oct 20, 2009 9:20 AMWhen running stored PL/SQL through the IDE context node or editor, indeed a new session is opened and consequently closed on completion after committing. Although great for having the IDE free to continue working, it does have its drawbacks when you want variables to persist and changes to be visible in the IDE before committing.
To prevent the new session and the commit, just call the PL/SQL from a worksheet (in a call, query or anonymous block).
The startup script should work in that respect, but make sure to wrap your call in an anonymous block, else you'll get a syntax error.
Hope that helps,
K. -
SQL Developer - problems with the Data Modeller part
Hi SQL Developer users,
I can open the Data Modeler pane, but I can't insert any object into the logical model or into the relational model. Any ideas about what I'm doing wrong? Do I need specific privileges to the database, or do I need to install SQL Developer in a different way?
Thanks,
CsiszHi Csisz,
as Ivaylo wrote - it's Data Modeler Viewer into SQL Developer.
I can't insert any object into the logical model or into the relational modelYou can drag tables from SQL Developer browser and drop them on relational model diagram. If you keep Ctrl key pressed then all child tables also will be imported and shown on diagram.
Philip -
Need java 1.6.0_4 for SQL developer 3.2 64bit, Win 7
Hi All
I Need java 1.6.0_4 for SQL developer 3.2 64bit, Win 7.
SQL developer behaves weirdly sometimes. It frequently drops connection, doesn;t show compile button when i open a procedure and certain other things.... I found ver 3.0 quiet stable.
I think it may be because of my incorrect java version (1.6.0). Please tell me how can I get this Java version 1.6.0_4. I checked oracle.com, version 35 is available there....
Can you please help me by providing this ?
Thanks>
I Need java 1.6.0_4 for SQL developer 3.2 64bit, Win 7.
I think it may be because of my incorrect java version (1.6.0). Please tell me how can I get this Java version 1.6.0_4.
Can you please help me by providing this ?
>
No - we can't provide it. You have to download it yourself. If you have trouble with the download you should report the problem to Oracle.
>
I checked oracle.com, version 35 is available there....
>
If you checked at the Java SE Downloads page
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Then you should have seen the 'Previous Releases' link jus above the download Icons near the top of the page.
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jre-6u1-oth-JPR
All of the available prior versions are available at that link.
But I strongly suggest you heed the advice given to use the latest 1.6 version of Java available unless you have a very good reason not to. -
Hi!
I use SQL Developer and also Toad to connect to my Oracle 10.2 Database.
Maybe since Oracle 10 (and / or maybe InstanceClient) I cannot see the Grants in the SQL Developer of other users than the one I'm connecting.
If I use Toad I have no Problems to see them.
What could be the reason for this?
I know I can use the View SYS dba_tab_privs to show me all Grants I want to know (yes I have access to it).
If I use all_tab_privs or user_tab_privs I see only my own grants. -> I think thats the problem.
How can I switch SQL Developer to use the dba_tab_privs view to show me the Grants / Privileges on the Table I selected
GreetingsDo better? What am I supposed to do better at? Describing how to get a ref cursor out?
No, I don't claim to be able to do that better. That's not my issue.
My issue is that the post is about 95% opinion, most of it rather ... well...
and there's 5% useful. In that case, I'd copy the 5% and post it directly, rather than posting a link.
Or do better at ...
there's a long comment on the blog. -
SQL Developer Abrupt behaviour -- Invalid Identifier
I have tried to use below 2 SQL using Script output (F5) both of them are semantically incorrect, but first one give no error, while second one give error
SELECT substr(argument,1,2) FROM DUAL WHERE XX_ID LIKE 'XX';
No error raised.
SELECT argument FROM DUAL WHERE XX_ID LIKE 'XX';
Error starting at line 1 in command:
SELECT argument FROM DUAL WHERE XX_ID LIKE 'XX'
Error at Command Line:1 Column:33
Error report:
SQL Error: ORA-00904: "XX_ID": invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:Hi Shahid,
I tried the same in 3.1.07.42 using jdk1.6.0_31:
Worksheet
SELECT substr(argument,1,2) FROM DUAL WHERE XX_ID LIKE 'XX';
SELECT argument FROM DUAL WHERE XX_ID LIKE 'XX';Run Script -> Script Output
Error starting at line 1 in command:
SELECT substr(argument,1,2) FROM DUAL WHERE XX_ID LIKE 'XX'
Error at Command Line:1 Column:44
Error report:
SQL Error: ORA-00904: "XX_ID": invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:
Error starting at line 2 in command:
SELECT argument FROM DUAL WHERE XX_ID LIKE 'XX'
Error at Command Line:2 Column:32
Error report:
SQL Error: ORA-00904: "XX_ID": invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:Maybe your SQL Developer version is different? Or you really got both errors, but the sizing of your Script Output tab only displayed the last one and you didn't notice the scroll bar at the tab's right side?
Regards,
Gary
SQL Developer Team -
Powerpoint renders slides slightly differently on different Macs
I have again this weird problem with Powerpoint.
Sometimes, slides look differently on different machines.
The difference is not very large, but definitely noticeable, in particular, if there are other objects on the slide besides the text.
For an example please see
1. (MacBookPro)
PDF: http://zach.in.tu-clausthal.de/tmp/pptonmacbook.pdf
PNG: http://zach.in.tu-clausthal.de/tmp/pptonmacbook.png
2. (Modbook)
PDF: http://zach.in.tu-clausthal.de/tmp/pptonmodbook.pdf
PNG: http://zach.in.tu-clausthal.de/tmp/pptonmodbook.png
The effect is most pronounced on the first line of bullet 2. (The "R^d" thing is an image.)
I created the PDFs using the print command in Powerpoint and then saving to PDF.
I created the PNG taking a screenshot.
As you can see, there are two problems:
1.
When I print the slide on the MacBook to PDF, the layout of the text is slightly different than on screen.
2.
The layout of the text looks different on both machines.
Both machines run Mac OS 10.6.2 (Snow Leopard).
The powerpoint versions on both machines are identical and up-to-date (12.2.3).
The powerpoint files on both machines are identical (just copied).
I use an in-house font on the slides, which is StoneSansITC; I copied the font files from one machine to the other; they all reside in ~/Library/Fonts, and this is the only place where these font files are located.
I have checked with 'pdffonts' and it seems to me that the Stone fonts are indeed correctly embedded in the PDFs. Here is the output of pdffonts:
% pdffonts pptonmodbook.pdf
name type emb sub uni object ID
NNCXIS+Symbol TrueType yes yes yes 24 0
TYRNZE+Helvetica TrueType yes yes yes 21 0
RTAEGG+MSBM10 Type 1 yes yes no 26 0
ZXGVHI+StoneSansITCStd-Medium Type 1C yes yes no 8 0
ZXGVHI+StoneSansITCStd-Medium Type 1C yes yes yes 17 0
RTAEGG+CMSSI8 Type 1 yes yes no 27 0
ZJTMTS+StoneSansITCStd-MediumItalic Type 1C yes yes no 22 0
JHAIES+Wingdings TrueType yes yes yes 19 0
With pptonmacbook.pdf, pdffonts yields very similar output.
In Powerpoint, I have checked File -> Properties -> Contents, and the list under "Fonts Used" shows the StoneSansITC fonts alright.
The compatibility report in Powerpoint does not report any issues with fonts (only a few warnings about animations, movies, and "some shapes cannot be changed in earlier versions ..").
Does anyone have an idea how I could resolve this differences in rendering?
All hints, suggestions, and insights will be highly appreciated.
Best regards,
Gabriel.Perfect candidate for this forum: http://www.officeformac.com/ProductForums/PowerPoint/
-
SQLPLUS commands in SQL Developer
We are using 11g with Sql Developer. We have some script such as healthcheck etc provided by oracle support, which has SQLPLUS commands in it.
We are not able to run those in SQL Developer. We are getting errors.
Are there any way, we could invoke SQLPLUS shell within SQL Developer?
Thanks in helping.Hi qwe16235
SQLPLUS command failed - not enough arguments
line 36: SQLPLUS Command Skipped: set lines 300
line 37: SQLPLUS Command Skipped: set pages 999
These are formatting commands we do not do yet.
The other command seems like an error in the middle of a PL/SQL block which we should have covered, just the start of it is not enough to know what the error is.
An example of bad pl/sql error reporting:
input:
show parameter error <-------------- Dummy command so the plsql block does not begin at 1
begin <----------------starting at line 3
broken plsql; <------------- bad plsql at line (start)3+(from ora error)2 = 5 (should be 4 - must be one off)
end;
output:
NAME TYPE VALUE
sec_protocol_error_further_action string CONTINUE
sec_protocol_error_trace_action string TRACE
Error starting at line 3 in command:
begin
broken plsql;
end;
Error report:
ORA-06550: line 2, column 8:
PLS-00103: Encountered the symbol "PLSQL" when expecting one of the following:
:= . ( @ % ;
The symbol ":=" was substituted for "PLSQL" to continue.
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
-Turloch
SQLDeveloper team
Maybe you are looking for
-
Can't seem to get sort-object working in powershell widget
I'm experiencing a bit of exasperation with the powershell widget in SCOM 2012 - go easy on me though, this is my first time posting and I'm a bit of a newbie with powershell. Because of the issues with the logical disk space performance widget and m
-
SharePoint 2010 (SP2010 SP1+ AU CU 2011) site built with Project Web Access template shows message in yellow "Your Local Machine Time Zone does not match your current Sharepoint Regional Settings." KB Article http://support.microsoft.com/kb/2749599/e
-
I have two items in my desktop that I copy from an other computer and they are blocked and I can't delete them. First I click with the right bottom of the mouse and I open "obtain information", to see if I can unblock but it doesn't let me. There is
-
Safari 5.0.6 keeps crashing. Here is the report:
Process: Safari [1606] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0.6 (5533.22.3) Build Info: WebBrowser-75332203~3 Code Type: X86 (Native) Parent Process:
-
I paid for Dexter Season5. I tried to download. All went well, except there was an error message for episode 1 "My Bad". It stated the file was corrupt. How do I re-download episode 1?