Why is this statement failing

Hello:
I tried the following script:
CREATE TABLESPACE "INNOBOX_DATA" LOGGING
DATAFILE 'F:\Oracle\Database\venkats\venkats\INNOBOX_DATA01.dbf'
SIZE 100M
CREATE TABLESPACE "INNOBOX_INDEX"
DATAFILE 'F:\Oracle\Database\venkats\venkats\INNOBOX_INDEX.dbf'
SIZE 50M NOLOGGING
CREATE TEMPORARY TABLESPACE "INNOBOX_TEMP"
TEMPFILE 'F:\Oracle\Database\venkats\venkats\INNOBOX_TEMP.dbf'
SIZE 20M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 5M
CREATE USER INNOBOX_SA IDENTIFIED BY r1m1ni
DEFAULT TABLESPACE INNOBOX_DATA
TEMPORARY TABLESPACE INNOBOX_TEMP
QUOTA UNLIMITED ON INNOBOX_DATA
QUOTA UNLIMITED ON INNOBOX_INDEX
QUOTA UNLIMITED ON INNOBOX_TEMP
Everything is fine except for the last line, "QUOTA UNLIMITED ON INNOBOX_TEMP".
If I delete this line, the script executes successfully. But otherwise, I get a "Cannot grant quota on the tablespace". I tried giving unlimited quoto on INNOBOX_TEMP using EM but I get the same error.
What am I doing wrong?
Thanks.
venki

