Incomprehensible Oracle Reserved Word Error

I'm trying to create a Table for a new application and I keep getting this error message:
1 error has occurred
The identified column name is an Oracle reserved word. Please choose another name.
Unfortunately, it doesn't identify a column as containing a reserved word. I tried googling for a list of Oracle Reserved Words, Oracle Keywords, and PL/SQL Reserved Words; but none of them match the column names in my table. My column names are:
PROJECT NAME (Aliases)     
(C)USTOMER REQUEST or (IT) REQUEST     
Priority (1= high)     
PROJECT STATUS     
PROJECT MANAGER     
LAST STATUS     
Link to Status     
START DATE     
ESTIMATED COMPLETION     
NOTES     
Report on Time?     
Business Analyst     
Technical Lead     
Business Apps     
DBA_Name     
Systems     
Network     
NOC     
CSC     
Training      
Communications     
SME     
Super User     
Contracts     
ERP     
DBA_Name used to be DBA, which is a keyword, but when I changed it to DBA_Name, i got the same error. Please help.
Steve in Raleigh NC

Thanks. I'm using Oracle 11g. I think what you're suggesting would work, if the objective is to create an empty table and then populate it with data.
However, what I'm trying to do is import a spreadsheet into APEX as a table, after which I shall build an application on that. If I do it your way, I'll have to key all the spreadsheet data in after creation, creating the possibility of keyed errors, which would require proof-reading. I'd prefer not to do that.
This morning, before returning to this thread, I was able to import the spreadsheet by changing all the column names to the corresponding Excel column heads: A, B, C and so on. When I went to SQL workshop to rename the columns, I found only 10 had been imported. There are 22 columns in the spreadsheet, most of them populated, and we need them all.
I believe I can still use the table I have created. I can add the extra 12 columns now, one at a time, and populate them by typing, if I must.
However, if there's some constraint or constant I can alter to import all 22 columns with all the information in one pass, I would appreciate it. There are 53 rows. Keying 12 columns for all 53 would be something of a pain.
Steve the n00b in Raleigh NC

