Correct way to select records WHERE X ≠ Y

I'm just starting to learn to create dynamic pages and forms
and everything has been going very well until now. I'm SURE there
must be a very simple solution to this because it seems so basic,
but I have tried everything I can think of and now I'm stuck.
My table "VENUES" has a column named "ignoreVenue" setup as
VARCHAR (6), Null (Yes) Default (NULL). I have a corresponding
checkbox in my form named "ignoreVenue" with "ignore" as its
checked value.
I want to create a recordset that only selects records where
the "ignoreVenue" field is NOT checked. Here is the SQL query I
tried that seems the most logical to me:
SELECT *
FROM VENUES
WHERE VENUES.ignoreVenue != 'ignore'
ORDER BY VENUES.venueName
When I test this with the TEST button in the Wizard dialog or
in the finished menu on my testing server, there are no records
listed when, in fact, all but one record should be listed because
only one of them has "ignore" in the "ignoreVenue" column.
So here are some variations I tried for 3rd line only, none
of which worked either:
WHERE VENUES.ignoreVenue = ''
WHERE VENUES.ignoreVenue = null
WHERE VENUES.ignoreVenue = NULL
WHERE VENUES.ignoreVenue = 'NULL'
If someone can verify for me that one of these should work
and which one it is, then will try rebuilding the page once more
from scratch. But it's a very complex page so I'd prefer not to go
through all that if I'm on the wrong track to begin with.
I hope someone has a (simple ;o) answer for me!
Vera

