Thesaurus w/ terms in table and selecting hierarchically

Hello all,
I am developing a web application where users must be able to search within a thesaurus and select from a list of thesaurus terms. I tried to set up a prototype similar to the one found in:
Oracle Text - Knowlegde base - Use of ABOUT
1. I use a hierarchical query to select the terms I want. Using LIKE I can also obtain the terms which match the search criteria only partially. But there is a problem: The hierarchical query which uses the CONNECT BY and START WITH clause returns the same terms more than just once. Should I resolve this using DISTINCT or is there a more elegant way?
2. Another question: Is this structure in the above thread suitable for using multiple relationships (NT, BT, SYN, etc.)?
Thanks in advance,
Martin

Hi,
We have encountered these sorts of issues too.
200000 records isn't a lot; collecting stats should be possible.
Which version of Oracle are you on?
I'm going to investigate using dynamic sampling; the default sampling level in 10gR2 is 2, but I'm looking at using one of the higher levels (= sample more blocks, as I understand it).
Cheers,
Colin

Similar Messages

  • Refresh adf table and selection row

    Hi,
    I create web application. I have created entity Users from MySQL database and managed Bean. In this managed Bean (sessionScope) is method for connection to database and method for adding new row (data) in database. It works.
    I have 2 problems.
    The first.
    I have form for adding User and commandButton Add.
    How I can refresh (update) adf table after executing SQL command (in commandButton Add) ? Now I must reconnect session.
    The second problem:
    I want to show a panel with data from one row from adf table.
    How I can selection this row in popup ?
    My table:
    <af:table var="user" rowBandingInterval="0" id="t2"
                                                  inlineStyle="margin:20px 30px; width:578pt; height:160pt;"
                                                  value="#{userController.users}"
                                                  rows="15"
                                                  emptyText="#{bindings.UsersprototypView11.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                  fetchSize="#{bindings.UsersprototypView11.rangeSize}"
                                                  editingMode="clickToEdit" rowSelection="single"
                                                  selectedRowKeys="#{userController.selectedUser}"
                                                  selectionListener="#{userController.selectedUser}"> ---- Here I have problem.
                                            <af:column sortProperty="#{user.user_id}"
                                                       sortable="false"
                                                       headerText="ID"                            
                                                       id="c11" width="33">
                                                <af:commandLink id="ot34" text="#{user.user_id}">
                                                    <af:showPopupBehavior popupId="p4" triggerType="action"/>
                                                </af:commandLink>
                                            </af:column>
                                            <af:column sortProperty="#{user.firstname}"
                                                       sortable="false"
                                                       headerText="Firstname"
                                                       id="c20" width="111">
                                                <af:outputText value="#{user.firstname}" id="ot27"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.lastname}"
                                                       sortable="false"
                                                       headerText="Lastname"
                                                       id="c12">
                                                <af:outputText value="#{user.lastname}" id="ot31"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.address}"
                                                       sortable="false"
                                                       headerText="Address"
                                                       id="c9" width="95">
                                                <af:outputText value="#{user.address}" id="ot32"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.city}"
                                                       sortable="false"
                                                       headerText="#City"
                                                       id="c10" width="76">
                                                <af:outputText value="#{user.city}" id="ot33"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.username}"
                                                       sortable="false"
                                                       headerText="Username"
                                                       id="c7" width="102">
                                                <af:outputText value="#{user.username}" id="ot29"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.email}"
                                                       sortable="false"
                                                       headerText="E-mail"
                                                       id="c21" width="106">
                                                <af:outputText value="#{user.email}" id="ot28"/>
                                            </af:column>
                                            <af:column sortProperty="#{user.regdate}"
                                                       sortable="false"
                                                       headerText="Registration"
                                                       id="c8" width="108">
                                                <af:outputText value="#{user.regdate}" id="ot30">
                                                    <af:convertDateTime pattern="#{user.regdate}"/>
                                                </af:outputText>
                                            </af:column>
                                        </af:table>userController is name managed Bean.
    users is list of users.
    My panel window (popup):
    <af:popup childCreation="deferred" autoCancel="disabled" id="p4">
                                        <af:panelWindow id="pw9" title="Delete user">
                                            <af:panelFormLayout id="pfl6">
                                                <af:panelLabelAndMessage label="ID:"
                                                                         id="plam16">
                                                    <af:outputText value="#{userController.selectedUser.user_id}" id="ot50"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="Firstname:"
                                                                         id="plam17">
                                                    <af:outputText value="#{userController.selectedUser.firstname}" id="ot51"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="Lastname:"
                                                                         id="plam18">
                                                    <af:outputText value="#{userController.selectedUser.lastname}" id="ot52"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="Address:"
                                                                         id="plam19">
                                                    <af:outputText value="#{userController.selectedUser.address}" id="ot53"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="City:" id="plam20">
                                                    <af:outputText value="#{userController.selectedUser.city}" id="ot54"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="Username:"
                                                                         id="plam21">
                                                    <af:outputText value="#{userController.selectedUser.username}" id="ot55"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="E-mail:" id="plam22">
                                                    <af:outputText value="#{userController.selectedUser.email}" id="ot56"/>
                                                </af:panelLabelAndMessage>
                                                <af:panelLabelAndMessage label="Registration:"
                                                                         id="plam23">
                                                    <af:outputText value="#{userController.selectedUser.regdate}" id="ot57">
                                                        <af:convertDateTime pattern="#{userController.selectedUser.regdate}"/>
                                                    </af:outputText>
                                                </af:panelLabelAndMessage>
                                            </af:panelFormLayout>
                                            <af:commandButton text="Delete" id="cb18"
                                                              inlineStyle="width:80pt; margin:10px 0px 0px 0px;"/>
                                        </af:panelWindow>
                                    </af:popup>When I cut out row: selectionListener="#{userController.selectedUser}
    Popup (for deleting user) looks like this:
    http://imageshack.us/photo/my-images/404/popupc.jpg/
    I need to get the outputs from <af:outputText> in this popup.
    Thanks for help.
    Edited by: user9202624 on 26.2.2013 7:52

    thanks for answer.
    I added partialTriggers in af:table
    <af:table var="user" rowBandingInterval="0" id="t2"
                                                  inlineStyle="margin:20px 30px; width:578pt; height:160pt;"
                                                  value="#{userController.users}"
                                                  rows="15"
                                                  emptyText="#{bindings.UsersprototypView11.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                  fetchSize="#{bindings.UsersprototypView11.rangeSize}"
                                                  editingMode="clickToEdit" rowSelection="single"
                                                  selectedRowKeys="#{userController.selectedUser}"
                                                  partialTriggers="::t1" >What next ? What should I do next ? Sry, I'm newbie in adf and jDev.
    Edited by: user9202624 on 26.2.2013 8:55

  • Number of records are different in database table and select statement

    Hi All,
    i need to fetch data from table BSID for the customer 0010000145
    if i am writing the code like -
        SELECT bukrs kunnr umskz shkzg dmbtr zfbdt zbd1t kkber
               FROM bsid
               INTO TABLE it_bsid
               FOR ALL ENTRIES IN it_kna1
               WHERE kunnr = it_kna1-kunnr
               and bukrs = pa_bukrs.
    no. of records are 130 in the internal table it_bsid
    and actual records are 200
    but when i am hardcoding the customer no.
    i am getting the exact records
       SELECT bukrs kunnr umskz shkzg dmbtr zfbdt zbd1t kkber
              FROM bsid
              INTO TABLE it_bsid
              FOR ALL ENTRIES IN it_kna1
              WHERE bukrs = pa_bukrs
                AND kunnr = '0010000145'.
    records in internal table = records in the database = 200.
    how it is possible.
    why the first code is not giving the correct no. of records.
    please reply asap.
    thanks in advance,
    madhu

    Madhu,
    You need to use the conversion routine...before u pass KUNNUR.
    CONVERSION_EXIT_ALPHA_RANGE_I
    CONVERSION_EXIT_ALPHA_RANGE_O
    Hope this helps..
    Chandra.

  • "select * from table" and "select top 14260 from table" get nothing but select top 14259 get result successful

    select * from tablename                   ------always running,but get nothing
    select top 1 *  from tablename         -------get result quickly
    select top 2 *  from tablename         -------get result quickly
    select top 14259 * from tablename  --------get result quickly
    select top 14260 * from tablename  --------always running,but get nothing
    the thread is:
    java.net.SocketInputStream.socketRead0(Native Method)
    java.net.SocketInputStream.read(SocketInputStream.java:150)
    java.net.SocketInputStream.read(SocketInputStream.java:121)
    com.microsoft.sqlserver.jdbc.TDSChannel.read(IOBuffer.java:1782)
    com.microsoft.sqlserver.jdbc.TDSReader.readPacket(IOBuffer.java:4838)
       - 已锁定com.microsoft.sqlserver.jdbc.TDSReader@54269910
    com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:6150)
    com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:402)
    com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350)
    com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)
    com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)
       - 已锁定java.lang.Object@320b1499
    com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180)
    com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155)
    com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPreparedStatement.java:332)

    when I run the below sql of Uri Dimant,I get many rows,I think you are right!
    Do you have some method to handle this problem?
    Or do you have some information for me to Learn?
    Thanks a lot.
    SELECT
    owt.session_id AS waiting_session_id,
        owt.blocking_session_id,
    DB_NAME(tls.resource_database_id) AS database_name,
        (SELECT SUBSTRING(est.[text], ers.statement_start_offset/2
    + 1,
    (CASE WHEN ers.statement_end_offset = -1
    THEN LEN(CONVERT(nvarchar(max), est.[text])) * 2
    ELSE ers.statement_end_offset
    END
    - ers.statement_start_offset
    ) / 2)
    FROM sys.dm_exec_sql_text(ers.[sql_handle]) AS est) AS waiting_query_text,
    CASE WHEN owt.blocking_session_id > 0 
    THEN (
    SELECT
    est.[text] FROM sys.sysprocesses AS sp
    CROSS APPLY sys.dm_exec_sql_text(sp.[sql_handle]) as est
    WHERE sp.spid = owt.blocking_session_id)
    ELSE
    NULL
    END AS blocking_query_text,
        (CASE tls.resource_type
    WHEN 'OBJECT' THEN OBJECT_NAME(tls.resource_associated_entity_id, tls.resource_database_id)
    WHEN 'DATABASE' THEN DB_NAME(tls.resource_database_id)
    ELSE (SELECT  OBJECT_NAME(pat.[object_id], tls.resource_database_id)
    FROM sys.partitions pat WHERE pat.hobt_id = tls.resource_associated_entity_id)
    END
    ) AS object_name,
    owt.wait_duration_ms,
    owt.waiting_task_address,
    owt.wait_type,
    tls.resource_associated_entity_id,
    tls.resource_description AS local_resource_description,
    tls.resource_type,
    tls.request_mode,
    tls.request_type,
    tls.request_session_id,
    owt.resource_description AS blocking_resource_description,
    qp.query_plan AS waiting_query_plan
    FROM sys.dm_tran_locks AS tls
    INNER JOIN sys.dm_os_waiting_tasks owt ON tls.lock_owner_address = owt.resource_address
    INNER JOIN sys.dm_exec_requests ers ON tls.request_request_id = ers.request_id
    AND owt.session_id = ers.session_id
    OUTER APPLY sys.dm_exec_query_plan(ers.[plan_handle]) AS qp
    GO

  • Advanced Cross tab table and selecting values

    Hi,
    Have a question on advanced tables again.
    I have a cross tab table...
    ACCT Val1 Val2 Val3
    1234 1 2 3
    Query fires ok and returns values, however, I am trying to retrieve the value in the CO (or AM - it doesn't seem to work eitherplace) to do some manipulation. So far there is only one row in the table, but I cannot seem to retrieve the value. For example I update val1 to 210 and save. I want to get the value and round it down to 200. I am using the following code
    OAAdvancedTableBean tableBean = (OAAdvancedTableBean)webBean.findIndexedChildRecursive("BudgetRN");
    OAMessageStyledTextBean augBean = (OAMessageStyledTextBean)tableBean.getgetAttributeValue("Val1");
    String strl = (String)augBean.VALUE;
    but i end up with a cast exception on the second line where i grab val1.
    Any ideas once again appreciated!

    u will get the class cast exception... because... u said that u r updating the Val1 field... if it is updatable...... then it should be messageTextInputBean... not messageStyleTextBean....
    Secondly dont use augBean.VALUE.... use augBean.getvalue().... something should be there....

  • Updating Physical Cube Tables and Hierarchies OBIEE 11.1.1.7

    OBIEE 11.1.1.7
    I have imported a MSAS Cube, modeled it and created a presentation layer. I now have some new hierarchies I need to add to the phyicial layer.
    How do you import new Cube Tables and/or Hierarchies?
    When I select the Import option it creates a new OLAP database and connection pool, I am unable to successfully move those changes into the existing OLAP Connection.
    I have been through the documentation and it reccomends importing over a manual process. However I am unable to figure out how to do this with the import process.
    Oracle® Fusion Middleware Metadata Repository Builder's Guide for Oracle Business Intelligence Enterprise Edition
    11g Release 1 (11.1.1) Part Number E10540-05
    Chapter 8 Working with Physical Tables, Cubes, and Joins
    There is a section called Working with Multidimensional Sources in the Physical Layer, in this section is says
    "Each multidimensional catalog in the data source can contain multiple physical cubes. You can import the metadata for one or more of these cubes into your Oracle BI repository. Although it is possible to create a cube table manually, it is recommended that you import metadata for cube tables and their components"
    The New Utilities feature(s) is really cool, but it doesn't work for OLAP connections. 
    Any help is greatly appreciated.

    Hi Michael,
    it works, but its a bit tricky. I did it with Oracle OLAP and I think it must be similar with other OLAP Databases.
    Rename your existing Database in Physical Layer to the name Metadata Import dialog would create. With Oracle OLAP the "Data Source Name" ist used. Just try it once.
    Unfortunately you can not merge dimensions and cubes as it is with relational Objects . So you have to delete the cube and dimensions you will import from you renamed Database in Physical Layer. Of course the mapping between physical and business model will be lost
    Now you can import your modified OLAP-Cubes and Dimensions and it should be placed in your renamed Database in Physical Layer
    Open the sources of your logical tables in business model and add the Dimensions or Cubes in the "General" Tab. Move to the Tab "Column Mapping" and check if mapping is OK. If not (this will be the case, if you customized the column names), you have to do the mapping from the scratch .
    I recommend to use the original names from the data source. If you need another name for a column, just create a new logical column and use "Derive from existing columns". Now you can reimport OLAP Metadate quicker because the Mapping is done automatically.
    Hope this helps
    Regards Claus

  • SSMS is not listing table and views objects though the objects are listed when I execute TSql string "SELECT * FROM sys.Tables"

    I have a db, call it xyz.mdb
    It suddenly is that SSMS is not listing the table objects nor the Views.  SELECT * FROM sys.Tables and SELECT * FROM sys.Views work very fine.  But when I click on the tables node, on Objects Explorer, Only the Systems Tables and File Tables folders
    show. 
    Other DBs on same SQL instance do not show same problem.  They are all working very fine.
    I have backed up and restored this db on other computers and the behaviour is the same.  Incidentally right-clicking the db and clicking Properties throws up this error message.
    -------------------------------------------------------------------------Error!
    Cannot show requested dialog.
    Property Size is not available for Database '[Pliny E DB - NOA 2014]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights.  (Microsoft.SqlServer.Smo)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.3000.0+((SQL11_PCU_Main).121019-1325+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID=Size&LinkId=20476
    --------------------------------------------------------------------------------End>
    When I try to Refrresh the Tables node on Object Explorer, I get this other:
    ------------------------------Error!
    SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0x9090d9b7; actual: 0x909001b4). It occurred during a read of page (1:1173) in database ID 21 at offset 0x0000000092a000 in file 'c:\Databases\Clients\NOA\Pliny E DB -
    NOA 2014.mdf'.  Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check
    (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online. (Microsoft SQL Server, Error: 824)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=824&LinkId=20476
    ------------------------------End>
    The Help link of course is not valid any more.
    Many thanks
    Vie
    @Abuja
    Vie

    Your database is corrupted and you need to run.
    DBCC CHECKDB
    You already have a backup so do it...
    This link will provide you with more information:
    http://msdn.microsoft.com/en-us/library/ms176064.aspx

  • How to disable a single cell in a table (and not the whole column)

    Hi there,
    I've got a webdynpro table with a few columns, rows can be created dynamically through a button in the table toolbar.
    Depending on the value of a certain cell I have to disable another cell (in the same row).
    I tried to manipulate the view in the modifyview but no joy. I also tried to manipulate the attribute property through the coding below:
      DATA lv_knttp TYPE knttp.
      lo_nd_kostl = wd_context->path_get_node( path = `MULTIVALUES.KOSTL` ).
      lo_el_kostl = lo_nd_kostl->get_element( ).
      lo_el_kostl->set_attribute_property(
      attribute_name = 'LTEXT'
              property       = lo_el_kostl->e_property-enabled
              value          = ''
    but it disables the whole column!!!! I just need the cell to be disabled (I thought the code above, through the lead selection, would affect a certain cell only - but I was wrong).
    Any ideas?
    Thanks!!!

    Hi,
    using cell variants you can do this.,
    check this article: [Cell Variants in WDA|http://wiki.sdn.sap.com/wiki/display/WDABAP/WebDynproforABAPCellVariants]
    Instead of binding the read only property of table as a whole , just bind the read only property of column group of table., You can do this bu drill down the table and select the required column and bind the read only column.,
    then In onAction Event of button .,
    loop the table, if condition satisfied set the read only property to true else false.,!!
    hope this helps u.,
    Thanks & regards,
    Kiran

  • Diff b/w select single * .... and select....up to 1 row

    Hi Abapers,
    What is the diff b/w Select single * from.... and select * ...up to 1 row.
    Thanks in advance.
    Subbu.

    Select SINGLE...
    SINGLE
    The result of the selection should be a single entry. If it is not possible to identify a unique entry, the system uses the first line of the selection. If you use the FOR UPDATE addition, the selected entry is protected against parallel updates from other transactions until the next database commit (see LUW and database lock mechanism). If the database system identifies a deadlock, a runtime error occurs.
    ... UP TO n ROWS
    Effect
    The set of results is restricted to a maximum of nrows.
    Example
    To output a list of the 3 business customers with the greatest discount:
    DATA WA_SCUSTOM TYPE SCUSTOM.
    SELECT * FROM SCUSTOM INTO WA_SCUSTOM UP TO 3 ROWS
             WHERE CUSTTYPE = 'B'
             ORDER BY DISCOUNT DESCENDING.
      WRITE: / WA_SCUSTOM-ID, WA_SCUSTOM-NAME, WA_SCUSTOM-DISCOUNT.
    ENDSELECT.
    Notes
    If you use an UP TO n ROWS addition in an ORDER-BY clause , the lines read are sorted into the correct order. The first n lines are then displayed. The system may need to read more than n lines from the database to be able to do this.
    If n = 0, all selected lines are displayed.
    n < 0 results in a runtime error.
    <b>Knowing when to use SELECT SINGLE or SELECT ... UP TO 1 ROWS</b>
    A lot of people use the SELECT SINGLE statement to check for the existence of a value in a database. Other people prefer to use the 'UP TO 1 ROWS' variant of the SELECT statement.
    <b>So what's the difference between using 'SELECT SINGLE' statement as against a 'SELECT .... UP TO 1 ROWS' statement ?</b>
    If you're considering the statements
    SELECT SINGLE field INTO w_field FROM table.
    and
    SELECT field INTO w_field FROM table UP TO 1 ROWS. ENDSELECT.
    then looking at the result, not much apart from the extra ENDSELECT statement. Look at the run time and memory usage and they may be worlds apart.
    Why is this ?? The answer is simple.
    The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique.
    The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set.
    Get the difference ??
    If not, here is a good example, credit for this example goes to Richard Harper, a friend of mine on sapfans.com :
    Create a Ztable called ZDifference with 2 fields in it, MANDT of type MANDT and POSNR of type POSNR. Make sure both of these are keys. Also create a table maintenance dialog for it (SE11->Utilities->Table Maintenance Generator). Fill the table with ten rows 000001-000010.
    Then run the program shown below:
    Report Z_Difference
           Message-id 38
           Line-Size  80
           Line-Count 0
           No Standard Page Heading.
    Start-Of-Selection.
      Data: w_Single type Posnr,
            t_Rows   type standard table of Posnr
                     initial size 0
                     with header line.
      Select single Posnr
        from zDifference
        into w_Single.
      Select Posnr
        into table t_Rows
        from zDifference
       up to 1 rows
       order by Posnr descending.
       Write :/ 'Select single:', w_Single.
       Skip 1.
       Write :/ 'Up to 1 rows :'.
       Loop at t_Rows.
            Write t_Rows.
       EndLoop.
    You should see the output:
    Select single: 000001
    Up to 1 rows : 000010
    The first 'SELECT' statement selected the first record in the database according to any selection criterion in the 'WHERE' clause. This is what a 'SELECT SINGLE' does. The second 'SELECT' has asked the database to reverse the order of the records before returning the first row of the result.
    In order to be able to do this the database has read the entire table, sort it and then return the first record. If there was no ORDER BY clause then the results would have been identical (ie both '000001') but the second select if given a big enough table to look at would be far slower.
    Note that this causes a problem in the Extended Program Check if the full key is not specified in a 'SELECT SINGLE'. Replacing the 'SELECT SINGLE' by an "UP TO 1 ROWS" will give the same exact results without any warning but the program will run slower and consume more memory. This is a good example of a warning that we should ignore... considering you are sure of what you are doing !!
    Message was edited by:
            Judith Jessie Selvi

  • Browsing and selecting through database link to fill in a form item

    Hi
    I have created a database link named in my application
    dblink_3
    I have a form and report in my application. On the from I have an item called P6_USER_ for which I would like to access a table (trk_user) through the database link I created so that I can fill in the text field or select list with a user from the table.
    can I browse by a select list somehow? or do I need to create a button that takes me to a report with a list of the data in the table and select that way.
    Please steer me in the right direction,
    Thanks,
    Kirk

    Hi Kirk,
    The fact that the data is on an external table shouldn't make any difference. You can do:
    SELECT field1 d, field2 r FROM trk_user@dblink_3 ORDER BY 1
    and that will give you your select list

  • CF DSN 'loses track' of tables and views

    ... but only in one database and only at a certain time (around 8am). We have a manual solution, Open the DSN and switch the server name to Network alias or vice versa and save - but why does this work? Ae we refreshing the connection pool? I've increased the connection pool from 100 - 200, decreased the timeout to 10 minutess and checking to 3 minutes and, t.urned off autogenerate keys        We've completed SQL traces, CF DSN logs, and tested different DNS entries, nothing notable yet.
    We checked with networking folks, they are not backing up at this time... anyone have something we haven't tried or should have tried a different way or can suggest a way to test to pinpoint the problem?
    Our infrastructure is WinServ 2008 w/ SQL2008r2 and a Winserv2008 and CF9 (it doesn't look like we have the right version to use cold fusion monitor)
    Thanks in advance,
    Chris

    Fast answer: Whatever causes this error, the resolution was to change the ColdFusion DSN (CFDSN) to an IP address instead of Server name or Server Alias.
    Details: The first occurrence of the error is March 15th, 8:28 AM (It is probably worth asking network folk if anything changed around this time). From this point, the error started everyday between 8 and 8:05AM and would seemingly randomly continue until the CFDSN was refreshed by changing Server name to Server Alias or vice versa (we had not tested IP address at this point). The first error (yes the table does exist):
    "Error","jrpp-2175","03/15/11","08:28:59","wxxx","Error Executing Database Query.[Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'Cxxxxxl'. The specific sequence of files included or processed is: C:\xxxxx.cfm, line: 302 " coldfusion.tagext.sql.QueryTag$DatabaseQueryException: Error Executing Database Query.
    Research: In the URL’s below most center around bad caches of DNS. The one suggestion of refreshed tables and Select * statements, seems feasible, but wasn’t supported by any other articles and I could not find any Select all statements on the website… but if this is purely a DNS caching issue, why didn’t the other testing CFDSN’s cause errors? Is the DNS cache specific to a CFDSN?
    Testing: I set up three DSN’s to match the only DSN failing, JGData. The only difference being Server name, Server Alias and IP were the sources in the test CFDSN’s. I set up test.cfm to cycle through the CFDSN’s with cftry/catch so we could record any errors every 5 minutes…. But no errors.  I added the live CFDSN, JGData, and we started picking up failures which is how we pinpointed the 8-8:05 window.
    From there it was just trying different permutations till one stuck. If time allowed and the work around was somehow problematic, I’d want to figure out how to replicate the error then experiment with different permutations (Would ODBC Socket eliminate the problem, the Java solution provided in couple of the articles below, etc). FWIW, I wouldn’t rule out some kind of anomaly with our virtual environment just b/c I know so little about it.
    N E Way. It’s fixed and brain dumped. Marching on.
    Researched posts/articles/blogs
    http://forums.adobe.com/message/3396333 - points a finger at DSN configuration.
    http://forums.adobe.com/message/3109318 Points a finger at incorrectly created DNS entries on the Server
    http://forums.adobe.com/message/3622433 – possible ‘refreshed’ tables could be causing the problem.
    http://tjordahl.blogspot.com/2004/10/cfmx-and-dns-caching.html points a finger at using cfhttp and its use of stored DNS cache – in theory, if we specify IP address this shouldn’t happen.
    http://russ.michaels.me.uk/index.cfm/2010/4/16/Fix-the-DNS-caching-in-ColdFusion  - similar article about DNS caching and potential problems.

  • SSAS Cube Hierarchy Default Member, not aggregatable in pivot table multi select, Urgent

    Hi All,
    I have one problem in my project ssas cube. one of the dimension hierarchy, a value has been set up as default member in calculation tab.
    The problem is:
    When i filter (select multiple) this defaulted value and other value in excel pivot, it is always showing default member value instead of selected members aggregated value. if i remove default member it is working fine. Can you please provide work around
    for this.
    Please note that, if select multiple values within that hierarchy (this time not selected default value), aggregation is working fine.
    Thanks, Rajendra

    Hi Hirmando,
    According to your description, the default member cause incorrect data when dragging a attribute that contain a default member to the FILTERS area, right?
    I can reproduce this issue on my environment, when dropping this dimension in the filter area of my pivot table and select multiple members including the default member then only data for the default member is shown. Currently, it's hard to say the root
    reason that cause this issue. In order to narrow down this issue, please apply the latest server pack and cumulative update.
    Besides, you can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback So that microsoft will confirm if this is a know issue.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Visual aids on tables and divs

    It seem in dreamweaver cs6, my divs and tables had little dotted outlines around them, so i can see where they were. In CC those have vanished and there is a blue outline when I click on them. I found the doted outlines a great visual design aid, how do i get them back.

    I am a newbie, and am teaching myself how to create html e-mail. I, too cannot see table outlines. CSS is not an option for my application.
    I have a split view, code on the bottom and "site" on the top.
    I clicked insert > table and selected 1 row, one column, width 98%, thickness 0, padding 0, spacing 0, header none.
    Then, within that table I did the same thing but this time with 4 rows for the parts of the e-mail: planning header, content 1, content 2, footer
    I could not see table borders, so I read that you can make the borders 1 instead of 0 for the creation, and then go back and reset to 0 once done -- note this is live view.
    In follow on with this thread, I would prefer to see the outlines in design view -- the expanded table view I've seen discussed. But when I switch to design view, there is no table, even with the cursor placed within the table in the code:
    Pffffft - nothing's there. In either view, if I go to modify > table in either view, all the options are greyed out. And, if I right click I get a standard context menu with cut, copy, paste, etc.
    This is Dreamweaver 2014.1 -- what am I missing?

  • What is qualifier table and where exactly we will use that

    Hi experts,
      I have one query regarding qualifier table. where exactly we use qualifier table. can u give me any realtime situation where we use qualifier table.
    Regards
    Ravikumar

    Hi Ravikumar,
    A qualified table is a special kind of lookup table. It can be used to efficiently store complex relationships between a main table record and one or more lookup table records that contain various types of additional information.
    Go Through Important Links
    /people/pooja.khandelwal2/blog/2006/03/29/taming-the-animal--qualified-tables
    /people/community.user/blog/2006/12/20/so-is-that-the-qualifier-or-the-non-qualifier
    A qualified table stores a set of lookup records, and also supports qualifiers, database u201Csubfieldsu201D that apply not to the qualified table record by itself, but rather to each association of a qualified table record with a main table record.
    Qualified lookup tables are used to store the values of Two types of fields Qualifiers and non Qualifiers.
    Qualifiers are the fields whoes values changes based on the values of other fields called Non Qualifiers.And are associated with the main Table Records.
    Non Qualifiers are only part of Qualified lookup Tables.
    In Data Manager QualifiedLookUp Tables appear in the lower right Part.
    For example in your main table supoose you have an Employee Repository that maintains employee information (Name,Telephone,Address etc).One employee can have sitting arrangement on different office locations.
    Then if Location is your main table field in that case for 10 places you have to make 10 seperate entries of One Employee name with different locations,that will unnecessarily increase the records of your main table and also duplicate for Employee name field as well.
    To resolve this make a look up field location in main table for qualified lookUp Table Locations.
    In Locations table create a Non Qualifier field OfficeADD(lookup flat )for Officelocation table .
    And create two more fields DeskNo. and Telephone No.(both as qualifiers)for every location the desk no. and telephone no. will be different.
    In Officelocation table has one field Name which contains address of diffrent locations.
    Now according to the Qualifier and Non Qualifier concept
    In main table for an Employee say Ravindra you can go qualifiedLookUp table and select a value for OfficeADD(a non qualifier) and set valus for Desk no. and telephone no.(Qualifiers) as well.
    Reward if Helpful.
    Vinay Yadav
    Edited by: Vinay Yadav on Jun 23, 2008 12:54 PM
    Edited by: Vinay Yadav on Jun 23, 2008 12:58 PM

  • Diff between custom table and cutomized table

    hi,
    can any one let me know the terms custom table and customized table is same or is there any difference in between these two.
    in case of any difference please let me know.
    regards

    hi,
    Customizing table is
    a very SPECIAL MASTER TABLE
    where VERY IMPORTANT RECORDS
    are maintained.
    2. Such records, affect calculations / flow / logic etc .
    3. Important thing about customizing table,
    is that it will ask for REQUEST NUMBER,
    whenever we try to add / modify any record in it.

Maybe you are looking for

  • I miss my calendar list of events!! How can I get my list back?

    Really? Why did they do away with that? Now the search button is really a search button. I relied on the list to see my week at a glance. Now, I only see one day at the bottom and it's hard to see. Help!

  • BPM 11g Attachment

    Hello there, I was wondering if there was a way to configure maximum file size that is allowed as an attachment to BPM 11g process. We are building a process and we need to attach document as big as 50MB, but it seems like default limit on file size

  • Editing the idvd map

    Pls can someone tell me how to edit my map view? I have a project with 9 different slideshows and short movies, and want to create another layer as I have too many items on the opening screen - I can't work out how to do it. Are you meant to be able

  • HT1657 Can I get a refund for rented movies I didn't get to watch?

    Can I get a refund for rented movies I didn't get to watch?

  • ICloud error "Maximum number of accounts activated on this device

    I keep getting the error "Maximum Number of acounts activated on this device whenever i enter my apple id and password in the iCloud option. Please help me..