Question about Alter table syntax

Hi all,
I have an issue I need help with. I have created a script for an automated partition create on a monthly basis. It creates a monthly partition containing all dates within the respective month. The script is essentially this:
ALTER TABLE SCHEMA.TABLE
ADD PARTITION &&1
VALUES LESS THAN (to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
TABLESPACE LARGE_DATA94 COMPRESS;
I continually get this error message "ORA-14019: partition bound element must be one of: string, datetime or interval literal, number, or MAXVALUE"
The variable &&2 is passing in character data for the first of the month (E.G. '01-SEP-12'). &&1 passes character data for the month in MONYY ('AUG12') I can run this query:
select
(to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
from dual;
With the output of 20120901. I cannot understand why I am able to run this partition create statement by hardcoding 20120901 but passing it in as a variable I receive the error. Note that I am not having problems with the &&1 variable. If anyone has any ideas please let me know. Thanks!
Edited by: 962466 on Oct 1, 2012 8:42 AM
Grammar

962466 wrote:
Hi all,
I have an issue I need help with. I have created a script for an automated partition create on a monthly basis. It creates a monthly partition containing all dates within the respective month. The script is essentially this:
ALTER TABLE SCHEMA.TABLE
ADD PARTITION &&1
VALUES LESS THAN (to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
TABLESPACE LARGE_DATA94 COMPRESS;
I continually get this error message "ORA-14019: partition bound element must be one of: string, datetime or interval literal, number, or MAXVALUE"
The variable &&2 is passing in character data for the first of the month (E.G. '01-SEP-12'). &&1 passes character data for the month in MONYY (AUG12) I can run this query:
select
(to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
from dual;
With the output of 20120801. I cannot understand why I am able to run this partition create statement by hardcoding 20120901 but passing it in as a variable I receive the error. Note that I am not having problems with the &&1 variable. If anyone has any ideas please let me know. Thanks!I don't understand why you are taking a string, converting it to a date, then converting the date BACK TO a string ... then trying to convert that string to a number.
What is the data type of the partitioning key? It appears that it is a NUMBER, but actually represents a DATE. If so, that is a fundamentally flawed design.

Similar Messages

  • Question about Update Tables

    Hello Gurus,
    I have a question about "update table" entries. I read somewhere that an entry in update table  is done at the time of the OLTP transaction. Is this correct? If so, does this happen on a V1 update or V2 update? Please clarify. Similarly, an entry in the "extraction queue" (incase you are using "queued delta" will happen on V1 update. I just want to get a clarification on both these methods. Any help in this matter is highly appreciated.
    Thanks,
    Sreekanth

    Hi
    update tables are temporary table that are refreshed by v3 job.update table is like buffer, it gets filled after updation of application table and statistical table through v1 v2 update .  we can bypass this process by delta methods.
    M Kalpana

  • Question about WebLogic query syntax

    Hello,
    I am using WebLogic Server 6.0, which came as part of the WebGain
    Studio SE 4.5 development kit. My question regards the Web Logic query
    syntax, which I have not yet mastered.
    I am trying to create a finder method that takes a single argument
    of type "char" and finds all matching fields of the column "keyword" in
    which the argument is the first letter of keyword. That is, if I were
    only looking for fields beginning with the letter "M", I'd use:
    (like keyword 'M%')
    However, I'm looking for all fields beginning with the first letter
    defined by the first argument. Sadly, this syntax:
    (like keyword '$0%')
    doesn't seem to be working. Any suggestions on the correct syntax?
    If this is not the right forum for this question, could someone
    suggest an appropriate newsgroup?
    Thanks, Dave

    962466 wrote:
    Hi all,
    I have an issue I need help with. I have created a script for an automated partition create on a monthly basis. It creates a monthly partition containing all dates within the respective month. The script is essentially this:
    ALTER TABLE SCHEMA.TABLE
    ADD PARTITION &&1
    VALUES LESS THAN (to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
    TABLESPACE LARGE_DATA94 COMPRESS;
    I continually get this error message "ORA-14019: partition bound element must be one of: string, datetime or interval literal, number, or MAXVALUE"
    The variable &&2 is passing in character data for the first of the month (E.G. '01-SEP-12'). &&1 passes character data for the month in MONYY (AUG12) I can run this query:
    select
    (to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
    from dual;
    With the output of 20120801. I cannot understand why I am able to run this partition create statement by hardcoding 20120901 but passing it in as a variable I receive the error. Note that I am not having problems with the &&1 variable. If anyone has any ideas please let me know. Thanks!I don't understand why you are taking a string, converting it to a date, then converting the date BACK TO a string ... then trying to convert that string to a number.
    What is the data type of the partitioning key? It appears that it is a NUMBER, but actually represents a DATE. If so, that is a fundamentally flawed design.

  • Question about multiple table JOIN syntax

    Good morning,
    I'm trying to join three tables and getting an error. Here is the query:
    with
      p (messageid, parentmessageid, subject) as
        select 2001, null, 'xyz'    from dual union all
        select 2002, 2001, 'ngh'    from dual union all
        select 2003, 2001, 'nghj'   from dual union all
        select 2004, 2001, 'pppp'   from dual union all
        select 2005, null, 'hhhhh'  from dual union all
        select 2006, 2005, 'hhhhj'  from dual
      m (thread, messageid) as
        select 1004, 2001           from dual union all
        select 1005, 2006           from dual
    select p2.messageid, p2.parentmessageid, p2.subject
      from (p p2 left outer join m m2
                              on (p2.parentmessageid = m2.messageid))
           join m m3
             on m3.messageid = p2.messageid
    ;                which gives an "ORA-00918: column ambiguously defined.
    I can't figure out why it gives that error. I fail to see the ambiguity.
    Thank you for helping,
    John.
    P.S: In case someone wants to get a good laugh, here is a "solution" that does not have any ambiguity:
    with
      parentchild (messageid, parentmessageid, subject) as
        select 2001, null, 'xyz'    from dual union all
        select 2002, 2001, 'ngh'    from dual union all
        select 2003, 2001, 'nghj'   from dual union all
        select 2004, 2001, 'pppp'   from dual union all
        select 2005, null, 'hhhhh'  from dual union all
        select 2006, 2005, 'hhhhj'  from dual
      messagethread (thread, messageid) as
        select 1004, 2001           from dual union all
        select 1005, 2006           from dual
      j1 as
       select p.messageid, p.parentmessageid, p.subject, m.thread
         from parentchild                     p
              left outer join messagethread   m
                           on p.parentmessageid = m.messageid
      j2 as
       select j1.messageid, j1.parentmessageid, j1.subject, j1.thread, m.thread t2
         from j1 left join messagethread m
           on j1.messageid = m.messageid
    select j2.messageid, j2.parentmessageid, j2.subject, nvl(j2.thread, t2)
      from j2
    order by messageid
    ;

    440bx - 11gR2 wrote:
    Hi Sven,
    >
    I guess the explain plan woudl show that there is some strange query rewrite going on. Where the outer join is added later then needed and therefore the columns do not match anymore as it was in the original query.
    >
    Is there a "hint" that could be used to test that hypothesis ?
    John.I tried NO_QUERY_TRANSFORMATION and MATERIALIZE but the error still was there. So it might not be a problem of rewriting the query.
    However I checked the explain plan for a similiar query which is working.
    sql> with
      2    p as ( select 2002 messageid, 2001 parentmessageid, 'ngh' subject   from dual)
      3   ,m as ( select 1004 threadx, 2001 messageid2 from dual )
      4   ,m3 as ( select * from m)
      5  select *
      6  from p p2
      7  left join m m2 on p2.parentmessageid = m2.messageid2
      8  join m3 on m3.messageid2 = p2.messageid
      9  ;   
    no rows selected
    Execution Plan
    Plan hash value: 4005120224
    | Id  | Operation           | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT    |      |     1 |     2 |     0   (0)|          |
    |*  1 |  FILTER             |      |       |       |            |          |
    |   2 |   NESTED LOOPS OUTER|      |     1 |     2 |     6   (0)| 00:00:01 |
    |   3 |    NESTED LOOPS     |      |     1 |       |     4   (0)| 00:00:01 |
    |   4 |     FAST DUAL       |      |     1 |       |     2   (0)| 00:00:01 |
    |   5 |     FAST DUAL       |      |     1 |       |     2   (0)| 00:00:01 |
    |*  6 |    TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(NULL IS NOT NULL)
       6 - filter(NVL2(ROWID(+),2001,NULL)=2001)
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            357  bytes sent via SQL*Net to client
            231  bytes received via SQL*Net from client
              1  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              0  rows processed
    sql> I can remember some other thread here where a very similiar filter criteria was also mentioned in the context of a "bug".

  • SSMA (Access - SQL 2012) newbie question about new tables

    I have successfully run SSMA and moved the back end tables of an Access project to SQL Express 2012.
    Some questions:
    - if I add a new table to the SQL backend, how do I get it to appear in the Access project?
    - if I want to move the whole thing to another computer, how do I go about it?
    - do I always have to have the SSMA app installed?
    - I can't see an ODBC datasource on the machine
    Thanks for some help
    CarolChi

    Thanks, I was not clear in my questions:
    1. Given that from now on the tables should all be in SQL, I think it would be better to create new tables in SQL them there rather than create them in Access and have to keep moving them to SQL with SSMA. So if I create a new table in SQL how can I
    see it in Access? Or can I easily create a linked table in Access?
    The table created by SSMA have this property:
    If I create a new table in SQL and link it I get a more classic ODBC connection:
    2. I am happy with SQL backup/restore, attach/detach. But how does Access know where the SQL Database has gone?
    3. I thought the migration was a one time task, but from what you say it is an ongoing "linking" app. So I would be better to export my tables and re-link them to get something that can be moved to another network or computer?
    4. The SSMA looks very much like an ODBC connection.
    This is a new project so I will have to make lots of new tables and also move the whole thing around to different computers, on different networks.
    CarolChi

  • Question about multiple tables and formulas in numbers

    I  was wondering about having a formula that effects one table based on data in the other table. I have a spreedsheet that i created for work. In column A is a list of addresses. In column B-ZZ is a list of "billing codes" the get applied to the service work done for that address.Its kind of difficult to look at this large spreadsheet on my iphone and edit it on the go. Is there a way to, Have another column, possibly on sheet 2 or something, where i type in these "billing codes" and they would fill an x or some other character in cell that corrisponds with that billing code on that address line? So to be as plain as possible, I want to enter data in one cell (another sheet if possible) and have it "mark" another cell in response to the specific data on that "entry cell." Im thinking this way because instead of scrolling back and fourth on the sheet on my iphone, to "mark" the boxes, i could just navigate to sheet 2 enter the data, or "billing codes" and they would "X" the cell that would match up with the code column and address row. each address row would have a seperate "entry field" in sheet 2, to make the formula easier. thanks for any help

    Tom,
    That's a lot of columns for jsut a table of marks that reflect an input. Sure, you could have each cell in that giant table check to see if some corresponding cell contains certain text, but that document is going to be slower than you might be able to tolerate.
    Jerry

  • Question about selection table analysis

    Dear All,
    My last post was closed by the moderator so I would like to ask a different question. Please apologize if my question is trivial.
    1. There is a selection table seltab with one fields of type I, with the following contents:
    I     GT     3     0
    I     NE     8     0
    The literature eg. ABAP Objects says that the control statement like IF or CASE can be used with logical expression IN.
    Now I am checking if the variable test fulfills the conditions defined by the selection table.
    DO 10 TIMES.
      IF test IN seltab.
        write test.
      ENDIF
      test = test + 1.
    ENDDO.
    As a result I get a full list of values.
    1 2 3 4 5 6 7 8 9 10
    2. Now, if the table contains
    I     GT     3     0
    I get
    4 5 6 7 8 10 as expected
    3. If the table seltab contains
    I     NE     3     0
    the result also seems to be ok
    1 2 4 5 6 7 8 9 10
    The final question is. Is it true that the logical expression IN cannot be used with IF for more complex data comparisions?
    Thanks,
    Grzegorz

    Well,  the contents
    I GT 3 0
    I NE 8 0
    I read as:
    the variable fulfills the condition if is greater than 3 and not equal 8
    test > 3 and
    test <> 8
    which should give the result from the example above a list
    4 5 6 7 9 10
    What is wrong with my analysis?
    Regards,
    Grzegorz

  • Question about GLPCA table

    hi gurus,
    i need to find a relation between profit center and G/L account to do same reporting on charges by profit centers.
    in table GLPCA i have the fields i need, but i have a question: are all the charges traced in this table (GLPCA) ? in other words are all the vendors invoices present in this table.
    Thank you.

    Only for those entries in which profit center is assigned.
    Eg :Say expenses or revenue for which profit center is assigned directly. only the expenses line item(i.e Dr) or revenue line item (i.e CR) alone will be there in GLPCA.
    But in BSEG you can find both the entries(Dr & Cr) for the same doc, which you cant find in GLPCA.
    Hope you understood.
    else revert
    Reg
    Sujai

  • Question about temporary tables and imports.

    Hello everybody.
    Interesting one this. We have an application that uses global temporary tables. We refresh live to test using import of the application schema. I noticed when doing this yesterday that the temporary tables were being recreated in test as perminant rather than temporary.
    Is there a reason for this? Has anyone come across this before? Is there a way around it (apart from manual checking)?
    Many thanks
    Rup

    Could you specify how you found out that it is coming in as permanent?
    I believe exp/Imp will export and import it is Temporary table. I have just done a simple test to check and it works fine;
    Here is my test log:
    SQL> connect scott
    Enter password:
    Connected.
    SQL>SQL> CREATE GLOBAL TEMPORARY TABLE test_global
      2          (startdate DATE,
      3           enddate DATE,
      4           class CHAR(20))
      5        ON COMMIT DELETE ROWS;
    Table created.
    SQL>  select table_name,temporary from user_tables where table_name='TEST_GLOBAL';
    TABLE_NAME                     T
    TEST_GLOBAL                    Y
    SQL> select table_name,temporary from user_tables;
    TABLE_NAME                     T
    DEPT                           N
    EMP                            N
    BONUS                          N
    SALGRADE                       N
    TEST_GLOBAL                    Y
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    C:\Documents\dbmsdirect\Testing\global>exp
    Export: Release 10.2.0.2.0 - Production on Wed Feb 20 12:18:45 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: scott
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    Enter array fetch buffer size: 4096 >
    Export file: EXPDAT.DMP > test_global
    (2)U(sers), or (3)T(ables): (2)U > t
    Export table data (yes/no): yes >
    Compress extents (yes/no): yes >
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    Table(T) or Partition(T:P) to be exported: (RETURN to quit) > test_global
    . . exporting table                    TEST_GLOBAL
    Table(T) or Partition(T:P) to be exported: (RETURN to quit) >
    Export terminated successfully without warnings.
    C:\Documents\dbmsdirect\Testing\global>sqlplus /nolog
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Feb 20 12:19:50 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> connect scott
    Enter password:
    Connected.
    SQL> drop table test_global purge;
    Table dropped.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    C:\Documents\dbmsdirect\Testing\global>imp
    Import: Release 10.2.0.2.0 - Production on Wed Feb 20 12:20:19 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: scott
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    Import file: EXPDAT.DMP > test_global.DMP
    Enter insert buffer size (minimum is 8192) 30720>
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    List contents of import file only (yes/no): no >
    Ignore create error due to object existence (yes/no): no >
    Import grants (yes/no): yes >
    Import table data (yes/no): yes >
    Import entire export file (yes/no): no > yes
    . importing SCOTT's objects into SCOTT
    . importing SCOTT's objects into SCOTT
    Import terminated successfully without warnings.
    C:\Documents\dbmsdirect\Testing\global>sqlplus /nolog
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Feb 20 12:22:44 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> connect scott
    Enter password:
    Connected.
    SQL>
    SQL> select table_name,temporary from user_tables;
    TABLE_NAME                     T
    DEPT                           N
    EMP                            N
    BONUS                          N
    SALGRADE                       N
    TEST_GLOBAL                    Y
    SQL> insert into TEST_GLOBAL values (sysdate,sysdate,'test1');
    1 row created.
    SQL> select * from TEST_GLOBAL;
    STARTDATE ENDDATE   CLASS
    20-FEB-08 20-FEB-08 test1
    SQL> commit;
    Commit complete.
    SQL> select * from TEST_GLOBAL;
    no rows selected
    SQL>  select table_name,temporary from user_tables where table_name='TEST_GLOBAL';
    TABLE_NAME                     T
    TEST_GLOBAL                    Y
    SQL>

  • Question about dual table

    Hi,
    Can anyone clarify me this
    Can I insert rows into dual table (being a programmer) ?? Using oracle 9i ... If no, can DBA do that ??? Say suppose, I have inserted 100 records in the dual table .. In any way, my applications are going to get hampered after inserting the records in the dual table
    Regards

    Or perhaps this:
    SQL> SELECT * FROM
      2  ( select rownum from dual connect by rownum <= 10 );
        ROWNUM
             1
             2
             3
             4
             5
             6
             7
             8
             9
            10
    10 rows selected.In 9i at least you most certainly can insert into sys.dual, which is a regular table in the SYS schema, although you deserve all you get if you do so:
    /Users/williamr: su - oracle
    Password:
    /Users/oracle: sqlplus '/ as sysdba'
    SQL*Plus: Release 9.2.0.1.0 - Developer's Release on Fri Mar 10 19:21:45 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Developer's Release
    With the Partitioning and Oracle Data Mining options
    SQL> SELECT COUNT(*) FROM sys.dual;
      COUNT(*)
             1
    1 row selected.
    SQL> INSERT INTO dual VALUES ('Z');
    1 row created.
    SQL> SELECT COUNT(*) FROM sys.dual;
      COUNT(*)
             2
    1 row selected.
    SQL> set serverout on
    SQL> EXEC DBMS_OUTPUT.PUT_LINE(user);
    BEGIN DBMS_OUTPUT.PUT_LINE(user); END;
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SYS.STANDARD", line 264
    ORA-06512: at line 1
    SQL> roll
    Rollback complete.
    SQL> EXEC DBMS_OUTPUT.PUT_LINE(user);
    SYS
    PL/SQL procedure successfully completed.
    SQL> So it is technically possible, but monumentally inadvisable to mess about with sys.dual.
    For a rather surreal suggestion related to this scenario, see:
    oracle-wtf.blogspot.com/2006/03/create-your-own-dual-table.html

  • Question about ALTER TABLESPACE add/drop datafile

    Good afternoon,
    As an exercise, I created a tablespace STORETABS and added a datafile to it using the command:
    SQL> alter tablespace storetabs add datafile 'e:/storetabs3.dbf' size 50M;This step succeeded. A new file was created in the root of e: as expected.
    Following that command, I issued:
    SQL> alter tablespace storetabs drop datafile 'e:/storetabs3.dbf';
    Tablespace altered.The command succeeded. However, the file *'e:/storetabs3.dbf'* was not removed. After re-reading the documentation found at http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_3002.htm, I get the impression that removing the O/S file itself is something that always needs to be done manually.
    The question: Am I correct that there is no option to cause the "alter tablespace <tablespace> drop datafile <datafilename>" to delete the O/S file ? In other words, must the O/S file always be manually deleted as a separate step ?
    Thank you for your help,
    John.

    I believe in windows directory paths used backslash and not forward slash.
    You can argue why oracle does not give error, either while creating or while dropping ;)
    SQL> select * from v$version ;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> select tablespace_name, file_name from dba_data_files ;
    TABLESPACE_NAME
    FILE_NAME
    USERS
    /u01/app/oracle/oradata/orcl/users01.dbf
    UNDOTBS1
    /u01/app/oracle/oradata/orcl/undotbs01.dbf
    SYSAUX
    /u01/app/oracle/oradata/orcl/sysaux01.dbf
    SYSTEM
    /u01/app/oracle/oradata/orcl/system01.dbf
    EXAMPLE
    /u01/app/oracle/oradata/orcl/example01.dbf
    SCOTT_TBS
    /home/oracle/scott_f1.dat
    6 rows selected.
    SQL> !ls -l scott_f1.dat   
    -rw-r----- 1 oracle oinstall 276832256 Sep 11 21:15 scott_f1.dat
    SQL> alter tablespace scott_tbs add datafile '/home/oracle/scott_f2.dat' size 10M ;
    Tablespace altered.
    SQL> !ls -l scott_*.dat
    -rw-r----- 1 oracle oinstall 276832256 Sep 11 21:15 scott_f1.dat
    -rw-r----- 1 oracle oinstall  10493952 Sep 11 21:18 scott_f2.dat
    SQL> alter tablespace scott_tbs drop datafile '/home/oracle/scott_f2.dat' ;
    Tablespace altered.
    SQL> !ls -l scott*.dat
    -rw-r----- 1 oracle oinstall 276832256 Sep 11 21:15 scott_f1.dat

  • Question about af:table

    Hi all, can you show me the way to turn off the "show all" option in af:table (when we use paging)? Thanks a lot!
    Harry.

    hi Harry
    I'm not sure what your question is, but the af:table component in the SRList.jspx page of the SRDemoSample application uses "paging".
      <af:table value="#{bindings.findServiceRequests1.collectionModel}"
             binding="#{backing_SRList.srTable}" var="row"
             rows="#{bindings.findServiceRequests1.rangeSize}"
             first="#{bindings.findServiceRequests1.rangeStart}"
             emptyText="#{bindings.findServiceRequests1.viewable ? 'No rows yet.' : 'Access Denied.'}"
             selectionState="#{bindings.findServiceRequests1.collectionModel.selectedRow}"
             selectionListener="#{bindings.findServiceRequests1.collectionModel.makeCurrent}">
      <!-- ... -->
      </af:table>(tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    success
    Jan Vervecken

  • Question about linked tables

    I want to create a table and am using sql8 as back end.
    My front end is Access. I want to create a button in the access form that will update certain values in a table in the database. I dont want to add the database in the access form.
    I am thinking of creating a linked table getting values from the main table and create a linked table from it. Then i was thinking of updating the linked table by adding it up to the access form and using a button for the update query.
    Would it work.
    What wud be the syntax to create a linked table from the main one and wud the updates show on the main table if i update the linked table.
    Is there an alternative to it.
    I do not want to use any triggers though.
    Ashish

    Hi
    update tables are temporary table that are refreshed by v3 job.update table is like buffer, it gets filled after updation of application table and statistical table through v1 v2 update .  we can bypass this process by delta methods.
    M Kalpana

  • Simple beginner question about default tables (LOGMNR, etc.)

    Hi all, I just installed SQL Developer and the Express server. I have worked with other SQL databases and with remote Oracle databases. But never been a DBA for an Oracle DB. I tried searching on LOGMNR and AQ$_, but couldn't find anything, hence this question.
    If there is some online documentation that covers these particular tables and my question, then a pointer to that would be appreciated.
    Anyway, I created a connection per the instructions and it seemed to work. But when I look at tables listview, I see a whole slew of tables. I assume these are all housekeeping/meta data tables (eg. information_schema in MySQL). Is this correct?
    Also, short of manually creating a filter for each of the file types ("%$%"help", "LOGMNR%", "SQLPLUS%", etc.), is there an easy way to ignore these tables and just see the tables I want to create for testing purposes?
    And I am curios why these all show up by default. Could it be that I am expecting something because of experience with other databases and am actually doing things the "wrong" way? Or is this just because I am using the Express Server? Or is there another (very good) reason for these tables to exist?
    Thanks,
    justme

    The complete oracle documentation is at http://tahiti.oracle.com. There is a lot of it, but Log Miner and Advanced Queuing have their own manuals. You should also consider starting with the Concepts Manual followed by one of the "2-day" tutorials such as "2-Day DBA"
    What user are you connecting as? It sounds as if you are connecting as SYS or SYSTEM if you can see the dictionary tables.
    You should create a separate user to connect as.
    (create user myuser identified by mypassword;
    grant connect,resource to myuser;)

  • A question about sorting tables.

    Hello All!
    Just a quick question: performance wise, which is better, declare an itab with the 'sorted table of' or use the 'sort itab' later.
    Thanks in advance!
    Moderator message: please try yourself and search for available information and previous, similar discussions.
    Edited by: Thomas Zloch on Feb 23, 2012

    Hi Kevin,
    follow for example more or less the code given in this thread: Functionality to dynamically sort tableview columns and implement a <i>compare</i> method corresponding to your needs (for example using <i>compareToIgnoreCase</i> method of <i>String</i>).
    Hope it helps
    Detlev

Maybe you are looking for