veramilomilo wrote:
> My table "VENUES" has a column named "ignoreVenue" setup
as VARCHAR (6), Null
> (Yes) Default (NULL). I have a corresponding checkbox in
my form named
> "ignoreVenue" with "ignore" as its checked value.
You don't say which database you're using, but since your
column is
VARCHAR, I assume it's MySQL.
> I want to create a recordset that only selects records
where the "ignoreVenue"
> field is NOT checked.
Given the description of the column definition, if the field
is not
checked, its value will be null.
Here is the SQL query I tried that seems the most
> logical to me:
>
>
SELECT *
> FROM VENUES
> WHERE VENUES.ignoreVenue != 'ignore'
> ORDER BY VENUES.venueName
SELECT *
FROM VENUES
WHERE VENUES.ignoreVenue IS NULL
ORDER BY VENUES.venueName
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • WHERE ... IN ... SELECT records for a given list of PKs (or FKs)

    Hello folks,
    Many times we need to retrieve records for given lists of PKs (or FKs), as:
    p_pk_list := '11,22,33';
    We work in 10g
    A co-worker of mine had a good idea (I thought) to "help" the optimizer and build a recordset in the FROM clause and use it later in WHERE
    SELECT ...
    FROM tableName a,
    (SELECT REGEXP_SUBSTR(p_pk_list, '[^,]+',1,ROWNUM) p_pk_id
    FROM dual
    CONNECT BY ROWNUM <= LENGTH(p_pk_list ) - LENGTH(REPLACE(p_pk_list ,','))) d_pk
    WHERE
    a.ID=d_pk.p_pk_id; -- (1)
    The tragedy is that it takes 4 seconds to retrieve 5 records from the table (no other joins). The table has about 40 columns though and there are about 51000 records. With the SELECT REGEXP_SUBSTR in the WHERE clause, it's a bit worse.
    If (1) is replaced by:
    a.ID IN (11,22,33,44,55);
    the execution takes 0.04 seconds.
    My questions are:
    1. Is this a bad idea to select records for a given list of PKs or FKs? Should one just go for one PK/FK instead?
    2. Why the stiff performance penalty?
    3. Ideally, it would be nice if this would work:
    a.ID IN (p_array);
    where p_array would be an array of integers
    Any elegant sollutions?
    Thanks a lot.
    Dan

    Check the explain plan for both statements.
    I would wager that the overhead you experience is due to the fact that you are comparing apples to oranges here.
    (SELECT REGEXP_SUBSTR(p_pk_list, '[^,]+',1,ROWNUM) p_pk_id
    FROM dual
    CONNECT BY ROWNUM <= LENGTH(p_pk_list ) - LENGTH(REPLACE(p_pk_list ,','))) d_pkreturns a string.
    a.ID IN (11,22,33,44,55);Is a list of numbers.
    If you check the explain plan for the regexp version, you should see an implicit conversion being done for you (converting the number column into a string for comparison) which means you can't use any indexes defined on a.id.
    If you want to use an array of numbers here's an approach using a built in array of numbers.
    declare
       v_number_list  sys.odcinumberlist   default sys.odcinumberlist();
    begin
       v_number_list.extend;
       v_number_list(v_number_list.count) := 100;
       v_number_list.extend;
       v_number_list(v_number_list.count) := 200;
       for vals in
          select *
          from all_objects
          where object_id in
             select column_value
             from table(cast(v_number_list as sys.odcinumberlist))
       loop
          dbms_output.put_line(vals.object_name);
       end loop;
    end;
    25  /
    I_TYPED_VIEW1
    I_NTAB2
    PL/SQL procedure successfully completed.
    ME_XE?Otherwise do an explicit TO_NUMBER on the regexp query so that you can use any indexes defined on the table in question.

  • WHEN I IMPORT MEDIA FROM MY CAMCORDER TO iMovie it doesn't load up in the order of the way it was recorded and i have to piece the movie in the correct order when i make tmy project!

    WHEN I IMPORT MEDIA FROM MY CAMCORDER TO iMovie it doesn't load up in the order of the way it was recorded and i have to piece the movie in the correct order when i make tmy project!

    You might try restarting your device, your router and your Apple TV.

  • How to disable "Selection Security" in a correct way?

    hi experts!
    how to disable "Selection Security" in a correct way?
    !http://img689.imageshack.us/img689/2748/28668107.png!
    thanks!

    Hi...
    Open "Catalog Manager" and
    navigate to Shared -> "Shared Folder Name" (ex: Sample Sales) -> _Portal.
    Here you find all dashboards. Open the dashboard that you already enabled selection. In that dashboard folder you find one more folder with name: _selections*
    Delete the _selections* folder.
    You will get Enable option again in front end.
    All the best

  • Avoid repeating same logic in 'select' and 'where' clauses?

    I'll preface by saying I'm self-taught and have only been fiddling with SQL for a couple of months, so forgive me if this is a dumb question. I have a query written to pull out customers who are configured to have their products stored at the wrong warehouse, according to the first 3 digits of the zip code. Here is an extremely simplified version of a query I'm trying to run:
    select custno, custbuy_zip_cd, custbuy_prim_ship_loc_cd as Warehouse,
    case when substr(custbuy_zip_cd,1,3) in ('839','848') then '20'
    when substr(custbuy_zip_cd,1,3) in ('590','591') then '33'
    end as StdWhse
    from customers
    where case when substr(custbuy_zip_cd,1,3) in ('839','848') then '20'
    when substr(custbuy_zip_cd,1,3) in ('590','591') then '33'
    end <> custbuy_prim_ship_loc_cd
    or (case when substr(custbuy_zip_cd,1,3) in ('839','848') then '20'
    when substr(custbuy_zip_cd,1,3) in ('590','591') then '33'
    end is not null and custbuy_prim_ship_loc_cd is null)
    Now, the query works, but it seems overly convoluted and feels like there must be a way to make it simpler and faster. I'm using the same 'case when' 3 times. Originally, I had thought I could use the aliases from the 'select' clause in the 'where' clause, which would simplify things:
    select custno, custbuy_prim_ship_loc_cd as Warehouse,
    case when substr(custbuy_zip_cd,1,3) in ('839','848') then '20'
    when substr(custbuy_zip_cd,1,3) in ('590','591') then '33'
    end as StdWhse
    from customers
    where StdWhse <> custbuy_prim_ship_loc_cd
    or (StdWhse is not null and custbuy_prim_ship_loc_cd is null)
    I then found out that that caused 'invalid identifier' errors. My first attempt at a solution was to use a subquery in the 'from' clause, but that ran the 'case when' on every single customer instead of the small subset, so it wound up taking much longer even though it looked neater. Any tips on how to clean up that first query to make it run faster?
    this is Oracle 11i, I believe. As a side note, I don't have write access to the database.

    Thanks for all the tips so far - still going through them. You all respond fast! Sorry about using double angle brackets for != and not using code tags, I'll make sure to format my posts properly going forward. I think the double angle brackets messed up the appearance of my original queries a little. Here's how I probably should have pasted my first query in my first post:
    select custno, custbuy_zip_cd, custbuy_prim_ship_loc_cd as Warehouse,
        case when substr(custbuy_zip_cd,1,3) in ('839','848') then '20'
            when substr(custbuy_zip_cd,1,3) in ('590','591') then '33'
        end as StdWhse
    from customers
    where case when substr(custbuy_zip_cd,1,3) in ('839','848') then '20'
            when substr(custbuy_zip_cd,1,3) in ('590','591') then '33'
        end != custbuy_prim_ship_loc_cd
        or (case when substr(custbuy_zip_cd,1,3) in ('839','848') then '20'
            when substr(custbuy_zip_cd,1,3) in ('590','591') then '33'
        end is not null and custbuy_prim_ship_loc_cd is null)The almost unanimous opinion seems to be that I should use a subquery in one way or another, but the problem remains that the only significant logic to narrow down the results is the logic that matches the 'case when' results (which are what the warehouse number should be, based on the zip code) to the current warehouse number. Therefore, it seems like any subquery is going to return my entire list of 600k customers, and take a much longer time than my original (messy) query. At least it has in the test runs I created based on
    Satyaki's and Peter's examples. The query based on my original example takes about 2.5 minutes, and the subquery examples take about 5+ even though they look cleaner.
    to clarify what the query is trying to accomplish, I want it to pull any records where the warehouse number does not equal the correct warehouse number based on zip code (or if the warehouse number is null when it shouldn't be).
    I'll try to create some sample data and sample results. Customers table:
    custno   custbuy_zip_cd  custbuy_prim_ship_loc_cd
    1        59024           20
    2        59024           33desired results:
    custno   custbuy_zip_cd   warehouse   StdWhse
    1        59024            20          33If I could create a table to hold the standard warehouses to join on, the whole thing would be much easier. The full version of the query really has hundreds of zip code prefixes and 5 different warehouses and each account has 4 alternate warehouses as well. However, I'm stuck with read only access so everything has to go right in the query. It wouldn't be the end of the world to just stick with my original query since it's not like it takes hours, and I'll only be running it weekly. I just wanted to make sure there wasn't some other solution that wasn't just cleaner but was also faster.

  • Selecting record from cdpos

    Hi SAP team,
    How to select record from CDPOS when value_old field is initial. For currency field .
    Thanks & Rgds,
    Santhosh Kumar.
    Moderator message: please search for information and try yourself before asking.
    Edited by: Thomas Zloch on Mar 9, 2011 3:52 PM

    Since the problem is related to a custom IDoc, it is the process code of said IDoc where you will have to look. Depending on how the condition records are updated, this will be responsible for writing correct change documents.
    If the process code uses a standard BAPI, then change documents should be written correctly. Otherwise, the code should take care of writing the correct change documents after updating the condition records.
    Often it is possible to update a business object with calling a standard function module, but change documents will not always be written since that is done separately in the usual update process. For instance, you can update a delivery by using RV_DELIVERIES_UPDATE but that won't write change documents by itself at all. So take a look at the process code and investigate how the condition records are updated. Then you'll see the way the change documents are handled.

  • Can I choose a backup-font for missing characters in a style? Or is there a way to select pink areas

    I have to layout tons of UTF 8 data from a MySQL database.
    There is one problem. The designer picked a font that does not contain the Japanese characters. But there is much inline-Japanese in the text.
    So the imported text has many pink areas (characters not present in font).
    So I search for any of the following options:
    Is there a way to define a fall-back font (like webbrowsers do). If you view UTF in TextEdit (mac) or in the browser, all weird characters are displayed using Osaka. Is there a way to let Indesign replace pink squares with Osaka?
    Is there a way to SELECT all pink squares, and apply a character-style to them? That way I can create a characterstyle with the Osaka font
    Is there a way to have InDesign parse some sort of markup-elements in plain text? I could tweak the MySQL output with PHP to wrap all strange symbols in a markup-item like [japanese]blabla[/japanese]. If that would be converted to characterstyle "Japanese" on import, I would be helped a lot as well.
    The font hack: is there a way to load all available characters in the designfont into Osaka and replace those characters and make Osaka2? Or would that result in a mess?
    I think some automation to get a character style on the pink areas is the best, as that allows to tweak font height and baseline shift to match the other font.
    Does anybody know one of the four or maybe a fifth way to tackle my problem?

    Thanks for standing in for me, Peter - we were hosting the extended family, I did nothing but cook for hours.
    Is there a way to have InDesign parse some sort of markup-elements in plain text? I could tweak the MySQL output with PHP to wrap all strange symbols in a markup-item like [japanese]blabla[/japanese]. If that would be converted to characterstyle "Japanese" on import, I would be helped a lot as well.
    This is what I'd do, honestly.  It depends on your available output-from-DB formats, and what you're placing/importing into ID. But if you're placing raw text (?) then you can't simply use Type -> Find Font, so the GREP solutions offered here are good ones.
    I think some automation to get a character style on the pink areas is the best, as that allows to tweak font height and baseline shift to match the other font.
    Note that the "baseline" in Japanese is not the same place as the baseline in Latin-script. Japanese doesn't really have a baseline - they operate with a completely separate set of typographical conventions - but the effect is that you should not line up the bottom of your Japanese glyphs with the Latin-script baseline. Set some bilingual text in a good font (Kozuka Mincho Pro, it came with ID, you probably already have it installed) and take a look.
    it is very important that you have the correct glyphs or you risk changing the meanings or making the author look like an idiot. If you don't read Japanese you would be well advised to have the document checked by someone who does to be sure it reads OK before it goes into the wild.
    Chances that you'll make something completely illegible are minimal when handling Japanese, but there are a very large number of reasons why you can't just flow Japanese into English-language ID and expect it to work. There are permissible places to wrap Japanese, and places where it's not permissible. The paragraph composer you'd be using if you are using English-language ID will happily break Japanese in the wrong place. This is analagous to bad hyphenation, but looks far more idiotic to the Japanese readership than bad hyphenation looks to an English-language readership (who probably wouldn't notice bad hyphenation unlesss they happen to be a design-savvy readership). Look into using something like Japanese Indesign or World Tools Pro or the TransPacific Digital Japanese-composer template files.

  • Is there NO way to select multiple songs to go into a Music Playlist at once, vs doing it one by one?!

    Argh.  So irritating how something that should be very simple and intuitive results in useless calls to Sprint (my carrier) and BB. with endless holds, transfers, pasing the buck,and still no results.  Then I'm suggested to go to the Forums...you know...where other paying BB customers can try tp provide the IT support that BB apparetnly could care less to do for its paying customers?
    Anyway, I want to have multiple playlists in my BB Music so that when I host parties, I can play a particular type of music by selecting one of the playlists.  I was able to move songs to my BB but they only seem to move to the general Music Library (All Songs).  I was able to create Playlists, but it seems you can only move songs to the Playlist ONE AT A TIME.  There is apparently no way to select multiple songs to go to a playlist?  No way to move an entire folder of music from my PC to my BB songs, as its own separate sub-folder (i.e., Playlist)?
    I know I've been able to do this with other devices in the past. 
    Otherwise the BB Music Playlist options seems totally pointless. 
    Tx

    It says: ''users can re-enable it from the Add-ons Manager if necessary''
    *https://addons.mozilla.org/en-US/firefox/blocked/i106
    *https://addons.mozilla.org/en-US/firefox/blocked/i107
    <blockquote>Why was it blocked?<br />
    The RealPlayer Browser Record extension is causing significant problems on Flash video sites like YouTube. This block automatically disables the add-on, but users can re-enable it from the Add-ons Manager if necessary.</blockquote>
    You can try to delete the files extensions.* (e.g. extensions.sqlite, extensions.ini, extensions.cache) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to check if there is a compatibility update available.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons

  • Select records based on 1 field have either of 2 values

    Good afternoon,
    II have 2 tables, Account and Order, it's a one to many where 1 account can have many orders. I'm trying to pull the records where the account has orders that have a status of Completed or Quoted. I know I'm not explaining well so hopefully the example below will help.
    Account A has 3 orders, all of them are completed.
    Account B has 5 orders, 2 of them are completed, and 3 of them are quoted.
    Account C has 2 orders, all of them are quoted.
    I only want Account B to show up in my report. That is, I only want accounts that have both completed and quoted orders
    I've tried various record selections but because the status field on a single order can only have one value I'm not sure how to get the results that I need.
    Any help would be greatly appreciated.
    Jeannette

    hi Jeanette,
    for this you may either have to write a report with a Command based object with a subselect and a WHERE IN clause.
    there's an easier way using a Group Selection formula though...the disadvantage of this method is that this doesn't filter those records out at the database which could be a problem if you're dealing with 100's of thousands of records. if that's the case, then use the method mentioned at the top.
    For a Group Selection method try the following:
    1) create a Group on the Accountfield
    2) create a formula called Completed that reads something like
    if = 'Completed' then 1
    3) create another formula called 'Quoted' that reads something like
    if = 'Quoted' then 1
    4) put these fields on the report and put a Summary on them at the Account Group level
    5) go into the Group Selection Formula and find your group level summaries and create a formula similar to
    Sum(AccountGroup, @Completed) > 0 and Sum(AccountGroup,@Quoted) > 1
    This will bring back only Accounts with both completed and quoted records.
    cheers,
    jamie

  • Is there one tell  me the correct way to access remote SQL server

    Hi
    I have tried to access a remote SQL server by many ways but all failed
    here is my trying :
    String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    String url= "jdbc:microsoft:sqlserver://217.52.98.102:1433";
    Class.forName(driver);
    Connection conn = DriverManager.getConnection(url,"sa"," " );
    String selectStr = "select * from FleetWatch..table_name";
    Statement st = conn.createStatement();
    ResultSet rs = st.executeQuery(selectStr);
    DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
    // connect to the DB by using the driver.
    String connString = "217.52.98.102:1433;databasename=FleetWatch";
    String strDBConnect = "jdbc:microsoft:sqlserver://" + connString;
    conn = DriverManager.getConnection(strDBConnect, "sa", "");
    String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    Class driverClass = Class.forName(driver, true, jdbcLoader);
    Driver currDriver = (Driver)driverClass.newInstance();
    Properties prop = new Properties();
    prop.setProperty("sa", (String)paras.get("sa");
    prop.setProperty("password", (String)paras.get(" ");
    String url= "jdbc:microsoft:sqlserver://217.52.98.102:1433";
    conn = currDriver.connect((String)paras.get(url, prop);
    pls tell if you know the correct way to access a remote sql server and
    access it befor tell me its step to ensure it's connect

    String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    String url= "jdbc:microsoft:sqlserver://your servername:1433";
    Class.forName(driver);
    Connection conn = DriverManager.getConnection(url,"username ","password " );
    this user name and password may be diff becoz if u have only sql authentication then u have to know that user name or it can have windows nt authentication so if it is so then no probs can use ur windows nt login..
    know the server name where ur sqlserver is connected to.
    set the classpath for the sqlserverdrivers jar files which u have downloaded where ur working on.
    then it works
    i did the same and worked for me.
    try it.

  • Selecting records based on different fields

    Post Author: timg
    CA Forum: General
    I have three groups which I study quite often, the blues (as identified in field 1with codes), the reds (identified in field 2 with codes), and the greens (identified in field 3 with certain codes).
    I want to be able to run one report which, through a parameter field, I can select the group (red, green, or blue) for which I can select records from the database and analyze. Stated another way, if I select "Blue" in the parameter field, how can I get CR to pull certain records in the correct field with the correct codes.

    Post Author: yangster
    CA Forum: General
    dunno what your codes are but something like this will work if you put it in the section expertif ?para = "BLUE" then field1 in &#91;a, b, c&#93; elseif ?para = "RED" then field2 in &#91;d, e, f&#93; elseif ?para = "GREEN" then field3 in &#91;g, h, i&#93; 

  • Correct Way to Look at ROWID value

    I found some sql and modified it that is suppose to allow you to look at the ROWID info of a table
    Can someone tell me why this does not work and what would be the correct way to get the info based on the ROWID ?
    Evertyime I generate the ROWIDs and try to enter one into the second SQL statement, I get nothing back
    Example:
    prompt
    prompt ******************
    prompt V$Session/DBA_Objects - Create RowIDs
    prompt ******************
    prompt
    select
         s.sid,
         s.terminal,
         do.object_name,
         row_wait_obj#,
         row_wait_file#,
         row_wait_block#,
         row_wait_row#,
         dbms_rowid.rowid_create ( 1, ROW_WAIT_OBJ#, ROW_WAIT_FILE#, ROW_WAIT_BLOCK#, ROW_WAIT_ROW# ) rowid_created
    from
         v$session s,
         dba_objects do
    where
         s.ROW_WAIT_OBJ# = do.OBJECT_ID
    order by
         s.sid;
    prompt
    prompt ******************
    prompt Get ROWID Info
    prompt ******************
    prompt
    select * from &table_select where rowid = '&rowid_created';
    Any assistance would be appreciated
    Thanks
    Jim

    Hi Miguel
    well i am using thread based processes into oracle and some of my users are getting CGI timeouts or else getting tired of waiting and trying to do the same task again through my web app so they try it again causing a lock problem
    I can see what is being locked down to the table but i wanted to know what data is being locked when trying to get updated, so i thought i could use the ROWID to look at the entry
    Thanks
    Jim

  • How to select records based on Max/Min on different columns and group by

    I have a table with 5 columns(a,b,c,d,e), i need to select records based on MAX(c),Max(D) and Min(e) group by a,b. i am trying using : select max(c),max(d),min(e) from table group by a,b. this is not working. its giving me 1 6 1
    a b c d e
    1 1 1 2 1
    1 1 1 6 4
    1 1 1 6 3
    when i group by a,b i am expecting the record 1 6 3
    Please help me with this.. Thanks in advance....

    Hi,
    Welcome to the forum!
    962163 wrote:
    I have a table with 5 columns(a,b,c,d,e), i need to select records based on MAX(c),Max(D) and Min(e) group by a,b. i am trying using : select max(c),max(d),min(e) from table group by a,b. this is not working. its giving me 1 6 1
    a b c d e
    1 1 1 2 1
    1 1 1 6 4
    1 1 1 6 3
    when i group by a,b i am expecting the record 1 6 3It looks to me like "1 6 1" is the correct answer. You're asking for the lowest value of e, and 1 is lower than 3.
    Maybe you don't want MIN (e). Explain why you want 3 (that is, how you decided that 3 is the correct value for the last column) and someone will help you code it.
    Edited by: Frank Kulash on Sep 28, 2012 6:17 PM
    Whenever you have a problem, you should psot CREATE TABLE and INSERT statements for your sample data. That way, the people who want to help you can re-create the problem and test their ideas. It often helps to clarify the problem, too. since this is your first message, I'll do it for you:
    CREATE TABLE     table_x
    (       a     NUMBER
    ,     b     NUMBER
    ,     c     NUMBER
    ,     d     NUMBER
    ,     e     NUMBER
    INSERT INTO table_x (a, b, c, d, e) VALUES (1, 1, 1, 2, 1);
    INSERT INTO table_x (a, b, c, d, e) VALUES (1, 1, 1, 6, 4);
    INSERT INTO table_x (a, b, c, d, e) VALUES (1, 1, 1, 6, 3);
    COMMIT;

  • Correct way to un-expired applsyspub user

    Dear all,
    system
    OUL5x64
    DB 11.1.0.7
    EBS r12 12.1.1
    not sure why APPSSYSPUB was expired. What is the correct way to un-expired this user.
    FNDCPASS or sqlplus>
    now when running adadmin connect as system it would not take the system password.
    Thanks in advance.
    Regards,
    T
    SQL> select USERNAME, LOCK_DATE , EXPIRY_DATE,account_status
    2 from dba_users
    3 where USERNAME = 'APPLSYSPUB';
    USERNAME LOCK_DATE EXPIRY_DATE
    ACCOUNT_STATUS
    APPLSYSPUB 01-OCT-10
    EXPIRED(GRACE)

    Hi,
    Please see (How can the Applsyspub Password Expire? [ID 605570.1]).
    Alter the profile as per (403-Forbidden Error Accessing Forms on E-business Suite (fnd_icx_launch) [ID 556761.1]) to avoid having this user locked (the same applied for APPS and APPLSYS users).
    Thanks,
    Hussein

  • Unable to MERGE-Err Msg "MDM Server Failed to Merge the Selected Records"

    Hi Friends,
    I am using a Match Strategy in the Workflow. In the START Process of the workflow I CHECK OUT the records. In the step MATCH / MERGE when I try to MERGE similar records I get the Error Message "MDM Server Failed to Merge the Selected Records".
    But the same step works fine when I dont CHECK OUT (CHECK OUT = NO) the records in the START STEP. But this would not be the right way to do it, as the incoming duplicate records would be visible in the Data Manager by other users even before it is merged.
    Your inputs would be greatly appreciated to tackle this problem.
    Thanks.

    Hi Ravi,
    The workflow steps are as follows: (I am on MDM 5.5 and SP 6)
    Start (Check Out)   -
    > Process -
    > Validate -
    > Match    (Manual Merge)   -
    > Approve----
    > Stop    (Check In)
                                                                                    The Match and Merge step is a Manual step in the Workflow.
    I Check out the records when i start the Workflow and Once the entire process is complete I check in the record. What is happening is that it does not allow me to Merge the records and I get the Error message.
    If i dont Check out the Incoming records and run the workflow it Merges fine. But this would not be correct as the Incoming records(whihc could be duplicates) would be visible in the system until they are merged.
    Your Input woould be greatly appreciated.
    Thanks in Advance.

Maybe you are looking for

  • How many memory slots on mac mini 2010?

    I have a Mac Mini 2.4 (mid-2010) I bought used with 4GB of RAM. The previous owner upgraded from the standard 2GB. I have the chance to get 2X more 2GB cards that are compatible. I am curious if I can do that. Are there 4 memory card slots? Or would

  • Smart objects not updating (CS5)

    I am using CS5 Photoshop and when I try to save edits on an opened smart object (eg. after editing a 'placed' photograph) a 'Save As' dialog box appears. When I save the edits to the smart object, using the prompted file name, they are not reflected

  • After Transporting the request RFC Destination is empty in SWCV and BEA

    Hi All, we are using SAP NW Mobile 7.1 SP08 After transporting the SWCV & Backend adapter, in the transported system the RFC Destination is empty Please help me to fix this issue. Thanks and Regards, Joseph Beevin.

  • Problem with 7toX app

    I'm trying to import FCP7 files from an external drive to use on FCPX. I have FCPX and the 7toX app on my computer. The files on the external drive were not exported as XML files. I tried changing extension from .fcp to .xml and the app won't work. D

  • Is there a way to know when a gif animation ends to switch to a new image?

    Okay so basically I want to apply somt effects to my image that I was going to create in photoshop. I was just changing it from orange/red to a more deeper red. I figured I would set the first picture, then the gif, then the second picture. Or is the