Similar Messages

  • Tag is Oracle reserved word

    My XML document has the tag <DATE>. (an Oracle reserved word)
    My Oracle table has the column DATE. This was creating by enclosing the column name with quotes when creating the table.
    I assumed that a putXML would work since the SQL Reference manual says that Oracle considers DATE and "DATE" to be the same thing.
    However, when I run putXML, I get the error message "missing SELECT keyword encountered during processing ROW element 1".
    Does this XML file need to be preprocessed by XSLT to alter the DATE element, does getXML have a bug, or did I do something wrong?
    Thanks.

    Scott,
    <p>
    Yeah I know it is a bug but what I was not sure of is whether Product Development knew about it or not.
    <p>
    I was just letting Product Development know about it in case they did not already.
    <p>
    <b>Is there, or should there be, another (better) way of reporting bugs with Application Express to product development.</b>
    <p>
    Chris

  • Create App From Spreadsheet: "column name is an Oracle reserved word"

    I'm creating an App from a spreadsheet on apex.oracle.com (3.0.0.00.20 at time of writing) and receiving the error "The identified column name is an Oracle reserved word. Please choose another name."
    I've tried adding an underscore to the end of each column name in order to avoid having to check every column name (yup, lazy) but that didn't remove the error, nor is any column name identified by the interface.
    Thoughts?

    Hi David,
    There was a bug at one time where reserved words were not being checked properly when creating columns. A particular problem related to names beginning with "SYS".
    Try adding the underscore in front of the column name.
    Regards
    Andy

  • Oracle Reserved Words in EJB Implementations

    Hello Everybody!
    Suppose there is a table in Oracle , say Account which has a column, say comment. comment is a reserved word in Oracle. I would like to know how Oracle reserved words are handled in EJB implementation. For example, suppose there is an enterprise application that accesses such a table using CMP beans, how would we specify the <field-map>
    <field-map>
    <cmp-field>comment</cmp-field>
    <dbms-column>COMMENT</dbms-column>
    </field-map>
    This doesnt work because COMMENT is a reserved word in Oracle. In Oracle,
    if we use comment as a column name, it has to be represented in double quotations.
    for example, this select query doesnt work
    select COMMENT from account;
    these select queries works
    select "COMMENT" from account;
    select A."COMMENT" from account A;
    Regarding the current EJB implementations, the question is whether they support Oracle reserved words in their mappings??
    "COMMENT"s welcome
    Thanks!
    Manu Ramakrishnan

    >
    This doesnt work because COMMENT is a reserved word in
    Oracle. In Oracle,
    if we use comment as a column name, it has to be
    represented in double quotations.
    Did you try it?
    Did you try it with double quotes?
    The specs I looked at do not discuss this(jdbc, ejb, j2ee.) The ejb spec reserves as part of EJB QL some standard ANSI SQL reserved words and specifically suggests that other ANSI SQL reserved words should not be used.
    And if I am reading the EJB QL section correctly identifiers (which would be a table, field names) do not allow quoted identifiers. Or at least they specifically do not allow fields with, for example, a space. This sort of name is specifically allowed for in ANSI SQL and has been since the first version of ANSI SQL. They also do not allow for case sensitive names, which again is allowed in ANSI SQL as part of a quoted identifier.
    That suggests to me that you use reserved words that either you going to be using a non-J2EE feature of a container or it simply won't work in the first place.

  • Oracle Reserve Words

    When creating entity names in Oracle Designer, can reserve words be used if they are part of a string? For instance CREATION DATE?
    And is it necessary to have underscore between all entity names before using the Database Design Transformer?

    When defining entities and attributes in Oracle designer, there is no need to use the underscore. In addition, if it is your intention to use the Database Design Transformer to full effect:
    1. Ensure the long name, short name and plural properties are defined for each entity.
    2. Do not create attributes for non-significant primary keys (those that will be generated by sequences)as the transformer will create these.
    3. Do not create attributes for foreign key relationships. Again these will be created by the transformer.
    4. When using the transformer, pay particular attention to all the options to make sure you want to use a particular one.

  • "MS" reserved word in oracle text query?

    Wondering if anyone has run into the string "MS" behaving as a reserved word in oracle text queries. For example, this specification returns all records from Texas:
    '<query>
    <textquery>
    <progression>
    <seq> TX WITHIN CUSTOMER_STATE </seq>
    </progression>
    </textquery>
    </query>'
    But this one does NOT find any results for Mississippi:
    '<query>
    <textquery>
    <progression>
    <seq> MS WITHIN CUSTOMER_STATE </seq>
    </progression>
    </textquery>
    </query>'
    I've confirmed we have data that should match, and I've tried escaping it with the sequences as described in the SQL docs (I've tried single quotes, pairs of single quotes, braces, and combinations of those) . And trying to find info on the web is tough since all web queries that contain 'MS' bring back tons of Microsoft-relevant information.
    Can anyone nudge me in the right direction for a better google-search, or some materials in these forums (my initial searches here didn't turn anything up either).
    Thanks for any feedback!
    jh

    Wondering if anyone has run into the string "MS" behaving as a reserved word in oracle text queries.Maybe because »MS« is in the default english stoplist?:
    English Default Stoplist.

  • Error "SELECT statement includes a reserved word"

    Dear Sir,
    I am developing Ms Access 2010 and XP is the operating system.
    I have placed a combobox on a form, but when I tired to update new string value in the same combobox, it generates  an error "The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is
    incorrect." .
    I have debuged "Not In List" event and find  this error generates soon after completing the "Not In List" event. I tried to find out any help on the internet but failed.
    I shall be ever grateful if some one could help this regards.
    Kazim

    I think you need to do some homework on how relational databases work. 
    The following is my short description of the database relational model, but I emphasise the word 'short'. 
    The subject is a complex one with a huge body of academic and technical literature, so I can only hope to touch upon the basic principles of the model:
    "The database relational model was originally proposed by E F Codd in a paper in 1970 in the journal 'Communications
    of the Association for Computing Machinery'.  Since then there has been a vast amount of further theoretical work, and the relational model has shown itself to be a robust one. 
    Without going too deeply into the theoretical basis, which can be quite abstract, a relational database in essence models a part of the real world in terms of its entity types and the relationship types between them. 
    Note the inclusion of the word 'type' in both cases here. 
    While its almost always used in the former case, its often omitted in the latter case. 
    This is a little bit sloppy but not too important.  When one talks about a 'relationship' it really refers to a relationship value. 
    As an example 'marriage' is a relationship type, but my being married to my wife Fiona is a relationship value, represented by our names on the marriage certificate, which is the physical equivalent of a row in a Marriages table with columns Husband
    and Wife, each referencing the primary key of a table People. 
    This is a many-to-many relationship type (I've been married twice so would be in two rows, my first wife would also be in two rows as she remarried too). 
    It is resolved into two one-to-many relationship types, People to Marriages in each case, in one case via the Husband column in the other via the Wife column.
    In a relational database tables model Entity Types. 
    In the above example People is an entity type, modelled by the People table. 
    Marriage is also an entity type, modelled by the Marriages table. 
    As we've seen it's also a relationship type.  In fact a relationship type is just a special kind of entity type.
    Each column in a table represents an attribute type of each entity type, so attribute types of People might be FirstName,
    LastName, DateOfBirth etc.  This table would also have a PersonID numeric column (usually an autonumber) as its primary key as names are not distinct. 
    Each row in a table represents one instance of the entity type, and the attributes of each instance are represented by values at column positions in the row. 
    This is the only way that data can be legitimately stored in a relational database.
    It's important that there is no redundancy in the information content of the database. 
    This is achieved by the process of 'normalization'.  Normalization is based on a set of 'normal form's ranging from First Normal Form (1NF) to Fifth Normal Form (5NF) and beyond, though the higher normal forms are of a rather 
    different nature and we need not concern ourselves unduly with them. 
    There is also a Boyce/Codd Normal Form (BCNF) which was inserted when it was found that the original Third Normal Form was deficient; it didn't cater satisfactorily for tables with two or more candidate keys where the keys were composite and overlapped,
    i.e. Had a column in common.  I won't go into the details of normalization here; you'll find it written up in plenty of places.
    To see an example of redundancy and therefore a table which is not properly normalized take a look at the Customers table
    in the sample Northwind database which comes with Access.  You'll see that it includes City, State/Region and Country columns. 
    If you look at its data you'll see for instance that we are redundantly told twice that Boston is in Massachusetts, and that this is in the USA 
    twice.  This is not just inefficient, it is dangerous as it leaves the table open to inconsistent data being entered. 
    There is nothing to stop somebody putting Boston in the Massachusetts in one row and Milwaukee 
    in another, or putting Milwaukee  in the UK in one row and the USA in another. 
    To normalize the table it should be decomposed into Customers, Cities, Regions and Countries tables, each of the first three with a foreign key referencing the primary key of the next table up in the hierarchy."
    In your case you say a book can have more than one publisher. 
    This is true if you regard the entity as the book as a single 'work', not as a title. 
    I have two copies of Jane Austen's Mansfield Park for instance, each by a different publisher. 
    It is a single 'work' however.  I've no idea if anyone else has written a book called Mansfield Park, but there is no reason why not, so let's assume that one exists.
     This is not the same 'work' as Jane Austen's book, so conceptually is a different entity of type Books, and would be represented by a separate row in a table Books.
    In the above context there is a many-to-many relationship type between Books and Publishers. 
    There is only one way to model such a relationship type, which is by a table which resolves the relationship type into two one-to-many relationship types. 
    So the model would, diagrammatically be:
    Books----<BookPublishers>----Publishers
    Title is a non-key column of Books. 
    The same title may appear in different rows, as with our hypothetical Mansfield Park by another author. 
    The primary key of books is a numeric BookID, usually an autonumber. 
    The BookPublishers table would have foreign keys BookID and PublisherID referencing the primary keys of the two referenced tables. 
    It would also have columns representing any attributes of the relationship type between the book and the publisher. 
    The primary key of this table is a composite one of BookID and Publisher.
    To record multiple editions of a book published by a publisher requires another table along the following lines:
    BookEditions
    ....PublisherID 
    (FK)
    ....BookID 
    (FK)
    ....EditionNumber
    ....EditionDate
    .....ISBN
    In this table PublisherID and BookID are a composite foreign key referencing the primary key of BookPublishers. 
    Note that ISBN is a column in this table as it applies to each edition of a book. 
    In the language of the relational model it is said to be functionally determined by the key of BookEditions.
    Hopefully my short stock description of the relational model above, and my brief description of how it applies to the reality
    which you are attempting to model will give you an insight into how to build a database, but I would strongly recommend that you first do some background work on how the database relational model works and how to apply its principles in Access.
    I'll leave you with my own four, not altogether serious but nevertheless valid, ground rules for designing a relational database:
    1. 
    KISS (Keep it simple, stupid!).
    2. 
    When in a hole the first thing to do is stop digging.
    3. 
    Always take account of Murphy's Law: 'If something can go wrong, it will go wrong'
    4. 
    Always follow the advice given by Richard Feynman to his students: 'Don't write it down until you understand it'.
    Ken Sheridan, Stafford, England

  • Rman dupicate db skip tablespace not working reserved words with quoates

    This is how the script looks like
    set newname for datafile '/oracle/oracle10.2/oradata/smalldb/users01.dbf' to '/oracle/staging/TEST1/users01.dbf';
    set newname for datafile '/oracle/oracle10.2/oradata/smalldb/system01.dbf' to '/oracle/staging/TEST1/system01.dbf';
    set newname for datafile '/oracle/oracle10.2/oradata/smalldb/sysaux01.dbf' to '/oracle/staging/TEST1/sysaux01.dbf';
    set newname for datafile '/oracle/oracle10.2/oradata/smalldb/undotbs01.dbf' to '/oracle/staging/TEST1/undotbs01.dbf';
    duplicate target database to TEST123
    SKIP TABLESPACE 'USERS2', 'USERS3', 'CATALOG'
    PFILE= '/oracle/staging/test123init.ora'
    LOGFILE
    '/oracle/staging/TEST1/redo01.log' SIZE 4096K reuse,
    '/oracle/staging/TEST1/redo02.log' SIZE 4096K reuse,
    '/oracle/staging/TEST1/redo03.log' SIZE 4096K reuse;
    contents of Memory Script:
    set until scn 12748962;
    set newname for datafile 1 to
    "/oracle/staging/TEST1/system01.dbf";
    set newname for datafile 2 to
    "/oracle/staging/TEST1/undotbs01.dbf";
    set newname for datafile 3 to
    "/oracle/staging/TEST1/sysaux01.dbf";
    set newname for datafile 4 to
    "/oracle/staging/TEST1/users01.dbf";
    restore
    check readonly
    clone database
    skip tablespace USERS3,
    USERS2,
    CATALOG ;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00601: fatal error in recovery manager
    RMAN-03012: fatal error during compilation of command
    RMAN-03028: fatal error code for command Duplicate Db : 600
    RMAN-00600: internal error, arguments [8049] [] [] [] []
    **RMAN-01009: syntax error: found "catalog": expecting one of: "double-quoted-string, identifier, single-quoted-string"**
    RMAN-01007: at line 16 column 2 file: Memory Script
    I tried single quote and double quote but it did not work.
    Any idea what is going wrong here ?
    -Rohit

    What oracle version? Check the DB alert log files for information about the internal error. Other thing is RMAN may be getting confused with the 'CATALOG' tablespace with it being a reserved word in RMAN in generating the internal script - may be a bug.
    See in the internal script:
    skip tablespace USERS3,
    USERS2,
    CATALOG ;The internal script gets an error once it reaches CATALOG even though you've quoted it in the original script. For example:
    RMAN> list copy of tablespace CATALOG;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "catalog": expecting one of: "double-quoted-string, identifier, single-quoted-string"
    RMAN-01007: at line 1 column 25 file: standard inputwhereas with quotes should work (untested).
    Edited by: Stellios on Oct 14, 2009 11:37 AM

  • ORA-22806: not an object or REF on the reserved word FROM, how to debug?

    I am honestly confused on this one...
    When I run the following in sqlplus:
    SQL> SELECT a.fname, a.lname
    FROM h_user_m a
    WHERE a.id IN
    (SELECT UNIQUE m.user_id
    FROM h_user_role m
    WHERE m.role_id =
    (SELECT UNIQUE id
    FROM h_role_n
    WHERE LOWER (name) = 'wc-ismp-admin')
    OR m.role_id =
    (SELECT UNIQUE id
    FROM h_role_n
    WHERE LOWER (name) = 'wc-ismp-user'))
    AND a.id NOT IN (SELECT user_id
    FROM ip_user);
    ERROR at line 2:
    ORA-22806: not an object or REF
    I run the same query in Toad for Oracle v9.7.2.5 and it returns the same error, but highlights the reserved word FROM. I googled the error, but I'm not for sure why the reserved word FROM would be causing the error?

    Thank you for the quick response.
    I tried your query and I still receive the same 'ORA-22806: not an object or REF' error & in Toad, it does highlight the reserved word FROM.
    Oddly enough, I went back and ran the first sub-query from both of our SQL statements and no errors returned.
    Only when I added the sub-query back to the main query I receive the error as mentioned.
    So, the following worked:
    select m.user_id
    from h_user_role m
    where m.role_id in
    (select id
    from h_role_n
    where lower (name) = 'wc-ismp-admin'
    or lower (name) = 'wc-ismp-user'
    minus
    select user_id
    from ip_user)
    but added back to:
    select a.fname, a.lname
    from h_user_m a
    where a.id in(...)
    The error returns - the same steps apply to my statement as well...
    Looking at the 10g Release 2 (10.2) documents, I don't see any restrictions to the IN reserved word, in terms of number of sub-queries, etc...

  • Need a procedure to check reserve words are in uppercase or not?

    Hi All,
    i am using oracle 11g,
    my question is  i wanted to create procudure and i  am passing a sql query as input parameter  and there i am using lots of oracle reserve keywords. but i need to check if  those reserve keywords are  not in uppercase
    it should show error message and error line.  suppose my query is like below and it should show which line error is?
    SELECT FINDING_LEVEL_ID 
    ,PROTOCOL_SETUP_ID
    ,FLV_LAST_MODIFIED_BY
    ,FLV_LAST_MODIFIED_ON
      FROM empb
    Where EXISTS (SELECT 1
              FROM dept  a
             Where a.PROTOCOL_SETUP_ID = b.PROTOCOL_SETUP_ID
               AND PROTOCOL_LAST_MODIFIED_ON >
                   to_date(ms_sra_get_max_date_fnc('N'
                                                  ,'SGMGBI')
                          ,'DD-MON-YYYY HH24:MI:SS'));
    suppose error is there in where key word  so it should show errorline and error message, but error message is common for every line.
    please help me
    Thanks
    Damby

    913349 wrote:
    Hello Ramin,
    but i need as dyanamic,i cant write always select exist from dual or select 'select' where  from dual .
    anyway i need to pass as parameter.
    Thanks
    Damby
    I don't read other posts , I gave you only example... If you have table  with this words you should replace RS to your table name. And write pl/sql code for procedure.
    with rs(a) as
    select 'WHERE' FROM DUAL UNION ALL
    select 'FROM' FROM DUAL UNION ALL
    select 'EXISTS' FROM DUAL UNION ALL
    select 'SELECT' FROM DUAL
    select a.a,
           substr(s,REGEXP_instr(upper(s),a,1,column_value),length(a)) error_word,
           REGEXP_instr(upper(s),a,1,column_value) err_line
    from(
    select rownum n, q.*, rs.*, regexp_count(upper(q.s), rs.a) cnt from (    
    select
    'SELECT FINDING_LEVEL_ID,
           PROTOCOL_SETUP_ID,
           FLV_LAST_MODIFIED_BY,
           FLV_LAST_MODIFIED_ON
      froM empb
    Where exists (SELECT 1
              FROM dept a
             Where a.PROTOCOL_SETUP_ID = b.PROTOCOL_SETUP_ID
               AND PROTOCOL_LAST_MODIFIED_ON > to_date(ms_sra_get_max_date_fnc(''N'', ''SGMGBI''),''DD-MON-YYYY HH24:MI:SS''));' s
               from dual) q, RS) a, table(select collect(rownum) from dual connect by level <= a.cnt)
    where a != substr(s,REGEXP_instr(upper(s),a,1,column_value),length(a))
    A
    ERROR_WORD
    ERR_LINE
    WHERE
    Where
    121
    WHERE
    Where
    175
    FROM
    froM
    111
    EXISTS
    exists
    127
    Ramin Hashimzade

  • Oracle List of Error codes and messages

    Hi,
    In our application we are planning to use sqlloader to load a huge amount of data into the database. However, to parse the log file we need a list of Oracle error codes and messages that are commonly encountered while loading data using sqlloader. Does anyone know where to get such a list?
    Thanks

    In our application we are planning to use sqlloader to load a huge amount of data into the database. However, to parse the log file we need a list of Oracle error codes and messages that are commonly encountered while loading data using sqlloader. Does anyone know where to get such a list?I don't know where to get such a list, but for a start you could search the log for the words "Error" and "ORA-"

  • Invoking LC webservices from VB6 where "invoke" is reserved word

    Hi everyone:
    I'm making some poceses tests on one customer (We are running a proof of concept and  positioning LC technology ) who wants to invoke LC PDF-G orchestrated services using the WS endpoint from an VB6 app.
    When the VB6 app creates the proxy object to call the invoke method  exposed by the LC orchestrated process an compilation error occurs,
    apparently invoke is a "reserved word" for internal use in VB6, so it doesn't works...
    If we try to invoke an out-of-the-box LC service from a VB6 app via the WS API all works fine!
    This is part of our code:
    SERVICE = ""
    Port = ""
    WSDL = "http://172.26.45.195:8080/soap/services/getReportTitle?WSDL"
    Set objSoap = New  MSSOAPLib30.SoapClient30
    objSoap.ClientProperty("ServerHTTPRequest") = True
    Call objSoap.MSSoapInit(WSDL,  SERVICE, Port)
    objSoap.ConnectorProperty("AuthUser") =  "administrator"
    objSoap.ConnectorProperty("AuthPassword") =  "password"
    Resultado =  objSoap.Invoke("1")
    An we attache the VB error.
    How to solve this problem...??
    Thanks in advance,
    Diego.

    That's going to be tricky because any custom LC processes has a default method of invoke.  You may be able to "reflect" it by creating a java service that lives on the LC server.  That java service can call the LC application and could be called by the VB6 app.
    On the other hand, I though Microsoft end-of-life for VB6 was back in March 2008 - so you may want to push them into using a .Net version.

  • I need to use a reserved word as parameter name in proc called from URL

    Let me preface this post by saying I already know this is terrible to attempt, but it's short term fix only.
    Ok, so I have to create a procedure that will be called by a vendors application via a API that calls our URL to send data over. The terrible part is
    that the API they have uses the parameter FROM=vendor_data A change is on the way so in the future the API won't use FROM as a paramter, so this isn't something I want to do, but it's a workaround.
    So the nastiness is this..., I can create a procedure that'll compile when I enclose FROM in double quotes "FROM" as my input parameter
    but if I try to call my procedure via URL (as their application will do) the procedure isn't working. I searched for someway to do an inline
    replace of the FROM parameter to something else, but no luck. I'm open to all positive comments. I cannot go outside of Oracle
    to do this, so I can't call a shell script and replace. Basically I need some way to use a reserved word as a parameter name, and then be able to call
    that proc from a URL, or someway to change the FROM in the URL inline. Any help on this admittedly whacky situation would be appreciated much.
    I tried ...\myproc?from=text
    ...\myproc?"from"=text
    ...\myproc?'from'=text
    proc is simple test procedure
    create or replace procedure myproc
    ("from" in varchar2 default 0)
    is
    v_from varchar2(30);
    begin
    v_from:="FROM";
    insert into test(col1) values(v_from);
    end;
    **** Update
    I didn't get any more replies but came to a solution that I thought I'd post. It's much better, more elegant and maybe can help others.
    So instead of using FROM as the parameter name I did some research and decided I can use flexible parameters. Basically you end up having
    2 input parameters for a procedure, one holds a parameter name the other holds the parameter value. They get loaded into arrays
    and you access the values with regular name_array(1), value_array(1), etc. ?v=parameter&v2=value
    Once I figued I could use flexible parameter it took me tons of research to find out the actual syntax. I'll post some examples for others
    later, but was suprised with the lack of resources consideriing how "flexible" they are.
    Thanks again for the replies. Cheers.
    Edited by: Mitz on Jul 29, 2009 11:37 PM

    Scott,
    Thanks for the reply. I'm not familiar with the wwv_flow_epg_include_mod_local, however I know that the
    myproc is available via URL. I passed the my procedure name(myproc) on to the dba a while back to make it "accessible" so, I'm assuming that he
    added it to this the www_flow_epg_mod_local (assuming this has something to do with access control).
    If I modify myproc procedure and remove "FROM" as the input variable, and replace with say,
    IN_FROM I can then call the procedure via the URL ./myproc?in_from=test without any problems.
    I'm pretty confident that it's the "FROM" that is the hurdle and not a security or setup issue. The proc is fine to call from the URL until I got the curveball that the only available parameter was FROM. How the URL should be when inputing to that parameter?
    Edited by: Mitz on Jul 25, 2009 7:36 PM
    Edited by: Mitz on Jul 25, 2009 9:16 PM

  • How to use reserved word in MAX() function?

    Hello, I migrated from SQL Server 7 to Oracle 8.1.7 and have to keep the same tables, columns etc names as it used to be in sql server. One of my tables have colunm called 'Row' and as far as I understand it's reserved word in Oracle
    I need to bypass it somehow in the following query:
    SELECT MAX(Row)
    FROM TableX
    I'll appreciate all ideas
    Thanks in advance
    Marina

    Hi,
    Try one of the following
    Select MAX("ROW")
    Select MAX("Row")
    be careful the double quotes (") make the Row case sensitive.
    Regards
    John

  • How to Exclude Java Reserved Words Using StringTokenizer

    Hi, i'm trying to exclude identifiers and java reserved words using StringTokenizer from an input file outputting the remaining words alphabetically ordered with the line, on witch they occur, in front of the word.
    So far my code does all that, except exclude those words. I'm kind on a dead end... Any suggestions?
    The code:
    public class Interpreter{
        /* Uses a Binary Search Tree      */
        public static void main(String args[ ]) {
            String path = null;
            for (int j = 0; j < args.length; j++) {
                try {
                    // Step 1, read the input file
                    path   = args[j];
                    FileReader input = new FileReader(args[j]);
                    BufferedReader br = new BufferedReader(input);
                    String line;
                    int count = 1;
                    String word;
                    // Step 2, create an empty Tree
                    BST tree = new BST();
                    while((line = br.readLine())!=null){
                        StringTokenizer str = new StringTokenizer(line);
                        while (str.hasMoreTokens()){
                            word = str.nextToken();
                            tree.insert(word,count);
                        count++;
                    // We're done, print out contents of Tree!
                    tree.print();
                    // Error Handling
                    //check for IO problem with bad file
                } catch (IOException e) {
                    System.out.println("There was a problem with the filename you entered.");
                    //check for no filename entered at command prompt
                } catch (ArrayIndexOutOfBoundsException e) {
                    System.out.println("Please include a filename when running this program.");
    }Edited by: Redol on Dec 12, 2007 8:32 PM
    Edited by: Redol on Dec 12, 2007 8:33 PM

    use split instead of tokenizer.
    public String[] splitString( String line, String delim )
        String[] tokens = null;
        if( line != null )
            tokens = line.split( delim );
        return tokens;
    }

Maybe you are looking for

  • Automatic clearing in electronic banking

    Hi all, I'm working with the electronic banking program to import statements and want to clear items from sub ledger accounts automatically. From the tests I have done so far, it seems that SAP always tries to locate the business partner via the bank

  • Creation of PL Element without it being a cost element

    Hi I have to asign two PL elements in T code 0KEK for transfer of material between two profit centers. The two elements should not be <b>cost elements</b> but they should be PL Elements to be used only in PCA. We have to create PL elements through FS

  • Purchase Order History Query

    Hello, Can I get a query where in against a Purchase Order, what are the different GRPO's made and against that GRPO the A/P invoice which were created? Selection criteria will be PO Doc Number. Kalli

  • How To Access Disk Usage Graphic

    A little while ago I stumbled upon a multi-colored, horizontal, single line graphic  divided into sections, which showed disk usage, each section and color representing a different type of data. This was not the Activity Monitor, which has a pie char

  • Intro Movie at slower frame rate when uploaded

    The intro movie I created for my photography site plays too slow when uploaded, thus making the music finish long before the animation is done; needless to say, this makes for a very tacky intro! Does anybody know what I'm doing wrong? Thanks