Problem with minus

Hi ,
I am facing a strange issue with the MINUS operator in Oracle.
Select count(1) from (query 1);
COUNT(1)
5298
Select count(1) from (query2);
COUNT(1)
5285
I am doing a minus to try to get the extra rows fetched by query 1 (both are selecting the same columns) :-
Query 1
MINUS
Query 2
However in this case is am getting :-
No rows selected
Please let me know any possible reasons for the same.
Thanks,
Suman

what is the distinct count in your first query. minus takes only the distinct values.
say your first query has 10 value of which the distinct count will be 5
and second query has 5 values (which is the same as the distinct values in query 1)
then query 1 - query 2 will give you no rows.
see this example...
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for Solaris: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
SQL> select *
2 from (select mod(level,5) from dual connect by level <= 10)
3 /
MOD(LEVEL,5)
1
2
3
4
0
1
2
3
4
0
10 rows selected.
SQL> select *
2 from (select mod(level,5) from dual connect by level <= 5)
3 /
MOD(LEVEL,5)
1
2
3
4
0
SQL> select *
2 from (select mod(level,5) from dual connect by level <= 10)
3 minus
4 select *
5 from (select mod(level,5) from dual connect by level <= 5)
6 /
no rows selected

Similar Messages

  • Problem with minus-minus

    Hi,
    I need to move forwards and backwards through an array, the result of which in my program moves images clockwise or anti-clockwise around a disc.
    Clockwise is fine, but my anti-clockwise code makes my images move in strange ways.
    What am I doing wrong? Am I missing something simple?
    Many thanks,
    1) Working clockwise code
    2) Faulty anti-clockwise code
    public void doClockwise()
            int current = 3;
            int [] temp = new int[indexArray2.length];
            for(int x=0; x<indexArray2.length; x++)
                if(current < indexArray2.length)
                    temp[current] = indexArray2[x];
                    current++;
                else if(x==33)
                    current=0;
                    temp[current] = indexArray2[x];
                    current++;               
                else if(x==34)
                    current=1;
                    temp[current] = indexArray2[x];
                    current++;               
                else if(x==35)
                    current=2;
                    temp[current] = indexArray2[x];
                    current++;               
            indexArray2 = temp;
            repaint();
        public void doAntiClockwise()
            int current = 3;
            int [] temp = new int[indexArray2.length];
            for(int x=35; x>=0; x--)
                if (current < indexArray2.length)
                    temp[current] = indexArray2[x];
                    current++;
                else if(x==2)
                    current=0;
                    temp[current] = indexArray2[x];
                    current++;               
                else if(x==1)
                    current=1;
                    temp[current] = indexArray2[x];
                    current++;               
                else if(x==0)
                    current=2;
                    temp[current] = indexArray2[x];
                    current++;               
            indexArray2 = temp;
            repaint();
        }

    Hi again,
    I think the problem lies with how indexArray is used throught the rest of my code, I'll post full code with your alterations to clockwise - maybe you can see what I'm doing wrong and what my expected outcome is.
    Thanks for helping out,
    There are two files following that are the basis of a simple game - a custom JPanel with drawing and the clockwise counter-clockwise button functions, and the JFrame the JPanel is drawn onto.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class ImagePanel1 extends JPanel
    // Declare an image array
        Image [] disc1Pics = new Image[36];
        Image [] disc2Pics = new Image[36];
    //Declare temporary index list
        static int [] indexArray1 = new int [36];
        static int [] indexArray2 = new int [36];
    // Declare x co-ords Array
        int [] xPos1 = {206, 214, 221, 234, 257, 281, 255, 285, 315, 255, 285, 315,
        234, 258, 281, 205, 213, 220, 170, 162, 155, 141, 118, 91, 122, 92, 62,
        122, 92, 62, 141, 118, 94, 169, 161, 154};
        int [] xPos2 = {606, 614, 621, 634, 657, 681, 655, 685, 715, 655, 685, 715,
        634, 658, 681, 605, 613, 620, 570, 562, 555, 541, 518, 494, 522, 492, 462,
        522, 492, 462, 541, 518, 494, 569, 561, 554};
    // Declare y co-ords Array
        int [] yPos = {117, 87,  59,  141, 118, 94,  170, 162, 154, 204, 212, 220,
        234, 258, 281, 257, 287, 315, 257, 287, 315, 234, 257, 281, 204, 212, 220,
        171, 163, 155, 141, 118, 94, 117, 87, 59};
        public ImagePanel1()
            this.setBackground(Color.white);
    // Create FOR loop to increment the 'pic number' - ie pic0, pic1, pic2
            for(int i1=0; i1<36; i1++)
            disc1Pics[i1] = Toolkit.getDefaultToolkit().getImage("Images1/pic"+i1+".gif");
            for (int j1=0; j1<36; j1++)
            indexArray1[j1] = j1;
            for (int lastPlace1 = indexArray1.length-1; lastPlace1 > 0; lastPlace1--)
    // Choose a random location from among 0,1,...,lastPlace.
                int randLoc1 = (int)(Math.random()*(lastPlace1+1));
    // Swap items in locations randLoc and lastPlace.
                int temp1 = indexArray1[randLoc1];
                indexArray1[randLoc1] = indexArray1[lastPlace1];
                indexArray1[lastPlace1] = temp1;
            for(int i2=0; i2<36; i2++)
            disc2Pics[i2] = Toolkit.getDefaultToolkit().getImage("Images2/pic"+i2+".gif");
            for (int j2=0; j2<36; j2++)
            indexArray2[j2] = j2;
            for (int lastPlace2 = indexArray2.length-1; lastPlace2 > 0; lastPlace2--)
    // Choose a random location from among 0,1,...,lastPlace.
                int randLoc2 = (int)(Math.random()*(lastPlace2+1));
    // Swap items in locations randLoc and lastPlace.
                int temp2 = indexArray2[randLoc2];
                indexArray2[randLoc2] = indexArray2[lastPlace2];
                indexArray2[lastPlace2] = temp2;
        public void paintComponent (Graphics g)
             super.paintComponent(g);
            int x, y;
            double angle1=0;
            double angle1a=0.26166666666666666666666666666667;
            double angle2=0;
            Graphics2D g2d = (Graphics2D)g;
    //          LEFT DISK                    LEFT DISK                    LEFT DISK
            do
                x=(int)(java.lang.Math.cos(angle1)*150)+200;
                y=(int)(java.lang.Math.sin(angle1)*150)+200;
    //150 = radial length, 200 = co-ord of centre
                g.setColor(Color.black);
                g.drawLine(200,200,x,y);
                angle1 = angle1 + 0.52333333333333333333333333333333;
    //0.52333 is 6.28/12 - ie 1/12th of 360 degrees in radians
            while (angle1<6.28);
    //Create FOR loop with increment 'k' - equates to pic0, x_pos[0], y_pos[0], pic1, x_pos[1] etc
            for(int k1=0; k1<36; k1++)
            g.drawImage(disc1Pics[indexArray1[k1]],xPos1[k1],yPos[k1],this);
    //          RIGHT DISK                    RIGHT DISK                    RIGHT DISK
            do
                x=(int)(java.lang.Math.cos(angle2)*150)+600;
                y=(int)(java.lang.Math.sin(angle2)*150)+200;
                g.setColor(Color.black);
                g.drawLine(600,200,x,y);
                angle2 = angle2 + 0.52333333333333333333333333333333;
            while (angle2<6.28);
            for(int k2=0; k2<36; k2++)
            g.drawImage(disc2Pics[indexArray2[k2]],xPos2[k2],yPos[k2],this);
    //add in the circles
            g.drawOval(50,50,300,300);
            g.drawOval(450,50,300,300);
            g.setColor(Color.white);
            g.fillOval(163,163,74,74);
            g.fillOval(563,163,74,74);
            g.setColor(Color.black);
            g.drawOval(163,163,74,74);
            g.drawOval(563,163,74,74);
        public void doClockwise()
            int stepSize = 3;
            int[] tmp = new int[stepSize];
            System.arraycopy(indexArray2, indexArray2.length - stepSize, tmp, 0, tmp.length);
              System.arraycopy(indexArray2, 0, indexArray2, stepSize, indexArray2.length - stepSize);
              System.arraycopy(tmp, 0, indexArray2, 0, tmp.length);
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    public class SafeCracker
        extends JFrame
        private JPanel buttonPanel, buttonPanel2, blank1, blank2, blank3,
            blank4, blank5, blank6;
        private JButton anti, clock, ok, disc1, disc2, disc3;
        ImagePanel1 myPanel = new ImagePanel1();
        public SafeCracker()
            super("SAFE CRACKER");
            JPanel panelForStuff = new JPanel();
            panelForStuff.setLayout(new BorderLayout());
            panelForStuff.setBackground(Color.white);
            anti = new JButton("Anti-Clockwise");
           /* anti.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent ae)
                   myPanel.doAntiClockwise();
            clock = new JButton("Clockwise");
            clock.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent ae)
                   myPanel.doClockwise();
            ok = new JButton("OK");
            disc1 = new JButton("Disc 1");
            disc2 = new JButton("Disc 2");
            disc3 = new JButton("Disc 3");
            blank1 = new JPanel();
            blank2 = new JPanel();
            blank3 = new JPanel();
            blank4 = new JPanel();
            blank5 = new JPanel();
            blank6 = new JPanel();
            buttonPanel = new JPanel();
            buttonPanel.setLayout(new GridLayout(1, 6));
            buttonPanel.add(blank1);
            buttonPanel.add(blank2);
            buttonPanel.add(blank3);
            buttonPanel.add(anti);
            buttonPanel.add(clock);
            buttonPanel.add(ok);
            buttonPanel2 = new JPanel();
            buttonPanel2.setLayout(new GridLayout(1, 6));
            buttonPanel2.add(blank4);
            buttonPanel2.add(blank5);
            buttonPanel2.add(blank6);
            buttonPanel2.add(disc1);
            buttonPanel2.add(disc2);
            buttonPanel2.add(disc3);
            panelForStuff.add(myPanel, BorderLayout.CENTER);
            panelForStuff.add(buttonPanel, BorderLayout.SOUTH);
            panelForStuff.add(buttonPanel2, BorderLayout.NORTH);
            getContentPane().add(panelForStuff);
            setSize(800, 500);
            setVisible(true);
        public static void main(String args[])
            SafeCracker application = new SafeCracker();
            application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

  • Problems with Comodo Kill Switch, Windows Services & Bitlocker Encryption on Asus N56VZ

    Hi All,
    So recently I found myself stuck in a different scenario than before, and after many hours researching and efforts to fix this I still find myself stuck  yet with a few options still to fix.
    What is the problem?
    So as a security cautious user when i first got to Windows 8.1 Pro 64Bit I encrypted both the C and D drive (Split the main disk) to protect myself and my family. Unfortunately that has not been very helpful with the way in which booting and running from
    either external USB devices or CD/DVD works, not allowing myself to at all.
    My usual security suit I  use is Comodo Internet Security, which additionally comes with Comodo Kill Switch. Whilst using the application instead of stopping one of the TCP connections I was meant to I accidently stopped an Windows Explorer connection.
    For some reason since then Windows Explorer, nor most windows apps or services themselves will run. For example msconfig will run but sfc /scannow or mmc will not, whether in safe mode or normal mode.
    What Caused the Problem?
    Cannot 100% say
    What I Think Caused the Problem?
    Myself running Comodo Kill Switch stopping a vital server connection with Windows Explorer that messed up alot. Or a potential Virus unknown how cannot fully scan system as wont boot externally or run many apps.
    Additional Info
    Asus Webcam is Disabled on Purpose
    Laptop was fully customized to run latest games full graphics minus Anti Aliasing, works with Evolve + CoD Advanced Warfare
    Laptop does not boot if USB Keyboard plugged in, works with everything else normal (had this on other systems no problem for me)
    Ask me for more info if required to add here, braindead again
    Specifications of my system
    Intel® Core™ i7 3610QM Processor
    Windows 8.1 Pro 64Bit
    Intel® HM76 Chipset
    DDR3 1600 MHz SDRAM, 2 x SO-DIMM 8GB
    15.6" HD (1366x768)/Full HD (1920x1080)/Wide View Angle LED Backlight
    NVIDIA® GeForce® GT 650M with 2GB DDR3 VRAM
    1TB 5400RPM OR 750GB 5400/7200RPM (Cannot remember off top of head, braindead)
    Super-Multi DVD 
    Kensington lock (Security Feature)
    LoJack (Security Feature)
    BIOS Booting User Password Protection (Security Feature)
    HDD User Password Protection and Security (Security Feature)
    Pre-OS Authentication by programmable key code (Security Feature)
    What Can Run and Won't Run?
    ON BOOT:
    Bitlocker Encryption Password & Advanced Settings are accessible
    Bios (password protected) is accessible
    Windows Recovery Mode is accessible (Think it is F9 or F10)
    Windows Logon Password Screen is accessible
    ON NORMAL/SAFE-MODE START UP:
    After Log-In Windows Explorer will not run
    Task Manager will run, also allows me to browse the files when trying to start new task
    Can run Command prompt
    Cannot run any control panel items
    Cannot run services.msc
    Cannot run mmc
    Cannot run sfc
    Every time it metions windows drive is locked
    Start Error's when running certain applications (Will post codes soon)
    Rufus USB Tool does run
    Cannot boot Kali Linux off USB
    Cannot boot Windows 8.1 off USB
    Cannot boot Windows 8.1 off DVDRW
    Fixwin2 will not run
    Apps either work or don't whether in safe mode or normal
    Cannot use Windows Installer
    What Fixes I Have Tried So Far
    Ok so like any normal user I don't want to lose my files. So here are what I have tried so far:
    Repair MBR (Repair Completed, No Luck)
    SFC /SCANNOW (Returns Error 'Windows Resource Protection could not start the repair service')
    Tried sfc /SCANNOW /OFFBOOTDIR=c:\ /OFFWINDIR=c:\windows (Could not access drive)
    Fixwin2 (Will not run in either normal or safe mode)
    Booting using Windows 8.1 via USB (Cannot boot from extermal devices due to Bitlocker Encryption)
    Booting using Kali Linux Via DVD & USB (Cannot boot from external devices due to Bitlocker Encrytption)
    How do I know it is because of Bitlocker, because last time I disabled it, I could run from external devices
    Tried to run bitlocker to change settings (Will not run)
    Have used both password and recovery keys to unlock driver, they work but when applications are running on windows the drive is still locked?
    Tried windows Automatic Diagnostic and Repair (Could not repair anything, did make a log I am still to extract from the syste)
    There are No System Restore Points
    I'm sure there is much more information I could post however I will leave it on an ask to know basis, apart from the log files and further information to gather. Below is my list of trial and error fixes to try for today (need more ideas and help please!):
    Hiren's 15.2 Boot CD via DVD (NOT ABLE TO BOOT)
    Hiren's 15.2 Boot CD via USB (NOT ABLE TO BOOT)
    Research into the Bios and Possible Update in-case of implementation of Virus, can access flash utility (STILL NOT TESTED)
    Try and get a portable version or a working version of windows installer to try and re-install Comodo Internet Security (STILL NOT TESTED)
    Another way to disable Bitlocker
    Anti-Malware / Anti-Virus Scan If Possible to Run One
    Bitlocker Repair Tool, will try this also
    I have posted this as have not found much info online, usually find it and crack on but this time things are a little more tricky, my priority task I really need to do is remove the Bitlocker Encryption, but if the application will not run... what do I do
    then?
    Thanks for your time reading all, Sorry for any poor formatting or spelling.
    Update 1: MMC.exe Error Code
    Ok so now have the computer in safe mode, still same as before, no explorer.exe, no services etc... Just went into the Task Manager > Services (Tab) > Open Services (Option at bottom)
    This is the error I get:
    'The Instruction at 0x785a746c referenced memory at 0x000000a8. The memory could not be read.
    Any Ideas on what this error is and why?
    Update 2: CHKDSK Works with no Fix
    Update 3: Hiren's 15.2 Boot CD - USB Boot still no luck booting around Bitlocker Encryption
    Just to explain again, I already have unlocked the drive with correct bitlocker password or recovery key yet the drive remains locked not allowing windows refresh of files of complete install from the windows recovery menu as keeps saying drive is locked

    Ok so attempt number two to write this update via bloody phone! (Just refreshed page whilst writing!)
    Update 4:
    Problem - cannot run from bootable devices (DVD/USB)
    Cause - bitlocker fully encrypted drive stops this working
    Repair - Boot up holding F9 to enter windows recovery Input Bitlocker recovery keys to unlock drives
    Navigate to Command Prompt in advanced settings Execute following code:
    Repair-bde c: d: -rp 000111-222333-444555-etc...
    (Code found from https://technet.microsoft.com/en-us/library/ee523219%28v=ws.10%29.aspx)
    Note for those using this: It is common while unlocking certain drives to get errors such as: Quote from http://www.benjaminathawes.com/2013/03/17/resolving-partial-encryption-problems-with-bitlocker/
    "LOG INFO: 0x0000002aValid metadata at offset 8832512000 found at scan level
    1.LOG INFO: 0x0000002b Successfully created repair context.
    LOG ERROR: 0xc0000037 Failed to read sector at offset 9211592704.
    (0×00000017) LOG ERROR: 0xc0000037 Failed to read sector at offset 9211593216.
    (0×00000017) …followed by around 20 similar entries that differed only by the offset value"
    Repair Status for Update 4: COMPLETED - However over wrote D drive data so now need to recover that
    Problem 2 - windows services corrupted along with windows files
    Cause - Unknown
    Repair - wait until system is fully decrypted Once fully decrypted ensure boot from USB/DVD
    Re-do fixes that would not work before if this has fixed boot issue Confirm fix / update post Hope anything I put here helps others also

  • Problems with a simple stop watch program

    I would appreciate help sorting out a problem with a simple stop watch program. The problem is that it throws up inappropriate values. For example, the first time I ran it today it showed the best time at 19 seconds before the actual time had reached 2 seconds. I restarted the program and it ran correctly until about the thirtieth time I started it again when it was going okay until the display suddenly changed to something like '-50:31:30:50-'. I don't have screenshot because I had twenty thirteen year olds suddenly yelling at me that it was wrong. I clicked 'Stop' and then 'Start' again and it ran correctly.
    I have posted the whole code (minus the GUI section) because I want you to see that the program is very, very simple. I can't see where it could go wrong. I would appreciate any hints.
    public class StopWatch extends javax.swing.JFrame implements Runnable {
        int startTime, stopTime, totalTime, bestTime;
        private volatile Thread myThread = null;
        /** Creates new form StopWatch */
        public StopWatch() {
         startTime = 0;
         stopTime = 0;
         totalTime = 0;
         bestTime = 0;
         initComponents();
        public void run() {
         Thread thisThread = Thread.currentThread();
         while(myThread == thisThread) {
             try {
              Thread.sleep(100);
              getEnd();
             } catch (InterruptedException e) {}
        public void start() {
         if(myThread == null) {
             myThread = new Thread(this);
             myThread.start();
        public void getStart() {
         Calendar now = Calendar.getInstance();
         startTime = (now.get(Calendar.MINUTE) * 60) + now.get(Calendar.SECOND);
        public void getEnd() {
         Calendar now1 = Calendar.getInstance();
         stopTime = (now1.get(Calendar.MINUTE) * 60) + now1.get(Calendar.SECOND);
         totalTime = stopTime - startTime;
         setLabel();
         if(bestTime < totalTime) bestTime = totalTime;
        public void setLabel() {
         if((totalTime % 60) < 10) {
             jLabel1.setText(""+totalTime/60+ ":0"+(totalTime % 60));
         } else {
             jLabel1.setText(""+totalTime/60 + ":"+(totalTime % 60));
         if((bestTime % 60) < 10) {
             jLabel3.setText(""+bestTime/60+ ":0"+(bestTime % 60));
         } else {
             jLabel3.setText(""+bestTime/60 + ":"+(bestTime % 60));
        private void ButtonClicked(java.awt.event.ActionEvent evt) {                              
         JButton temp = (JButton) evt.getSource();
         if(temp.equals(jButton1)) {
             start();
             getStart();
         if(temp.equals(jButton2)) {
             getEnd();
             myThread = null;
         * @param args the command line arguments
        public static void main(String args[]) {
         java.awt.EventQueue.invokeLater(new Runnable() {
             public void run() {
              new StopWatch().setVisible(true);
        // Variables declaration - do not modify                    
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        private javax.swing.JPanel jPanel1;
        // End of variables declaration                  
    }

    Although I appreciate this information, it still doesn't actually solve the problem. I can't see an error in the logic (or the code). The fact that the formatting works most of the time suggests that the problem does not lie there. As well, I use the same basic code for other time related displays e.g. countdown timers where the user sets a maximum time and the computer stops when zero is reached. I haven't had an error is these programs.
    For me, it is such a simple program and the room for errors seem small. I am guessing that I have misunderstood something about dates, but I obviously don't know.
    Again, thank you for taking the time to look at the problem and post a reply.

  • Problems with iPod touch 5G - Artwork and TV shows don't show up

    I've been having some problems with my recently acquired iPod touch 5G. When I change album art on iTunes for music or videos it either won't change the art on my iPod or no artwork will show up at all (just the default grey music note or TV).
    When I change the Sort field to make my iPod sort albums chronologically instead of alphabetically, it will work until I've plugged my iPod into the computer a few times and then it will go back to sorting alphabetically (even though in the Get Info on iTunes it still says it's sorted by year).
    Lastly, when I change a downloaded video from a Movie to a TV Show it will rarely show up in TV Shows on my iPod, the file can't even be found by searching. 
    Any help would be appreciated.
    Thanks

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync/delete all videos and resync
    To delete all music go to Settings>General>Usage>Storage>Videos>Tap edit in upper right and then tap the minus sign by each video
    - Reset all settings                 
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • WLC 2504 problems with one IP address range

    I am having an interesting issue configuring a new 2504.
    How it is setup:
    Port 1 management with vlan tagging on vlan 111
    Port 2 trunking with ap-manager2 on vlan 3, 102 on vlan 102 (Not ap-manager), and 1001 on vlan 1001.
    All of the vlans have distinctive and unique IP ranges. Vlan 111 is running 172.16.128 /20, 102 is 172.19.252 /23 and vlan 1001 should be running 172.17 /16.
    Here is my problem. I can setup all of the dynamic interfaces on the appropriate ip ranges, but for some reason when I configure the 1001 vlan dynamic interface with the /16 address space, I lose connectivity to the GUI managment interface. I have to go in through the CLI and remove the interface or change the IP range. I have tried other /16 address space on that vlan and do not have a problem with them. the 172.17 space appears to be the only one that will not work.
    I have attached the config from the controller (Minus some site specific stuff like the SNMP community and wpa stuff.) The config is using a 172.20 /16 right now on the 1001 interface so that I could get into the controller and download the config. It should be 172.17 /16. The acutal IP info should be 172.17.4.253 255.255.0.0 172.17.0.254
    My computer is on the 1001 vlan and I have verified the IP is not in use and am using the same subnet, gateway etc as I am trying to configure the wlc with.
    Switch config:
    Port 1 is plugged into g0/2 with the following config
    interface GigabitEthernet0/2
    switchport trunk allowed vlan 1,3,102,111,1001
    switchport mode trunk
    spanning-tree portfast
    Port 2 is plugged into fa0/47 and just has switchport mode trunk.
    How can I get the interface to work with the proper IP range for vlan 1001?

    I finally had a chance to fiddle around with this issue again and have some more information on the problem. It appears to not be an issue with the IP address, but rather with the VLAN. The 172.17.0.0/16 subnet is on VLAN 1001 which it appears the WLC does not care for. This problem is repeatable on the following versions of code that I have tried:
    7.0.220.0
    7.1.91.0
    7.4.110.0 (Not in use for production until we upgrade from WCS to Prime.)
    Any thoughts? Moving the 1001 VLAN to another number would be a HUGE undertaking so if there is not an answer within the firmware on the WLC, I will have to bridge two VLANs with bpdufilter enabled... Not my first choice for sure...

  • I have a problem with Pages shutting down my documents.

      I have a problem with Pages shutting down my documents. I have several
    several documents on my homepage,but once I select one it shuts down and
    goes to the ipad homepage.Other documents open with no problem.
    Can someone tell me what's happening
    antdel

    Pages is crashing for some reason.
    You say that other documents open with no problems, do you mean other Pages documents or documents in another app?
    Try closing Pages completely in the recents tray and reboot your iPad. See if that helps. If it doesn't help, you may have to delete and reinstall Pages. If that doesn't work, you might have a corrupt document that you need to track down and delete.
    Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Unexpected problem with this printable

    Started by trying to stop the printing of the "Samples" printable that was acquired accidentally.  Tried directions found in the forums to no avail.  Tried through the HP Go manageprint route and never saw the minus sign in the printable header as described.  Trying on the control panel of the printer, I get to the "Select activity" option and select the "Schedule it" icon.  Loading....then error message:  "There was an unexpected problem with this printable.  Please try again later."  I also had problems previously connecting to web services when I tried to scan a document to my email address (which I have done many time previously successfully). Performed wireless network test and all results were good.  Something is screwed up.  Any assistance is appreciated. 

     I suspect the whole setup is "not quite right" and that is not your fault -- it is a multi-step process and if it does go well the first time around, it can seem like the size 14 is a solution to fit the need. I do not have an answer - know that.  The print App is stuck, no doubt about that. I will try and help you straighten out the setup; understand I am not a Printer Expert.  Not.  This may make it worse. You might want to call Cloud Services if you can do so...  SideBar:At the least, the Snapfish bits may be just one more worm in the bucket of troubles - at this point, you might as well Click Reset Snapfish -- frankly, while used to understand what Snapfish is and why it might be on the printer panel, I have never heard of Snapfish Country.  Final note about Snapfish -- if you ever get into some sort of evil loop about logging into (creating) your HP Connected Account and it is offing something about Snapfish account -- saying you have to have the Snapfish account or you can just die and never be able to log into your HP Connected Account:  Give the program what it wants --- it is a bug.  Create the Snapfish account and you will be able to get in.  I did not write the program.  I did not create the bug.  I may have done some stupid things when I wrote code in my life -- this one is not mine.  Smiling. You can "reset" at least the "web services" by simply disabling Web Services on the printer front panel.  This is perhaps a good plan all things considered; you might read first and then decide. The one thing I have noted is that I have never had had any luck resetting, redoing, or entering much of anything from a printer panel.  I lack the patience to type on tiny panels. I do know the Printable / Print App has to be "scheduled", that is, active before it can be cancelled.  So, if it is in some sort of zombie state of half-life, you may want log in to your HP Connected account and make sure the Print App is "active" -- then try to kill it. Also -- see the note below about the Safari browser -- there may be other browsers (Chrome??) that do not handle the HP Connected account management page setup.  There are several parts to the whole "ePrint" business.   The following might be useful to help you make sure you have your setup in place.-----------------------------------------------------------------------------------------Reference:Add Device to Printer See Section:Computer gets Full Feature Software (Printer Software)If you are printing from a mobile device on the same (home) network, then you probably have a home computer in the mix (on that same network).  On that home computer, you would want to have installed the Full Feature Software for the Printer. -----------------------------------------------------------------------------------------ePrint SetupThe ePrint setup on ePrint capable printers involves the setting of the printer's own email address and the switching on of the ePrint service on the printer.  The ePrint email address is the email address to which you send your print jobs from your mobile device(s).  Note that a mobile device can also include your notebook computer.  "If you can send an email, you can use ePrint." -----------------------------------------------------------------------------------------The HP Connected AccountThe HP Connected Account (still called ePrint account in some countrys) is the account you use to manage your ePrint setup.  You can customize your ePrint email address, add / remove your ePrint printer from the HP Connected account, check your ePrint job log, and -- when things are working as intended -- manage your Print Apps (formally Printables). For example,If you have had to Reset Web Services, you may need to log into your HP Connected Account > Settings > and Add your printer. If you have had to Reset Web Services, you must change your Custom ePrint email address. If you gave your ePrint address to someone you no longer "like", you can change the address or remove that person from the "Allowed Senders" list. There are a couple of oddities having to do with the managing of the HP Connected Account.  For all that it is intended to be fully functional under most circumstances, some Browsers do not seem to be able to handle the code in which the WebPage is written.  Safari is notorious for not handling the Print Apps section of the HP Connected setup.   If you have trouble managing the features in  your HP Connected Account, try a different Browser. -----------------------------------------------------------------------------------------Mobile Device / iPad gets an App Once everything else is set up, mobile device(s) can be added to the ePrint setup.  The type of Application used to support the mobile device depends on the device. For example, iPhone and other Apple flavored products typically use those products found in the Apply Store.  Android has its own download, etc. Most devices and printers that can be connected with ePrint or some sort of Cloud or Web services print service are mentioned and / or covered in the Mobile Printing Link in the document. -----------------------------------------------------------------------------------------Troubleshooting and Additional HelpTips, Suggestions, lists, and extra "bits".   When you see a Post that helps you,Inspires you, provides fresh insight,Or teaches you something new,Click the "Thumbs Up" on that Post. Click my Answer Accept as Solution to help others find Answers.

  • Pdf problem with Preview - how to report to Apple?

    Hi,
    I have been having problems with certain PDFs and Preview. The PDFs in question are scientific papers obtained via JSTOR (they manage the supply of papers from a range of Journals). In Preview many JSTOR papers display very slowly - so slowly that scrolling through the document is not practical. In Acrobat they are displayed normally, so this seems to be a Preview problem. There seem to be no settings in Preview that seem relevant to the problem, so how can I report this problem to Apple?
    all the best,
    Jeremy Harbinson

    Hi,
    So far as I can tell, I cannot attach a file to a posting to one of these discussion groups. A file which causes the problem can be found at
    http://www.jstor.org/stable/3066865
    Baroli, I and Niyogi, KK (2000). Molecular genetics of xanthophyll-dependent photoprotection in green algae and plants. Philosophical Transactions: Biological Sciences, 355;1385-94
    Note that the problem only seems to occur with JSTOR files: the same pdf - this time in an easily readable form, and minus the JSTOR header page - can be downloaded from the Royal Society website:
    http://journals.royalsociety.org/content/qpjabmqk0kxar5vb/
    all the best,
    Jeremy

  • Problem with ADO

    I have defined a view to get the data from an XMLTYPE table into relational form. I have a problem with opening this view with ADO and Delphi 6.
    If I define my view like this:
    CREATE OR REPLACE VIEW xml_test (versionsnr)
    AS SELECT extractValue(value(xml),'/STANDAT/HEADER/@versionsnr')
    FROM xmltable xml
    I will the an error ORA-03114 when I try to select from the view with ADO. I have no problems when doing the select in sql*plus.
    When I define the view like this:
    CREATE OR REPLACE VIEW xml_test2 (versionsnr)
    AS SELECT extractValue(value(header),'/HEADER/@versionsnr')
    FROM xmltable xml,
    table(xmlsequence(extract(value(xml),'/STANDAT/HEADER'))) header
    ,then it works everywhere, but it is significally slower with large amounts of data.
    Interestingly enough, if the view contains a minus operator like below, then it also works everywhere.
    CREATE OR REPLACE VIEW xml_test3 (versionsnr)
    AS
    (SELECT extractValue(value(xml),'/STANDAT/HEADER/@versionsnr')
    FROM xmltable xml
    MINUS
    SELECT extractValue(value(xml),'/STANDAT/HEADER/@versionsnr')
    FROM xmltablenew xml)
    Do you have any experience with this? Is it a bug in ADO?

    Viktor,
    Have you looked in the Oracle server trace file dump location to see if there are any trace files that correspond with the time/date of your Ora-03114 error.
    Secondly, Have you tried to trace your session to see what is happening?

  • HT4199 Had problems with my broadband going down at weekend, since it came back on unable to join wifi BT say it is because my wifi settings are missing on my iPad can anyone tell me where to find seething details IP address etc

    Had problems with my broadband going down at weekend, since it came back on unable to join wifi BT say it is because my wifi settings are missing on my iPad can anyone tell me where to find seething details IP address etc

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are drooping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    iPad: Issues connecting to Wi-Fi networks
    http://support.apple.com/kb/ts3304
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h Mt
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Problem with 'order by' and comparison operator with varchar2 field

    I have a problem with the following sql query (field1 is varchar2):
    SELECT field1
    FROM tablename
    WHERE field1 > 'AA10BB'
    ORDER BY field1
    The contents of field1 is:
    AA10BB
    AA10-10BB
    AA10-12BB
    The sql query without the WHERE clause sorts field1 this way:
    AA10BB
    AA10-10BB
    AA10-12BB
    But the sql query with the WHERE clause has no hits.
    It seems that when sorting the minus character is greater than the 'B' character and
    at the comparison ( > 'AA10BB' ) the minus character is lower than the 'B' character!
    The database and client NLS_PARAMTER are GERMAN_GERMANY.
    The database is 9.2.0.7
    Has anyone an idea?

    thanks for your fast reply!
    My problem was that NLS_SORT was set to 'GERMAN' and NLS_COMP to 'BINARY'.
    NLS_SORT = GERMAN orders the varchar2 fields in form of 'a A b B ... 0 1 2 3 ..'
    NLS_COMP = BINARY compares binary (ASCII-Table).
    I use now:
    SELECT field1
    FROM tablename
    WHERE field1 > 'AA10BB'
    ORDER BY NLSSORT(field1, 'NLS_SORT = Binary'');

  • Having problem with header(location)

    I want to have a visitor to a site agree to some terms before being allowed to access a page.  There is no logon so the approval is only for the current session.
    If we call the page with the terms (and the agree button) "portal.php" and the page with the data "gallery.php", the logic is the user goes to gallery.php where there is a check to see if the visitor agreed to the terms.  If not, their redirected to portal.php to do so.
    The code on gallery.php is:
    <?php
    session_start(); 
    if (!isset($_SESSION["agree"]))
        header( 'location: http://localhost/myweb/portal.php' );  Using a local test server
    ?>
    If the Session variable "agree" has not been set, the user is redirected.
    The code on portal.php is:
    <?php
        if ($_POST)
            $_SESSION["agree"] = "Yes";
            header( 'location: http://localhost/myweb/gallery.php'' );
    ?>
    If the code is coming from the "I Agree" button, the Session "agree" variable is set to "Yes" and the visitor directed back to the gallery.php page.
    When I go to the gallery.php page, I get the message that the page isn't redirecting properly.
    The php code on both pages occurs before the DOCTYPE or any other html.
    Any ideas?

    Gallery sends to portal and the I Agree in portal appears to send back to gallery (shows in url display) but nothing is displayed.
    Is this the code on your gallery page?
    <body>
    <h1>XXXXX</h1>
    </body>
    </html>
    If you have in fact gone back to the gallery page, you should certainly see that.
    I should have mentioned that the test php files (...gallery_murray and ...portal_murray) appear to work fine.  What I did next was to copy the php from those two files to copies of the production versions (with appropriate changes to the header file names).  Those new test php files are ...gallery_header and ...portal_header.
    http://www.myspatialhome.org/ATL_counter_gallery_header.php
    Gallery gets to portal and I Agree gets to gallery but nothing is displayed.  Looking at the source there's nothing generated.  I'm assuming this is not a problem with the header php you helped with but something happening later in the gallery php file.
    This is the gallery code down to the doctype.  Minus the php at the beginning that does the header (like in the gallery_murray file), the code works.
    <?php
    if (!isset($_SESSION)) session_start();
    ?>
    <?php
    if (!isset($_SESSION["agree"]))
    { header( "Location: http://www.myspatialhome.org/ATL_counter_portal_header.php" );
    exit();
    ?>
    <?php
    require_once('Connections/atlas.php');  // NOTE: Also may require change in href for detail
        if (!function_exists("GetSQLValueString"))
            function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
                if (PHP_VERSION < 6)
                    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
                $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
                switch ($theType)
                    case "text":
                    $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
                    break;   
                    case "long":
                    case "int":
                    $theValue = ($theValue != "") ? intval($theValue) : "NULL";
                    break;
                    case "double":
                    $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
                    break;
                    case "date":
                    $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
                    break;
                    case "defined":
                    $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
                    break;
                return $theValue;
    $currentPage = $_SERVER["PHP_SELF"];  // Get the current URL for hrefs
    // New group code
    mysql_select_db($database_atlas, $atlas);
    $groups = mysql_query("SELECT * FROM tblMapGroups ORDER BY DispSeq ASC");  // Get the group records
    $row_groups = mysql_fetch_assoc($groups);
        if (!$_GET)
            $selectGroup = $row_groups['MapGroupID'];  // First time through; set initial default group
        else $selectGroup = $_GET['groupselect'];  // Otherwise use GET to retrieve the submit button chosen
    mysql_data_seek($groups, 0);  // Reset to first record for Form loop
    // End new group code
    // Select map records
    $query_maps1 = "SELECT * FROM tblMaps";
    $query_maps2 = "ORDER BY tblMaps.MapGroup, tblMaps.Area, tblMaps.Community, tblMaps.DispSeq ";
    $query_maps = sprintf("%s WHERE MapGroup ='%s' %s", $query_maps1, $selectGroup, $query_maps2);
    $maps = mysql_query($query_maps, $atlas) or die(mysql_error());
    $row_maps = mysql_fetch_assoc($maps);
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

  • The problem with Complex Job Manager in Business Connector.

    Hi,
    I have a problem with the service "Complex Job Manager" in Business Connector.
    Sometimes this service hangs and a minus value (such as -83452 sec) appears in the column "Next run".
    What can I improve?
    I have BC ver. 4.7 with CoreFix 9, Java ver. 1.3.1 (46.0), system AIX.
    Please help me.
    Thanks,
    Robert

    Sorry, Raja.
    I saw many questions about Business Connector in this category (Process Integration) and I thought that is a right place for my question.
    In your opinion, where is a better place for my question?
    Regards,
    Robert

  • HT201272 Problems with The Times app for iphone

    I have purchased an iphone app for The Times through itunes at a cost of £9.99 for 30 days.  Over 2 weeks has passed and I still don't have full access to the app.  Sometimes I can log-in and it works, but every day there are times when I cannot log-in.  When I try to log-in, the app says my subscription has expired.  I type in my email address and password, and it doesn't accept it (a message says I should email The Times helpdesk).  I contacted The Times helpdesk, and they told me that it was a problem with itunes.  I would like to understand what the problem is, and why isn't the app working?

    kellihammer wrote:
    havent heard a thing from them
    Tried any of these steps?
    - Quit the App by opening multi-tasking bar, and swiping the App upward to make it disappear.  (For iOS 6, holding down the icon for the App for about 3-5 seconds, and then tap the red circle with the white minus sign.)
    - Relaunch the App and try again.
    - Restart the device. http://support.apple.com/kb/ht1430
    - Reset the device. (Same article as above.)
    - Reset All Settings (Settings > General > Reset > Reset All Settings)
    - Restore from backup. http://support.apple.com/kb/ht1766 (If you don't have a backup, make one now, then skip to the next step.)
    - Restore as new device. http://support.apple.com/kb/HT4137  For this step, do not re-download ANYTHING, and do not sign into your Apple ID.

Maybe you are looking for

  • Oracle WebLogic Server 10.3.6: weblogic.management.ManagementException

    Error: There are 1 nested errors: weblogic.management.ManagementException: Unable to obtain lock on /export/home/oracle/mdw4/user_projects/domains/base_domain/servers/AdminServer/tmp/AdminServer.lok. Server may already be running at weblogic.manageme

  • Indesign CS 6 on Macbook Pro 2014 Retina pixelated

    I use Indesign CS 6 on a brand new Macbook Pro with retina display. I updated Indesign on 8.0.2 but it's really pixelated. In Photoshop and Illustrator everything is really pin sharp. Has anybody an Idea how to fix that problem?

  • Is Aperture faster using discrete graphics?

    I'm considering a new Mac to replace my late 2006 MBP. Initially, I was debating with myself whether I should buy a new MacBook Pro, a Retina MBP, or wait for the new 27" iMac coming in December. More recently, however, I've seen the 2012 Mac Minis,

  • Bootcamp Partitioning Error?

    Hello I am trying to use bootcamp to partition a disk of windows 8.1 onto my Mac.  I can go through up until the point where it tells me to install.  Then it starts installing and gives me this error message after a few seconds: Your disk could not b

  • How to set focus on a button that I created dynamically

    Hi everyone, Code :   lc_view_ctrl = wd_this->wd_get_api( ).   lc_window_ctlr = lc_view_ctrl->get_embedding_window_ctlr( ).   l_window = lc_window_ctlr->get_window( ).   l_window->set_button_kind( button_kind = if_wd_window=>co_buttons_okcancel   ).