You don't give users quota on a temporary tablespace. Oracle will give users whatever TEMP space they need to complete their sorts and store their temporary data.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Why is this statement being repeated?

    import java.util.Scanner;
    class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            System.out.print("Blahdy blah: " + "blah.");
            sc.next();
    }Output:
    Blahdy blah: blah.Blahdy blah: blah.
    I've found that removing the colon fixes this, but could someone please inform me as to why this happens?
    Thank you.

    Ah, nothing changes. I was getting this problem while I was using Scanner, so I expected that the use of it triggered something, but it does not!
    The following code does the same when executed:
    class Main {
        public static void main(String[] args) {
            // Apparently anything after the colon that is not a
            // space or blank character will cause this statement to repeat in NB.
            System.out.print("Blahdy blah: a");
    }This does not happen when using println, just thought I might add that.

  • Why does if statement fail to compare string correctly?

    I am extracting the third character out of a variable called Gedline and testing to see if it is "@".
         public static String GedLine   = "";
         public static String GedTemp = "";
         System.out.println("GedLine = " + GedLine);
         //Extract 3rd character.
         GedTemp = GedLine.substring(2, 3);
         System.out.println("GedTemp = " + GedTemp);
         //Test 3rd character to see if it = "@".
         if (GedTemp == "@")
            System.out.println("Third char is @");
         else
            System.out.println("Third char is not @");
         }My output shows that GedTemp displays the value "@", but the if statement does not recognize this.
    GedLine = 0 @I00004@
    GedTemp = @
    Third char is not @Can someone explain why this is happening and how I can make it work correctly?

    BIJ001 wrote:
    .. or simply which editor should I use?I didn't want to go that far. The oligarchy recommends that new students use some sort of simple text editor, such as vi or Notepad or PFE and the command line even thouigh the oligarchy used COPY CON or patch cables during their formative years when they walked to school through feet of snow...uphill...both ways.
    The sort of question I mean usually takes the form, "Hi, I just started taking an entry level course in Java and I want to use an editor to build a medical documentation system using Web 2.0/RESTful web services/AJAX/etc. Should I use NetBeans or Eclipse?"

  • Why does this script fail with OS X Lion?

    The following AppleScript has been woorking just fine ronning Snow Leopard. Under Lion only the first site is loaded and the other Safari tabs are Untitled. Does anyone know what is wrong and how do I fix it? Thanks for any help.
    Hugh
    ---------------------------------------------------- Non-working script ---------------------------------------------------------------------
    tell application "Safari"
              open location "http://www.macrumors.com/"
              tell window 1 to set current tab to make new tab with properties {URL:"http://www.macworld.com/"}
              tell window 1 to set current tab to make new tab with properties {URL:"http://www.macnn.com/"}
              tell window 1 to set current tab to make new tab with properties {URL:"http://reviews.cnet.com/macfixit/?tag=mfiredir"}
              tell window 1 to set current tab to make new tab with properties {URL:"http://www.macintouch.com/"}
              tell window 1 to set current tab to make new tab with properties {URL:"http://arstechnica.com/apple/"}
              tell window 1 to set current tab to make new tab with properties {URL:"http://www.appleinsider.com/"}
    end tell

    Does anyone know what is wrong and how do I fix it?
    Actually, I don't know why your script fails with Mac OS X Lion. I can only suggest the following workaround, which seems to work properly:
    set myURLs to {"http://www.macworld.com/", "http://www.macnn.com/", "http://reviews.cnet.com/macfixit/?tag=mfiredir", "http://www.macintouch.com/", "http://arstechnica.com/apple/", "http://www.appleinsider.com/"}
    open location "http://www.macrumors.com/"
    tell application "Safari"
        activate
        tell window 1 to repeat with thisURL in myURLs
            set current tab to make new tab
            my newTab(thisURL)
        end repeat
    end tell
    on newTab(theURL)
        tell application "System Events"
            keystroke "l" using command down
            keystroke theURL & return
        end tell
    end newTab

  • Why does this code fail in command line?

    I am using the "ListDemo" from the java swing tutorial. If I compile it on the command line
    javac ListDemo.java
    It compiles fine. Then when I run it, it says:
    C:\Development\Java\Projects\Projects>java ListDemo
    Exception occurred during event dispatching:
    java.lang.NoSuchMethodError
    at ListDemo.createAndShowGUI(ListDemo.java:196)
    at ListDemo.access$400(ListDemo.java:7)
    at ListDemo$1.run(ListDemo.java:217)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Yet when I load up the same file into Netbeans, it compiles and runs fine! Here is the file:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    /* ListDemo.java is a 1.4 application that requires no other files. */
    public class ListDemo extends JPanel
                          implements ListSelectionListener {
        private JList list;
        private DefaultListModel listModel;
        private static final String hireString = "Hire";
        private static final String fireString = "Fire";
        private JButton fireButton;
        private JTextField employeeName;
        public ListDemo() {
            super(new BorderLayout());
            listModel = new DefaultListModel();
            listModel.addElement("Alan Sommerer");
            listModel.addElement("Alison Huml");
            listModel.addElement("Kathy Walrath");
            listModel.addElement("Lisa Friendly");
            listModel.addElement("Mary Campione");
            listModel.addElement("Sharon Zakhour");
            //Create the list and put it in a scroll pane.
            list = new JList(listModel);
            list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            list.setSelectedIndex(0);
            list.addListSelectionListener(this);
            list.setVisibleRowCount(5);
            JScrollPane listScrollPane = new JScrollPane(list);
            JButton hireButton = new JButton(hireString);
            HireListener hireListener = new HireListener(hireButton);
            hireButton.setActionCommand(hireString);
            hireButton.addActionListener(hireListener);
            hireButton.setEnabled(false);
            fireButton = new JButton(fireString);
            fireButton.setActionCommand(fireString);
            fireButton.addActionListener(new FireListener());
            employeeName = new JTextField(10);
            employeeName.addActionListener(hireListener);
            employeeName.getDocument().addDocumentListener(hireListener);
            String name = listModel.getElementAt(
                                  list.getSelectedIndex()).toString();
            //Create a panel that uses BoxLayout.
            JPanel buttonPane = new JPanel();
            buttonPane.setLayout(new BoxLayout(buttonPane,
                                               BoxLayout.LINE_AXIS));
            buttonPane.add(fireButton);
            buttonPane.add(Box.createHorizontalStrut(5));
            buttonPane.add(new JSeparator(SwingConstants.VERTICAL));
            buttonPane.add(Box.createHorizontalStrut(5));
            buttonPane.add(employeeName);
            buttonPane.add(hireButton);
            buttonPane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
            add(listScrollPane, BorderLayout.CENTER);
            add(buttonPane, BorderLayout.PAGE_END);
        class FireListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                //This method can be called only if
                //there's a valid selection
                //so go ahead and remove whatever's selected.
                int index = list.getSelectedIndex();
                listModel.remove(index);
                int size = listModel.getSize();
                if (size == 0) { //Nobody's left, disable firing.
                    fireButton.setEnabled(false);
                } else { //Select an index.
                    if (index == listModel.getSize()) {
                        //removed item in last position
                        index--;
                    list.setSelectedIndex(index);
                    list.ensureIndexIsVisible(index);
        //This listener is shared by the text field and the hire button.
        class HireListener implements ActionListener, DocumentListener {
            private boolean alreadyEnabled = false;
            private JButton button;
            public HireListener(JButton button) {
                this.button = button;
            //Required by ActionListener.
            public void actionPerformed(ActionEvent e) {
                String name = employeeName.getText();
                //User didn't type in a unique name...
                if (name.equals("") || alreadyInList(name)) {
                    Toolkit.getDefaultToolkit().beep();
                    employeeName.requestFocusInWindow();
                    employeeName.selectAll();
                    return;
                int index = list.getSelectedIndex(); //get selected index
                if (index == -1) { //no selection, so insert at beginning
                    index = 0;
                } else {           //add after the selected item
                    index++;
                listModel.insertElementAt(employeeName.getText(), index);
                //If we just wanted to add to the end, we'd do this:
                //listModel.addElement(employeeName.getText());
                //Reset the text field.
                employeeName.requestFocusInWindow();
                employeeName.setText("");
                //Select the new item and make it visible.
                list.setSelectedIndex(index);
                list.ensureIndexIsVisible(index);
            //This method tests for string equality. You could certainly
            //get more sophisticated about the algorithm.  For example,
            //you might want to ignore white space and capitalization.
            protected boolean alreadyInList(String name) {
                return listModel.contains(name);
            //Required by DocumentListener.
            public void insertUpdate(DocumentEvent e) {
                enableButton();
            //Required by DocumentListener.
            public void removeUpdate(DocumentEvent e) {
                handleEmptyTextField(e);
            //Required by DocumentListener.
            public void changedUpdate(DocumentEvent e) {
                if (!handleEmptyTextField(e)) {
                    enableButton();
            private void enableButton() {
                if (!alreadyEnabled) {
                    button.setEnabled(true);
            private boolean handleEmptyTextField(DocumentEvent e) {
                if (e.getDocument().getLength() <= 0) {
                    button.setEnabled(false);
                    alreadyEnabled = false;
                    return true;
                return false;
        //This method is required by ListSelectionListener.
        public void valueChanged(ListSelectionEvent e) {
            if (e.getValueIsAdjusting() == false) {
                if (list.getSelectedIndex() == -1) {
                //No selection, disable fire button.
                    fireButton.setEnabled(false);
                } else {
                //Selection, enable the fire button.
                    fireButton.setEnabled(true);
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
            JFrame frame = new JFrame("ListDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            JComponent newContentPane = new ListDemo();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();

    You are not running this code under JDK 1.4
    The setDefaultLookAndFeelDecorated method requires JDK 1.4 version.

  • Why would it state under the "more about this mac" that i already have10.8.3 and then in the app store say i need to "resume" do you know what i mean? is it possible i already did download mountain lion entirely once? I am confused and don't want it twice

    why would it state under the "more about this mac" that i already have10.8.3 and then in the app store say i need to "resume" do you know what i mean? is it possible i already did download mountain lion entirely once? I am confused and don't want it twice

    This is cause by the way the App Store checks to see if an application is installed on your system.
    Basically when an app is installed it is in the Applications folder and this is where the MAS looks for them. So it looks at your purchase history for the apps you bought and looks in the Applications folder to see if they are installed. If an app is in your purchase history but not in the Applications folder the MAS says you need to install it.
    For normal apps this works fine but the OS doesn;t install into the Applications folder. So the MAS sees you have Mountain Lion in your purchase history but it's not in the Applications folder and so it says you need to download it.
    Hopefully one of these days Apple wil fix this.
    regards

  • More than maximum 5 filtered album lists trying to register. This will fail,Why i am getting this error when i pick video from Photo library.

    I am able to pick 4 videos from the Photo library in my iPhoneAPP but when i try to pick 5th one it throws an error:
    "More than maximum 5 filtered album lists trying to register. This will fail,Why i am getting this error when i pick video from Photo library."

    Hello Tate r Bulic
    I don't have any idea how to remove this error,can i pick more than 5 videos from the photo library...
    If it's then please help me and gimme idea..Thanks

  • My iBooks will not open, I receive a message that states: "Failed to load book because t he requested resource is missing." How can this be repaired/resolved?

    My iBooks will not open, I receive a message that states: "Failed to load book because the requested resource is missing." How can this be repaired/resolved?

    If you can't open a particular ibook then try deleting it from the bookshelf via the Edit button at the top right of the bookshelf, and (assuming that it's still in your country's store) redownload it via the Purchased tab in the ibookstore in the app (or if you have a copy of it on your computer's iTunes library sync it back from there).

  • After Effects CC 2014 will not upgrade?  Gets to 100% and then says application failed.  Why does this not upgrade?

    After Effects CC 2014 will not upgrade?  Gets to 100% and then says application failed.  Why does this not upgrade?

    We can't know anything. You have not provided any useful details like system information or the install logs.
    Mylenium

  • I am having problems sending messages.. Once I send it, it just beeps and says it failed to send and I have perfectly good service. Why is this happening??

    I am having problems sending messages.. Once I send it, it just beeps and says it failed to send and I have perfectly good service. Why is this happening??

        Hello llm007!
    That is quite a strange issue. What make & model phone do you have? When did this begin? Are you able to make & receive calls? You can troubleshoot this issue http://vz.to/12TLCsR on our website to get things working as quickly as possible.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • Why did this mini-video fail to go viral?

    Why did this mini-video fail to go viral?
    I created this short motion graphics project in AE and PR Pro for my hearing protection client in Switzerland for their "Sleep Plugs" product. She asked for a European look and feel, where tasteful nudity is common in advertising. Our target demographic is males, aged 18-35. The client posted it at her Zurich-based company’s website and hoped it would spread virally. We believed there was actually a good chance of that happening since we have three main elements of a viral video: sexiness, surprise, and humor. However, the number of views was much lower than we had hoped.
    Please watch the video (it's just 30 seconds) before reading my comments and questions below so that I don't influence your first impression. 
    https://vimeo.com/63794871
    Password: GUNN
    Please give me your thoughts on these questions: 
    1. It was my intention to set the viewer up to expect that the couple was going to have sex, then to provide some unexpected humor when she goes to sleep and snores instead. Did you think that was funny?
    2. In an ideal world, this would have been live video, but, for budget constraints, and since there would've been very little movement in a video anyway, we went for a graphic approach, basically a pan across a wide, horizontal photo, with music bed and voiceovers, and logo/tagline at the end. Do you think this was an acceptable compromise?
    3. With the outtake-style photos at the end, It was my intention to add a touch of silliness and show that we are not taking ourselves too seriously. Do you think that worked?
    4. What do you think of the voiceovers?
    5. What do you think of the choice of music? (I wish we could have had Marvin Gaye's "Let's Get It On"! altho, not sure how big that is with 18-35 year old males in Switzerland.)
    6. These next two may be the most important questions: the context the video was presented in. My intention was to have the viewer sucked in by the sexy partial image and want to know more, thinking "What is this? . . . a  joke? . . . porn?!?" (remember, they are 18-35 yr old males!) and watch it long enough to get to the joke and the appearance of the product. (I know I have watched several videos that turned out to be ads, but they were so entertaining and well done, I did not mind. In fact, I admired how they sucked me in!)
    My client posted the link to the video on her company Facebook page, with the comment "Check out our new video." The link led to her company's official website and the video appeared on a page surrounded by other text, photos, and the company's name. It is my opinion that this took away some of the incentive to watch the video, since now the viewer already knows it is going to be an advertisement. Would you agree?
    7. I feel the video should've been presented "in a vacuum", so the viewer would have no fore-knowledge of what it was or why their buddy forwarded it to them. I think links to most viral videos lead to YouTube or Vimeo (not to a company website.)  What do you think would be the best method of distribution for this little video?
    And, if you have any other thoughts, please let me know.
    Thank you for your time and consideration,
    --Carol Carol Gunn
    Gunn Graphics
    Austin, TX
    www.gunngraphics.biz
    www.linkedin.com/in/carolgunn 

    Hi Carol,
    I have to agree with Jim.  A still image screams 'cheap'.  If I didn't watch the video with the intention of providing feedback, I would have tuned out after about 5 seconds, before even getting to the 'punch line'.  With so many bad videos on YouTube, people's attention span have been reduced to mere seconds.  If we don't like what we see in the first few seconds, we tune out and click on another link.  I imagine many people who watch this video never get to the end since the moment they see it's a still image that probably won't change to live action, they think 'cheap' and tune out.
    For a video to go viral, people have to want to pass it on to all of their contacts.  For this to happen, they have to imagine that others will thank them for sharing the video, not roll their eyes and ask 'Why are you wasting my time with this?'  "sexiness, surprise, and humor" are not enough for a video to go viral.  You also need great execution.
    3. Didn't work for me.  It makes it look like the commercial and product are a joke, especially hearing the guy's laughter in the background.  First the commercial would have to sell us on why the product is worthwhile/needed, which is doesn't.
    4. The girl's voice is sexy, but it does not match the visuals, thus it ends up sounding fake and unnatural.
    The guy's tatoo is a huge distraction.  Is it a human heart?  Why is it there?
    Low budget doesn't have to mean a cheap look.  Unfortunately the titles and the transitions (push, ripple dissolve) at the end also scream cheap.  Nobody uses these kinds of effects on TV, so it's best to leave these for home videos and out of any professional work.  Push transitions can work, but usually only if it's a quick transition, around 3-8 frames long.  Slow push transitions scream 'Power Point', which in turn screams 'cheap'.
    Hope this helps!
    Cheers

  • Tried to install Firefox but an error message "Extraction failed - cannot open output file" always pops up, without a reason. Why's this happening?

    Tried to install Firefox but an error message "Extraction failed - cannot open output file" always pops up, without a reason. Why's this happening?

    Try to disable your anti-virus software temporarily to see if that makes it work.
    You may need to delete the temp folder (%TEMP%) to remove the old files.

  • Recently purchased a Samsung theatre system that has an iPod/iPhone dock that states it is able to be supported. When connected my devices are not able to be authenticated or supported! Why is this since all my devices are up to date on software?

    I have tried to connect my iPhone 4S/iPhone 4/4th gen iPod touch and none are supported. It states to contact Apple. Why does this occur since my software is up to date?

    Oh no... NOT THE 99-PAGER!!! Anything but THAT!!!

  • I have an iphone 4 and have tried updating to IOS 6 via my laptop and phone but it keeps failing why is this and what do i do

    i have an iphone 4 and have tried updating to IOS6 via my laptop and phone but it keeps failing why is this and what do i do ????

    Find the .IPSW file that was downloaded and delete it, then re-download it.
    If you're using a PC, shut off your antivirus and firewall software during the process.

  • As my computer is telling me my backups are failing why is this happening and what do I do?

    What do I do when my computer tells me that my backups are failing and why is this happeneing?

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
    SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the word "Starting" (without the quotes.) You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard."
    Each message in the log begins with the date and time when it was entered. Note the timestamp of the last "Starting" message that corresponds to the beginning of an an abnormal backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showing, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressingcommand-V.
    ☞ If all you see are messages that contain the word "Starting," you didn't clear the text field.
    If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. Don't post more than is requested.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

Maybe you are looking for

  • How can I transfer apps from my iphone to my computer?

    Our laptop died the other day, so we needed to reload everything from scratch. I've successfully synched up my mail, calendar and contacts, but can't figure out how to get all of my purchased apps to show up on my computer. The only option I can see

  • I want to switch FROM iCloud to Google Calendar

    So, I've discovered that I'm not terribly fond of the iCloud calendar.  I used the MobileMe calendar for forever, but with the switch to iCloud, I'm just done.  My work uses Google calendar, so I want to switch to that, but I don't want to have to re

  • Upgrade from sp12 to sp17 in PI 7.0.

    hi, right now we have PI 7.0 with SP12. we are planning to upgrade the server from SP12 to SP 17. could you please let us know the technical ricks and befinits in SP17. a quick response would be appreciated. thanks and regards, KRUSHI.

  • Iphoto crash when i try to import photos from iphone or camera

    Please help! I have reinstalled iphoto and searched this forum for answers but can't figure it out. I receive the following crash log: Date/Time:       2013-06-06 10:44:26 -0500 OS Version:      10.8.4 (Build 12E55) Architecture:    x86_64 Report Ver

  • I am using dreamweaver cs6 is it protected from various hacker attacks such as sql injection,xss,?

    i mean if i built a site using php and sql using dreamweaver cs 6 ...will it be protected from various hacker attacks such as sql injection,xss,spoofed form input,etc..?? if it is not protected...tell me where can i learn to protect my website using