Querying with only the specified data

Hello All,
I want the following to be happened in a form.
1. Query the form
2. Get the data for the specified value
Can i do this programmatically!?
could any one of you help me in this.
Thank you,
Amarnadh Js

You can try this code:
SET_BLOCK_PROPERTY('RISO_CUST_PO_REQ',default_where,'CUSTOMER_NUMBER= '||:RISO_CUST_PO_REQ.CUSTOMER_NUMBER||' and SITE_USE_ID= '||:RISO_CUST_PO_REQ.SITE_USE_ID||');To check if your default_where is correct, assign it to a varchar2 variable and then display it.
Here is an example:
declare
my_default_where varchar2(32000) := null;
begin
my_default_where := 'CUSTOMER_NUMBER= '||:RISO_CUST_PO_REQ.CUSTOMER_NUMBER||' and SITE_USE_ID= '||:RISO_CUST_PO_REQ.SITE_USE_ID||';
message('my_default_where value is '||my_default_where);
message(' ',no_acknowledge);
SET_BLOCK_PROPERTY('RISO_CUST_PO_REQ',default_where,'CUSTOMER_NUMBER= '||:RISO_CUST_PO_REQ.CUSTOMER_NUMBER||' and SITE_USE_ID= '||:RISO_CUST_PO_REQ.SITE_USE_ID||');
go_block('RISO_CUST_PO_REQ');
execute_query;
SET_BLOCK_PROPERTY('RISO_CUST_PO_REQ',default_where,' '); -- this is to reset where condition of your block
end;Hope it helps you,
Fabrizio
If this answer is helpful or correct, please mark it. Thanks.

Similar Messages

  • Terminated with error: br REP-501: Unable to connect to the specified data

    Dear All,
    Oracle DB 10g installed on Windows 2003 Server machine and client is Windows 7 Pro. Forms are running fine. If I run report by puting everything in URL it is also giving result. But only when i am trying to call report via form I get an error REP-501: Unable to connect to the specified data. The report log file contains below result. Is this something to to AUTHID=ANONYMOUS??? I need your assistance in this regard as I have been facing this problem since quite a long time now.
    [2011/10/22 3:55:55:34] Info 56013 (ConnectionManager:release): Connection 0 is released
    [2011/10/22 3:55:55:34] Info 50132 (JobObject:reset): jobid = 72 Get command line: REPORT=E:\AuditSys\twoconsecutive_estimate.jsp USERID=AUDITSYS@customerdb P_USERID="MAJAN" P_REPORTNAME="Bills which have been estimated for 3 months consecutively" P_REGIONCODE="" P_TARIFF="" P_PRIGOV="" P_AREAFROM="2" P_AREATO="91" P_BILLMONTH="9" P_BILLYEAR="2011" P_MONTHS="3" BATCH=YES DESTYPE=cache DESFORMAT=HTML AUTHID=ANONYMOUS
    [2011/10/22 3:55:55:34] Debug 50103 (ConnectionImpl:runJob): Job queue for jobid = 72 is 0
    [2011/10/22 3:55:55:34] Debug 50103 (ConnectionImpl:runJob): jobid = 72 is in current queue
    [2011/10/22 3:55:55:34] Debug 50103 (ConnectionImpl:runJob): Calling findDuplicatedJob for jobid = 72
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager:findDuplicatedJob): Found no duplicated job for job 72
    [2011/10/22 3:55:55:34] Debug 50103 (ConnectionImpl:runJob): No Duplicate jobs for jobid = 72
    [2011/10/22 3:55:55:34] Debug 50103 (ConnectionImpl:runJob): Job 72 is Enqueued
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager:firstToRun): job 72 is first to run
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager.runJobLocal): Trying to get engine for Job 72
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:getIdleEngine): Target max engines = 1
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:getIdleEngine): rwEng-0 is used = true
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:getIdleEngine): rwEng-0 state is 1
    [2011/10/22 3:55:55:34] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Reserved
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager.runJobLocal): Job 72 got Engine rwEng-0
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager:runJobInEngine): Job 72 calling setCommand on engine rwEng-0
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 3
    [2011/10/22 3:55:55:34] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 5
    [2011/10/22 3:55:55:34] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Idle
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager:runJobInEngine): Send job 72 to engine rwEng-0
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 3
    [2011/10/22 3:55:55:34] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running
    [2011/10/22 3:55:55:96] State 56016 (JobManager:updateJobStatus): Job 72 status is: Terminated with error:
    REP-501: Unable to connect to the specified database.
    [2011/10/22 3:55:55:96] Debug 50103 (JobManager:notifyWaitingJobs): Master job 72 notify its duplicated jobs.
    [2011/10/22 3:55:55:96] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 72
    [2011/10/22 3:55:55:96] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 1
    [2011/10/22 3:55:55:96] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Ready
    [2011/10/22 3:55:55:96] Exception 501 (): Unable to connect to the specified database.
    Thanks,
    Zia

    Dear guys, it is quite an urgency here and I am not getting any clue from anywhere else .... please give me some tips to handle the issue if anybody has some...
    Regards,

  • How to use Add Query Criteria for the MySQL data Base in Netbeans ?

    How to use Add Query Criteria for the MySQL data Base in Netbeans Visual web pack.
    When the Query Criteria is add like
    SELECT ALL counselors.counselors_id, counselors.first_name, counselors.telephone,counselors.email
    FROM counselors WHERE counselors.counselors_id = ?
    when i run this Query in the Query Window
    i get a error message Box saying
    Query Processing Error Parameter metadata not available for the given statement
    if i run the Query with out Query Criteria its working fine.

    *I am glad I am not the only one who have this problem. Part of issue has been described as above, there are something more in my case.
    Whenever I try to call ****_tabRowSet.setObject(1, userDropList.getSeleted()); I got error message as shown below:*
    The Java codes are:
    public void dropDown1_processValueChange(ValueChangeEvent event) {
    Object s = this.dropDown1.getSelected();
    try {
    this.User_tabDataProvider1.setCursorRow(this.User_tabDataProvider1.findFirst("User_Tab.User_ID", s));
    this.getSessionBean1().getTrip_tabRowSet1().setObject(1, s);
    this.Trip_tabDataProvider1.refresh();
    } catch (Exception e) {
    this.log("Error: ", e);
    this.error("Error: Cannot select user"+e.getMessage());
    SQL statement for Trip_tabRowSet:
    SELECT ALL Trip_Tab.Trip_Date,
    Trip_Tab.User_ID,
    Trip_Tab.Destination
    FROM Trip_Tab
    WHERE Trip_Tab.User_ID = ?
    Error messages are shown below:
    phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@5abf3f) threw exception: com.sun.rave.web.ui.appbase.ApplicationException: java.sql.SQLException: No value specified for parameter 1 java.sql.SQLException: No value specified for parameter 1
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:559)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.afterPhase(ViewHandlerImpl.java:435)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:274)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    tandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    java.sql.SQLException: No value specified for parameter 1
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
    at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:1674)
    at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:1622)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1332)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:193)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:979)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1439)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1274)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:335)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:306)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(CachedRowSetDataProvider.java:639)
    at com.sun.webui.jsf.component.TableRowGroup.getRowKeys(TableRowGroup.java:1236)
    at com.sun.webui.jsf.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:820)
    at com.sun.webui.jsf.component.TableRowGroup.getRowCount(TableRowGroup.java:1179)
    at com.sun.webui.jsf.component.Table.getRowCount(Table.java:831)
    at com.sun.webui.jsf.renderkit.html.TableRenderer.renderTitle(TableRenderer.java:420)
    at com.sun.webui.jsf.renderkit.html.TableRenderer.encodeBegin(TableRenderer.java:143)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
    at com.sun.webui.jsf.component.Table.encodeBegin(Table.java:1280)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:881)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Also when I tried to update my MYSQL connector / J driver to version 5.1.5 from 5.0.5 (NB 5.5.1) and 5.0.7 (NB 6.1), I could not get it work (looooong time to search some JDBC classes and with no response in the end) on both of my Netbean 5.5.1(on PC) and Netbean 6.1(on laptop) IDEs.
    Could anybody look into this issue.
    Many thanks
    Edited by: linqing on Nov 22, 2007 4:48 AM

  • Can I store only the aggregate data in OLAP cube

    Hi All,
    I know that the OLAP cubes store the leaf data and then builds the aggregate data on top of it and stores with in it. I have huge amounts of data ( like billions of data in my fact table and 6-8 dimension tables). If you keep the leaf data along with the agg data with in the cube would be too large to build.
    So I am thinking to have to store only the agg data within the OLAP cube and for the leaf data it should still read from the Relational tables. Something like Hybrid OLAP.
    (what I mean is
    1. create the dimensions and cube in the AWM on 11g.
    2. I will also specifiy the levels that I want the agg data to be calculated and stored in the OLAP cube.
    (what I want is
    1. I want to store only the agg data in the cube and leaf data still in the relatlional tables.
    2. when I read the cube and drill down to the leaf level , it should fetch the leaf level data.
    Is this possible in Oracle OLAP, if yes please provide some pointers
    Thanks
    S

    First you should try out storing and aggregating data to atleast see if the cube-loading time, query-time and AW-size is within acceptable limit or not. 11gOLAP especially 11gR2 OLAP is very efficient on all three fronts.
    Regarding specifying levels, you can either use Cost-based-aggregation and pick the %age that should be pre-aggregated OR you can use Level-based-aggregation and pick the levels from each dimension that should be pre-aggregated.
    Try these out before venturing into anything else. You will be surprised by the results. There are other ways to store the data in smaller multiple-cubes and joining those cubes through formulas. Make sure you don't mistake an attribute for a dimension.
    Not sure what you mean by just storing aggregated data in olap cubes. You can just do a SUM .. GROUP BY .. of relational data before loading it into olap cubes. For example, if you source data is at DAY level, you can SUM.. GROUP BY .. at MONTH-level and then load month-level data into olap cubes where leaf-level is month-level.
    The sql view (used by reporting tools) could then be a join between month-level "olap" data and "day-level" relational data. When you are drilling-down on the data, the sql view will pick up data from appropriate place.
    One more thing. Drill-Thru to detail data is a functionality of reporting tools also. If you are using OBIEE or Discoverer Plus OLAP, then you can design the reports in a way that after you reach the olap leaf-level, then it will take the user to a relational detail-report.
    These are all just quick suggestions (on a Friday evening). If possible, you should get Oracle OLAP Consulting Group help, who can come up with good design for all your reporting needs.

  • Daqmx error num: -50103 with message: The specified resource is reserved. The operation could not be completed as specified.

    Hi, I am running a program where I have 4 nidaq cards on a single machine, all connected. I am trying to start a counter and keep getting that error (daqmx error num: -50103 with message: The specified resource is reserved. The operation could not be completed as specified.) in two places in my code. I understand what the error means (you can only have one task of a type per card), but I don't see where that is occuring in my code.
    See below for code. I noted the two places where the error is occuring. I am debugging someone else's code, which is part of the problem.
    Thanks!
    counterTask = 0;
    daq_err_check( DAQmxCreateTask( "counter_generation_task",
    &(counter_generation_task) ));
    daq_err_check( DAQmxCreateTask("counter_count_task",
    &(counter_count_task) ));
    char co_chan_name[40];
    char ci_chan_name[40];
    char ci_trig_chan_name[40];
    sprintf( co_chan_name, "%s/ctr0", niDev);
    sprintf( ci_chan_name, "%s/ctr1", niDev);
    sprintf( ci_trig_chan_name, "/%s/PFI9", niDev);
    printf("OK1");fflush(stdout);
    daq_err_check( DAQmxCreateCOPulseChanTicks( counter_generation_task,
    co_chan_name, "", "ai/SampleClock",
    DAQmx_Val_Low, 32,16,16) );
    daq_err_check( DAQmxCfgImplicitTiming( counter_generation_task,
    DAQmx_Val_ContSamps, 1000) );
    daq_err_check( DAQmxCreateCICountEdgesChan( counter_count_task,
    ci_chan_name, "",
    DAQmx_Val_Rising, 0, DAQmx_Val_CountUp) );
    daq_err_check( DAQmxCfgSampClkTiming( counter_count_task,
    "Ctr0InternalOutput", 1000.0, DAQmx_Val_Rising,
    DAQmx_Val_ContSamps, 1000) );
    daq_err_check( DAQmxSetRefClkSrc( counter_generation_task, "OnboardClock") );
    daq_err_check( DAQmxSetRefClkSrc( counter_count_task, "OnboardClock") );
    printf("abt to start counter_count\n"); fflush(stdout);
    daq_err_check ( DAQmxStartTask( counter_count_task ) ); // ERROR OCCURS HERE
    printf("abt to start counter_gen\n"); fflush(stdout);
    daq_err_check ( DAQmxStartTask( counter_generation_task ) ); // ERROR OCCURS HERE
    fflush(stdout);
    Thanks again for your patience!

    I get it when capturing from my mini DV cam (which is not controllable by FCP). To resolve, I have to click Capture Now a split second after I start the DV tape rolling.

  • The specified data format is not available when I paste

    When I try to copy a jpg image from Firefox21 and try to paste into a graphic software program,
    I get a message:
    "the specified date format is not available"
    It works ok with text,
    It also works fine in IE8, which I prefer not to use anymore.
    I use WinXP Pro 3
    any ideas???

    I assume you are using right-click > Copy Image ?
    Does this problem occur with all images or is it limited to particular sites?
    If you try Save Image As instead, and then open the image, is it a valid image file?

  • Sql query to indetify the identical data

    Hi
    I would like to know the query to identify the identical data in same table.
    Example: I have table called 'AA" having same data for load_ctry i.e. 'MY' and 'HK' ,I need sql query to indetify the identical data for above countries in that table.
    Thanks
    MR

    Hi,
    Table called "AA" with columns col1,col2,col3,load_ctry with following sample date
    col1 col2 col3 load_ctry
    3 bg xx TH
    4 op xc TH
    3 bg xx MY
    4 op xc MY
    3 vb nb MY
    When query ,if data is identical for both countries ,no data to fecth or data identical .If data is differ ,it will return the mismatching data becuase we are using same table for both countries .
    Thanks
    MR

  • Exporting slideshows results in file with only the first picture then a blank white screen with music. Apple bug or am I missing the obvious?

    When I export slideshows the result is a file with only the first picture then a blank white screen with music. Apple bug or am I missing the obvious?

    Usually when the phone shows just the white Apple logo, it indicates an issue with the system software that prevents the phone from finishing it's boot sequence. When this happens, you will need to restore the phone, which removes all data and replaces the system software with a fresh set.
    Since the phone is not seen in iTunes when it's in this state, you will have to put it into DFU mode for iTunes to see it.
    To put the phone in DFU mode:
    - make sure the phone is connected to a computer with the current version of iTunes on it.
    - hold the sleep/wake button and the home button simultaneously for 8 seconds.
    - let go of the sleep/wake button and continue pressing the home button. The iTunes screen will show a short progress bar then show a dialog box stating that an iPod was detected that is in recovery mode.
    -click OK
    -click the Restore button in the middle of the iTunes page
    After the restore the phone should be back up and running and you can sync your data back.

  • Propogating Only the required data to destinition

    We are planning to use replication using streams.
    We have following scenario
    'Site M' is a master site
    'Site A' and 'Site B' are the secondary sites.
    The updations on 'Site M' are to be propogated to site A/Site B.
    Only the records which are ment for site A should be
    PROPOGATED to site A and
    Only the records which are ment for site B should be
    PROPOGATED to site B.
    How do we do this.
    We just know one way that using row subsetting at apply process level
    at destinition site (dml_condition) or using dml_handler (again at destinition site) we camn achieve this.
    But this has a problem of transferring the unnecessary data to destinition.
    So we are looking for an approach which will allow us to transfer only the needed data to the destinition site and hence reduce the network traffic. How do we doit.
    Is there a way whereby we can do it tgrough PROPOGATION process ... or
    any other way.

    Rules define what is captured, propagated, and applied with Oracle Streams. You can write your own custom rules for propagation that will limit the propagated changes to a particular subset to simulate the effect of ADD_SUBSET_RULES. See chapter 6 in the Oracle Streams Manual (9.2.0.2) available at
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96571/strm_rules.htm#49200
    In the section on System Generated Rules, there is a discussion of the rules generated by ADD_SUBSET_RULES. You will need to write rules that are similar to these. In addition, you will need to assign a rule-based transformation to the custom rules so that the LCR can be manipulated appropriately. For example, an UPDATE at the source database might need to result in a DELETE at one apply site and an INSERT at the other apply site. You will need to write a transformation on the propagation rule where the DELETE should occur to:
    a) change the command_type to DELETE
    b) remove the NEW values from the LCR.
    Similary for the apply site where the INSERT should occur, the transformation on the propagation should
    a) change the command_type to INSERT
    b) move the OLD values to NEW values
    You can simplify the rules shown in the documentation by creatin[i]Long postings are being truncated to ~1 kB at this time.

  • GoTodate goes to point at or NEAR (??) the specified date and time

    Hi,
    From documentation:
    " GoTodate goes to point at or NEAR (??) the specified date and time"
    so i want to know, please, what does it mean Near the specified time and the reasons about that
    Thank you in advance

    Hi Khaled,
    The exact time point depends on the history option for tracking changes to data in version-enabled tables,
    as set by the EnableVersioning procedure (or modified by the SetWoOverwriteOFF or SetWoOverwriteON procedure):
    NONE: The read-only view reflects the first savepoint after in_date (or the latest data in the workspace if there is no such savepoint).
    VIEW_WO_OVERWRITE: The read-only view reflects the data values in effect at in_date.
    VIEW_W_OVERWRITE: The read-only view reflects the data values in effect at in_date, except if in_date is between two savepoints and data was changed between the
    two savepoints. In this case, data that had been changed between the savepoints might be seen as empty. To ensure the most complete and accurate view of the data, specify the VIEW_WO_OVERWRITE history option when version-enabling a table.
    The following example scenario shows the effect of history option on data seen after gotoDate. Consider the following table:
    Employee( NAME varchar2(30) primary key, MANAGER_NAME varchar2(30));
    Now assume the following sequence of events:
    1. Time=t1: The row ( 'SCOTT', 'ADAMS' ) is inserted into the table Employee.
    2. Time=t2: Savepoint SP1 is created.
    3.Time=t3: The MANAGER_NAME value for SCOTT is changed to Baxter.
    4.Time=t4: The time point that will be specified as in_date (in step 7) occurs.
    5.Time=t5: The MANAGER_NAME value for SCOTT is changed to Chang. (Thus, the value has been changed both before and after in_date since the first savepoint and before the second savepoint.)
    6.Time=t6: Savepoint SP2 is created.
    7.Timw=t7: A DBMS_WM.GotoDate(t4) operation is xecuted, specifying the time point 't4' in step 4 as in_date.
    The data seen after gotoDate for different history options is as follows:
    NONE: The row ('SCOTT', 'Chang') is seen. This is because the first savepoint after the specified instant is SP2. Note that in this case, after step 5 the versioned table has two rows for the primary key 'SCOTT': ('SCOTT', 'ADAMS') and ('SCOTT', 'Chang').
    VIEW_WO_OVERWRITE: The row ('SCOTT', 'Baxter') is seen.
    After step 5 the versioned table has three rows for the
    primary key 'SCOTT':
    ('SCOTT', 'ADAMS'),
    ('SCOTT', 'Baxter') and
    ('SCOTT', 'Chang').
    This is because each change is done in a new copy of the row.
    VIEW_W_OVERWRITE: No row is seen for 'SCOTT'.
    The updates in steps 3 and 5 are done in the same copy of the row, and the update in step 5 overwrites the update in step 3. As a result, after step 5 the versioned table has two rows for the primary key 'SCOTT':
    ('SCOTT', 'ADAMS') and ('SCOTT', 'Chang').
    Since the value in effect at the specified instant (i.e., 'Baxter') has been overwritten,no row is shown for 'SCOTT'.
    Regards,
    Ram
    Workspace Manager Group

  • My ipad has gone black with only the Apple showing  after I tried resetting , now nothing happens. Please help.

    M y ipad has gone black with only the Apple logo showing afte I tried to reset. How can I restart.

    First try a Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least Ten seconds... (But can take Longer)... until the Apple logo appears. Release the Buttons
    If no joy... Try a Restore...
    1: Connect the device to Your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    3: If the device doesn't appear in iTunes, try using the Steps in this article to force the device into Recovery Mode.
    From Here
    http://support.apple.com/kb/TS3281
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download
    Note on Recovery Mode.
    You may need to try this More than Once... Be sure to Follow ALL the Steps...
    Once you have Recovered your Device...
    Re-Sync your Content or Restore from the most Recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • Can I run adobe master collection in a windows partition on a basic mbp 13" with only the intel chipset?

    can I run adobe master collection in a windows partition on a basic mbp 13" with only the intel chipset?
    I want to install 16 gb ram but I don't think I can change the lack of video card. I wanted this basic machine because it has fairly long battery life. I don't need or want retina at this time. My model is the mid 2012 model. I am running the adobe collection for mac, I want to run the windows versions. Is it possible? What is the most ram I could access using something like fusion 5, assuming I could get fusion 5 to work? would it refuse to run because of the intel chipset and lack of video card?
    If I'm wrong and there is a way to add a video card to this model, could some version of fusion and windows 7 access more than 2 gb operating ram?
    What  cost would I be incurring, and would it be cheaper to buy a windows laptop with more ram than I could access via a virtual machine?
    I want to work on a client's work in the windows versions of the creative suite, with occasional usage of after effects for windows, and to use some web plug-ins only available in windows versions, and to try some windows-only video and audio software.
    thanks for any suggestions. While many people have told me I can run everything on my macbook, I am concerned about what I think is a limited amount of ram that can be accessed over the virtual machine partition softwares, and I don't know if what I want to attempt is actually possible.
    My mbp os is 10.8.2 on a 2.5 GHz intel core i5 4 gb 1600MHz DDR3 with 500 hard drive. the basic 13" mid 2012 machine.
    I'm hoping to install 16 G of opertating ram to allow more adobe programs to run concurrently- just when I am working on the mac side.
    also, off track but, for years I have wanted a small  machine that is more easily portable than my 15" machines. I have only had this used machine for a few weeks, but already I have been very satisfied and used it for presentations at clients. I don't want an air because I really want the dvd burner and player. No matter what apple says about wireless, there are decades of legacy work stored on optical discs all over the world, and I don't want to be unable to open something at a client's office because I don't have a dvd drive. Additionally, I have very large files I want to transfer via ethernet or firewire so that the transfer will take less time and be more secure than wifi. I resist apple's trend to make every machine a disposable toy that is viable only a year or so. I have read reviews that label the mbp it a poor value compared to the air. If all you need to do is text and communicate via wifi, many devices will sufice, and an air is certainly the most elegant. But what about the cost of large ssd's and protecting the drive against damage from shock? I want to be able to move this thing around and the small size is much safer inside my padded bag when I sit in narrow airplane seats, crowded trains and other congested spaces. I am much more likely to be able to borrow a large screen in a client's office ( with the use of one of the three adapters I had to buy) than to be able to borrow a dvd drive that has drivers for mac os 10.8.2. I suspect this may be the last generation of machines that have optical drives and ethernet, and that was why I purchased it so that I could continue to do work into the next few years. I am impressed by the retina display, but I need long battery life. And as beautiful as the retina display is, it is even more of a problem when trying to cross platform with the windows world. I wish I could infuence apple to do a trial product flow for a machine designed to work with 80% of the business world that uses windows. How spectacular that would be. With all their expertise and adept hardware design, to create a machine that cross platforms better than a windows machine itself works? Now that would be an accomplishment.  Instead of 8 or 9 percent of the total computer sales, why not aim for a higher percentage? Smart devices will keep moving toward portable computers in power, anyway.

    confused, bothered and bewildered wrote:
    can I run adobe master collection in a windows partition on a basic mbp 13" with only the intel chipset?
    I want to install 16 gb ram but I don't think I can change the lack of video card. I wanted this basic machine because it has fairly long battery life. I don't need or want retina at this time. My model is the mid 2012 model. I am running the adobe collection for mac, I want to run the windows versions. Is it possible? What is the most ram I could access using something like fusion 5, assuming I could get fusion 5 to work? would it refuse to run because of the intel chipset and lack of video card?
    If I'm wrong and there is a way to add a video card to this model, could some version of fusion and windows 7 access more than 2 gb operating ram?
    What  cost would I be incurring, and would it be cheaper to buy a windows laptop with more ram than I could access via a virtual machine?...
    Fusion should work on your machine and if you put 16 GB of RAM in (see http://eshop.macsales.com/shop/memory/Apple_MacBook_MacBook_Pro/Upgrade/DDR3_160 0MHz_SDRAM), Fusion can access a good portion of that. Also, in a Virtual Machine, the guest OS is presented with Fusion's video card emulation, not what's in hardware on your Mac. Of course, finding Windows 7 now that Win 8 has been released could take some doing and the Win 8 Pro upgrade price is supposed to jump to $200 the end of the month. Add that to the price of Fusion and the extra RAM and you're beginning to get into the realm of low end real PC's.
    As to cross platform, I assume you're aware of BootCamp (http://support.apple.com/kb/HT1461).

  • I created a book in iBooks Author using the Photo Book template. When I rotate to portrait orientation, the photo or widget disappears and a table of contents appears with only the interactive media showing.

    I created a book in iBooks Author using the Photo Book template. When I rotate to portrait orientation, the photo or widget disappears and a table of contents appears with only the interactive media showing.

    Thanx for the prompt response, KT. I have indeed seen that thread, only just after I posted the question.
    I have spent hours on the phone with what I now know is a call center in Texas on this question.
    I think Apple could be a little more "hands on" with iBooks Author users, and it should also be pointed out that landscape photos will not display in portrait mode.
    In my case, I used gallery widgets to display vertical photos, since they look better in portrait mode.
    But instead of simply rotating, the page disappears and a TOC of interactive media appears. The gallery behaves as expected when tapped. This is not what I expected, but since the gallery works, I can live with it.
    Right now I have "tickets" telling me to "fix" this "problem or to disable portrait mode.
    I don't want to disable portrait mode.
    Will Apple accept the books if I tell them this is not an "error?"

  • MY COMPUTER ONLY SHOWS A BLACK SCREEN, WITH ONLY THE POP UP SHOWING .....VIEW AND TRACK YOUR DOWNLOADS

    MY COMPUTER ONLY SHOWS A BLACK SCREEN, WITH ONLY THE POP UP SHOWING .....VIEW AND TRACK YOUR DOWNLOADS

    Hi,
    First plaese unplug any external device (except the mouse and keyboard), then hold on the power button, perform a cold reboot, what is the result?
    If doesn't work, please press F8 (or other button, depend on your PC model) boot your compute into recovery console.
    You can restore your system to a previous point or perform a startup repair, please refer to the following link:
    What to do if Windows won't start correctly
    http://windows.microsoft.com/en-in/windows-vista/what-to-do-if-windows-wont-start-correctly
    Yolanda Zhu
    TechNet Community Support

  • I have a problem with my iphoto, al the pictures show up as a gray frame with only the

    Working with import of photos to my iphotos all the photos turned into a gray frame with
    only the photo # displayed ?
    where did I go wrong

    what were you doing? (what is working with import of photos mean)  what exactly do you see? An ! 
    LN

Maybe you are looking for