NULL option of column command - ignore word after space in string

Hi,
I'm quit new to Oracle and SQL world.
building simple SQL/Plus report through SQL Developer enviroment:
I'm trying to use NULL option of COLUMN comand to output a meaningful string instead null.
But, any word after space in string.
Followings are what I wrote on worksheet and excute 'Run Script'.
COLUMN firedate NULL 'active';
COLUMN mentorid NULL 'no mentor';
select lastname, firstname, mentorid, firedate from members;
refer to line (COLUMN mentorid NULL 'no mentor';) the out put for the MentorId, display word no and ignore any word after space which is here word mentor.
My environment:
SqL Developer ver. 3.1.07.
Oracle database 10g Express edition (10.2.0.1.0)
windows XP
Much appreciated.

SQL Developer is still not 100% SQL Plus compatible. It may be that this isn't implemented properly yet.
Does it work in SQL Plus?

Similar Messages

  • Command Key has to be released and pressed each time, holding down command key for multiple commands ignoring all after first keystroke.  Have tried this in safe mode - still broken.

    This problem has just cropped up - pretty sure it's after the 10.7.3 upgrade.
    Scenario: I'm in pages and I'm doing a search. I need to find multiple instances of my search word.
    I hold down the command key and press the 'g' key - for find again. It works.
    While still holding down the command key - I hit the 'g' key again to do another find again. But instead of executing teh find again, hitting teh 'g' key the sdecond time types "g' over last search item found, acting as if teh command key was not still pessed.
    This is happening in DreamWeaver CS5.5, the latest Pages, and the latest BBEdit. Haven't checked all apps.
    This IS NOT a problem in the finder though - where command-tabbing brings up the app list properly, and tabs through while holding down teh command key and repeatedly hitting the tab key.
    I restarted in safe mode. Still a problem.
    First I cleaned the command key, then re-seating the key. I swapped keyboards, Still a problem.
    Did a PRAM reset, which didn't fix anything.
    I can't find any other post regarding this issue. Been using the mac for over 25 years and I've never seen this one.

    This turns out to be a problem with my KVM switcher. The USB port on the switcher for the keyboard is failing - hence the intermittent reaction to the command-key presses.
    I connected the keyboard directly to my mac and the problem was resolved - sorry I didn't check that before I posted this.

  • Null Value returned into Hashtable  from Vector (after 1.5 compilation )

    Sorry i posted the Question with a misleading heading into another thread .
    Hi , in the given peice of Code , date1 is a vector while date2 is a hashtable .
    I am storing the date from the vector in a hashtable .
    The code works fine for java 1.4 but Null value gets stored after compiling in 1.5.
    There is no error during compilation .
    Hashtable date2 = (Hashtable) date1.elementAt(0);
    cat.debug("date2"+date2.get("TO_CHAR(TO_DATE(TO_CHAR(RES_DT,DD-MON-YYYY)),DD-MON-YYYY)"));"TO_CHAR(TO_DATE(TO_CHAR(RES_DT,DD-MON-YYYY)),DD-MON-YYYY)") is the key , there is no error in that .
    cat.debug is log4j function used to write log to an text file.
    From searchin the net i got the i would have to typecast (not sure if am using the right technical term ) .
    protected Hashtable<Object,Object> lNVPair = new Hashtable<Object,Object>();
        protected Vector<Object> lNVKeys = new Vector<Object>();But how am i suppose to use it in the above state where with declaration i am assigning value at same time ?..
    Hashtable<Object,Object> date2 = (Hashtable<Object,Object>) date1.elementAt(0);

    Here is more details about date1 :
    Vector date1 = mDao.getDate(lcrnno,ltxntype,lbranchCd);Value of date1 is filled by calling a function which in turns queries the database .
    Details about the function are below .
    public Vector getDate(String pcrnno,String ptxntype,String br_cd)//throws SQLException
              Vector lResult=null;
              ResultSet lresult = null;
       try {
                                              Hashtable linner=new Hashtable();
                         lResult=new Vector();
              //String lstrquery declared  containing the query to be executed .
             mPstmt = mConn.prepareStatement(lstrquery);
           lresult = mPstmt.executeQuery();
         ResultSetMetaData lrsmd=null;
        lrsmd=lresult.getMetaData();
       int lcolCount=lrsmd.getColumnCount();
      cat.debug("Number of fields:"+lcolCount);
    while(lresult.next())
              linner=new Hashtable();
           for(int i=1;i<=lcolCount;i++) {
                   String lkey=lrsmd.getColumnName(i); //column name to be used as key
                   String lvalue=lresult.getObject(i).toString(); //value
                      linner.put(lkey,lvalue); //populating the hashtable
          }//end of for
                             lResult.add(linner); //adding to vector
      }//end of whileNote I have not added the part of code where query string created and parameters passed .
    Hope that should be enough details ...

  • ERROR: Command Ignored, Configuration in progress...

    Hi Everone,
    When i type sh run on ASA 5520
    it gives error
    ERROR: Command Ignored, Configuration in progress...
    Any fix other than reboot?
    Regards
    Mahesh

    Hi Jouni,
    Here is more info on the issue.
    This ASA is acting as DHCP server for users.
    Now it is not providing IP to the users.
    Also users PC who have IP from ASA i am unable to ping their IP address.
    First we thought it was bad cable from patch panel to user.
    Then we unplug the failover cable from standby firewall after this i was able to run all the commands and users were
    able to get the IP address from the ASA.
    Seems it is synch issue between 2 ASA.
    After this i put failover cable back to standby and we lost access to primary firewall and our internet was not working.
    Then we shutdwon the standby ASA  and reboot the Primary ASA then everything was back to normal.
    Currently standby ASA is standalone and not connecting to anything.
    When i power on the standby ASA all hardware looks ok and is up and running.
    Regards
    Mahesh
    Message was edited by: mahesh parmar

  • SQL*Plus column command not working with Script Runner

    SQL Developer EA 2.1
    When running a script (interactive or from a file), the COLUMN commands are ignored. The documentation (User's Guide 1.7.1) says that COLUMN is supported, but the headings set in the column command are not changed. As a test, the SET FEEDBACK OFF command is processed.
    SET FEEDBACK OFF
    COLUMN ename HEADING 'Name'
    COLUMN job HEADING 'Job'
    COLUMN deptno HEADING 'Dept'
    SELECT ename as ename, JOB, DEPTNO
    FROM EMPLOYEES;
    The documentation for Script Runner (User's Guide 1.7.2) says that a much more limited set of SQL*Plus commands are available.
    Is this intended behavior? If so, the documentation should reflect that the COLUMN command is ignored.

    Hi,
    Doc bug logged:
    Bug 9015160 - OTNEA1: USER GUIDE COLUMN SUPPORTS 'COLUMN...NEWVAL' ONLY
    The user guide says column is supported, but
    Column supports the following new_value use only
    i.e. moving a value from a selected column to a substitution variable:
    column aval new_v a
    select 1 aval from dual;
    select '&a' || ' is 1' from dual;
    Output:
    AVAL
    1
    1 rows selected
    '1'||'IS1'
    1 is 1
    1 rows selected
    -Turloch

  • Shrink option in -toPostScript command line options still does not work

    shrink and expand options in -toPostScript command line options do not work, it was posted that this issue was fixed in V 8.1.2, but apparently, it is still not working, when printing .out files, the body of the output is pushed to the left and up by about half an inch.
    What was it that was supposed to be fixed? Can someone please assist?

    Please forgive my ignorance, but it's called Adobe Reader 8.1.2. How do I tell that it's for Unix?
    We are using Linux, and just to explain a little more like I should have in the first place, I'm trying to run reports from an Oracle environment which is saving the .out file on the Linux box, then this is sent to a Windows printer for printing...

  • I lost spelling and grammar check on my word after upgrading to yosemite

    I lost spelling and grammar check on my word after upgrading to yosemite

    Also search/ask in the forums run by the people who make that app.  Word does not use any Apple spelling or grammar stuff.
    http://answers.microsoft.com/en-us/mac/forum/macword

  • I can't sort a single column only (ignoring the next column)

    I can't sort a single column only (ignoring the next column) in NUMBERS

    Numbers sorting follows a database model in which each row is a 'record' rather than a collection of unrelated data items. When a table is sorted, the integrity of the individual records (rows) is maintained.
    If you need to sort a single column, that column (or its data) must be separated from the rest of the table.
    That can be done using copy/paste (as described above by Wayne), or by taking the column to be sorted out of the table, dropping it on the sheet to form a new, single column table, doing the sort, then returning the column to the original table.
    The 3 1/2 step process takes longer to describe than to do.
    Regards,
    Barry

  • I am getting following error! XML Parsing Error: undefined entity Location: chrome://weave/content/options.xul Line Number 6, Column 3: setting id="weave-account" type="string" title="&account.label;" / --^

    I am getting followong error
    XML Parsing Error: undefined entity
    Location: chrome://weave/content/options.xul
    Line Number 6, Column 3: <setting id="weave-account" type="string" title="&account.label;" />
    --^

    I had this problem - it appeared to be due to having Firefox 4 with the Firefox Sync installed as an add-on. Firefox 4 has sync included so there is no need to have it as an add-on. I went to the add-on manager and removed Firefox Sync and now appears to be working correctly.

  • Acrobat 8 Unable to Search for words after convertion from mircrosoft word

    Hi all,
    I got a problem with a user using Adobe Acrobat 8 search function. he converted his Microsoft Word document to PDF file. But he is unable to search/find most of the words after convention, even thou the word is right there it will just say it cannot find any matches.
    His colleague have acrobat 7 and it has no such problem at all.
    Erm is there any setting to for me to change or is there a need to update any patches? One more thing the Word document is make up of textboxs so is this the cause?
    I would like some Expert here to give some advise/help here as i cannot downgrade to acrobat 7.
    Thanks in advance.

    Sorry, I make a mistake. He only can select some of the text document and only those can be searched. What is the cause and any setting to change?
    For your Information
    1 Our office is using Office 2000
    2 Tried Using create Pdf -->Select the file, but the result is still the same. However
    3 i tired to use Adobe PDF(printer) I am able to seach everything.
    I haven tell the user the workround for no3, but i dun think he wants it and some need to adjust the margins.
    Hope the information given to you will help you solve my problem.
    Thanks in advance

  • Problems printing a converted PDF which was converted to Word after completing the form

    Problems printing a converted PDF which was converted to Word after completing the form.  I have spent the last 3 hours trying to figure out what I am doing incorrectly.  I can't get it to print in either the PDF or Word file.  Please help, I need to complete this form and sent it NJ Department of Motor Vehicles Commission.

    Hi, make sure you are using the latest release of PDF program.
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

  • Query on –m option of iptables command

    I have a query on the use of the –m option of iptables command in RHEL 6.0. I have seen commands like:
    iptables –A INPUT –m state --state ESTABLISHED,RELATED –j ACCEPT
    which makes quite good sense but the below command:
    iptables –A PREROUTING -s 10.101.17.34 –d 10.101.15.84 –p tcp –m tcp --dport 443 –j REDIRECT –to-ports 30080
    does not seem to be useful as tcp is already given against the –p option then what is the use of specifying –m option again with tcp. I am be wrong on this.
    I hope my query is clear.
    Please revert with the reply to my query.
    Regards

    Hi,
    When we see the man command for iptables which is the manual reference.
    # man 8 iptables
    -m, --match match
        Specifies a match to use, that is, an extension module that tests for a specific property. The set of matches make up the condition under which a target is invoked. Matches are evaluated first to last as specified on the command line and work in short-circuit fashion, i.e. if one extension yields false, evaluation will stop.
    For more information, look at this URL.
    The match can be: account , comment , connbytes , connlimit , ipv4options , osf, recent, set, tos, tcp, udp
    For more information, look at this URL.
    I hope this can help you
    Best Regards

  • Can i get access to the find command in Word via activeX?

    Does anyone know if it is possible to search through a word document using activeX commands from labview? Basically i need to use the "find" command from Word.
    Thanks for your help

    Excellent thanks a lot.
    I've now got the search function working but im having a little trouble getting the results i want. What do you mean by "new selection"? is this the output refnum from the execute node?
    Im looking to search through a word document for a certain paragraph number then highlight this paragraph in some way.
    At present i have used your method to find the section number and then used a frame property on the output refnum followed by select method cascaded from this. This has the effect of selecting the number causing the word window to jump to the desired point but only the first line of the paragraph is shown because it places the found text at the bottom of the screen.
    Do you have any suggestions as to how i could select the en
    tire paragraph? I also cannot get any output from the select method in this way, am i using it incorrectly?
    Thanks again for your time
    Alan

  • How to replace first word after x in every line?

    Hi
    i have a a script which creates many tables/indexes each with diffrent INITIAL value.
    I need to grep for word INITIAL and replace the first word after initial ( which is number ) with 50K. how can i do this?
    some sample entries are
    INITIAL 2097152
    INITIAL 458752
    Thanks

    thanks for the reply , I tried but nothing seems to be happening ..
    [oracle@node1 DEV]$ perl -pi -e 's/^INITIAL \d+/INITIAL 50k/' b.log
    [oracle@inode1 DEV]$
    [oracle@node1 DEV]$ perl -v
    This is perl, v5.8.8 built for x86_64-linux-thread-multi
    Copyright 1987-2006, Larry Wall
    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.
    Complete documentation for Perl, including FAQ lists, should be found on
    this system using "man perl" or "perldoc perl". If you have access to the
    Internet, point your browser at http://www.perl.org/, the Perl Home Page.
    Thanks

  • Highlight Words After Querying

    I have a report in which I query several columns. I want to be able to highlight the word I'm querying wherever the word is found (same functionality you have in this forum when clicking on "search"). I think the answer might be in:
    Home>Application Builder>Application 103>Page Definition>Report Attributes>Column Attributes>column formatting>highlight words
    I tried to put the item name and then the syntax, but it doesn't seem to work.
    Thanks,

    Hi,
    Home>Application Builder>Application 103>Page Definition>Report Attributes>Column Attributes>column formatting>highlight words
    Then “&P101_NAME.” for instance. Do not forget “dot” at the end.
    P101_NAME should be replaced by your item which you are in attributes!
    Konstantin
    [email protected]

Maybe you are looking for

  • What is a table containing sales order and the contract it refers to

    Hi, I have a following problem (ECC6.0): A sales order is created in VA03 and referenced to a contract. I need to locate the table or tables (or FM) which contains the information of the sales order number and the contract number. Problem with VA03 i

  • Insert Icon and Insert Menu javascript out of memory error message

    Every time I hit the insert menu to insert a table, photo, etc, I get an error message that says Javascript out of memory.  This happens when I try to insert a table using the table icons too.  How can I fix this?

  • Desktop's item info doesn't sync

    Hi all mac-users. I have a slight problem with my MB, the HD's item info (the one shows how many free spaces and used spaces) doesn't seem to be correct. The problem is the HD's item info (size) can't be updated once i add or remove files from the HD

  • Need to move mappings from owb 11.1 to owb10.2

    Hi, A collegue of mine has developed some mappings in owb 11.1 on a 11.1 database. The production server is 10.2 database and owb 10.2 is it possible to move the mappings to the other environemt? Many thanks! /L

  • Lightroom Slideshow black thumbnail

    Greetings - I have been searching the forums to see if anyone else has posted this concern. I have created a slideshow using LR5 - even added music - works great! ... However, after upload it creates a black thumbnail and people perceive this as an i