How to find out Maximum date value in RPD.

Hi All,
I have a date column i want to get the maximum date value from that column. I am trying this expression MAX( "sales"."book"."date") in new logical column i am getting the RPD inconsistence error. Database is SQL server 2005. Is there any problem in my syntax?
Thanks in advance.

Is that column date part of time dimension?
What does error say? syntax should be ok - maybe something to do with your DB settings in physical layer.
can you try to create the same column in Answers? (select fx button of the column and then add MAX ( ) around the column.
Edited by: wildmight on Jun 12, 2009 10:09 AM

Similar Messages

  • How to find out when data was deleted from table in oracle and Who deleted that

    HI Experts,
    Help me for below query:
    how to find out when data was deleted from table in oracle and Who deleted that ?
    I did that to fidn out some data from dba_tab_modifications, but I m not sure that what timestamp shows, wether it shows for update,insert or delete time ?
    SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES,TIMESTAMP,DROP_SEGMENTS,TRUNCATED from dba_tab_modifications where TABLE_NAME='F9001';
    TABLE_OWNER                    TABLE_NAME                        INSERTS    UPDATES    DELETES     TIMESTAMP         DROP_SEGMENTS TRU
    PRODCTL                        F9001                                                     1683         46       2171            11-12-13 18:23:39             0                   NO
    Audit is enable in my enviroment?
    customer is facing the issue and data missing in the table and I told him that yes there is a delete at 11-12-13 18:23:39 in table after seeing the DELETS column and timestamp in dba_tab_modifications, but not sure I am right or not
    SQL> show parameter audit
    NAME                                 TYPE        VALUE
    audit_file_dest                      string      /oracle/admin/pbowe/adump
    audit_sys_operations                 boolean     TRUE
    audit_syslog_level                   string
    audit_trail                          string      DB, EXTENDED
    please help
    Thanks
    Sam

    LOGMiner --> Using LogMiner to Analyze Redo Log Files
    AUDIT --> Configuring and Administering Auditing

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • How to find out Particular column value in DB

    Hi All,
    I have to find out Particular column value in DB .can U tell me the Query for that.

    There is one way:
    Re: How to write the Query

  • How to find out the date of license conversion (from Standard to Datacenter)?

    I had problems with Microsoft licensing and i need to find out, when my servers was converted from Standard to be Datacenter ?
    All my servers was standard, now it's Datacenter and i need to know from when it's Datacenter ???

    What I really mean is that I have EA with Microsoft and I'm eligible for example 10 Standard and 5 Datacenter.
    During Microsoft auditing they found that I have installed 10 Datacenter and 5 Standard, which is not original design, so obviously someone from my team converted 5 servers from Standard to Datacenter.
    My question here that I need to know when exactly my servers where converted, so I can know who converted it as this mistake costs my company a lot!
    I need to know time and data when my server was converted from Standard to Datacenter edition? May be it's recorded in registry or somewhere i can find using PowerShell or something, the same Idea of finding out Installation date using this command:
    "([WMI]'').ConvertToDateTime((Get-WmiObjectWin32_OperatingSystem).InstallDate)"
    Ah, that helps me understand, thanks.
    If you installed Standard, and then used DISM /Online /Set-Edition.....
    http://technet.microsoft.com/en-us/library/jj574204.aspx
    this should be logged in the DISM logfile: %windir%\Logs\DISM
    https://technet.microsoft.com/en-us/library/ee851579(v=ws.10).aspx
    You may also find some details in the Windows event logs (if you still have that history available).
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How to find out the ASCII Values for Spanish character

    Hi,
    I had an requirement to store Spanish character and also need to fileter the records based on the Spanish character.
    Kindly guide me for below.
    To filter the Records which contains spanish characters?
    To get the ASCII Values for the particular column?
    E.g. we can find out the ASCII value of 'a' by using the syntax select ASCII('a') from dual.
    But I want to find the ASCII Values for the particular column value. Ie. name.
    E.g., Client name is "Suresh", I want to the ASCII Values for entire name of "Suresh".
    Kindly do the needful help / Guidance on this.
    Thanks,
    Orahar

    To expand on what I said in my first post, you want to do something along these lines:
    with t (thename) as
      select 'Suresh' from dual
    select thename
         , substr(TheName, level, 1)
         , ascii(substr(thename, level))
      from t
    connect by level <= length(thename);The output of the above query is:
    THENAM S ASCII(SUBSTR(THENAME,LEVEL))
    Suresh S                           83
    Suresh u                          117
    Suresh r                          114
    Suresh e                          101
    Suresh s                          115
    Suresh h                          104
    6 rows selected.Note that the WITH statement is only there to simulate a table for this example. With a table, all you do is get rid of the with and substitute the name "t" for the name of your table (also the name of the column to whatever name the column has in your table).
    Lastly, I suggest you post your question along with, an example table and the output you'd like to get in the PL/SQL forum. There are people there that will give you all kinds of great ways of solving that problem.
    HTH,
    John.

  • How to find out where a value is stored

    Hi,
    i entered something in HR Area infotyp 0031, i expected to find those entries in table pa0031, but this table remains empty. How can i find out where sap stores those values?

    press F1 on the field where u typed the value. click on technical info and get the table and field name.
    in most cases it might be structure. either way, go to se11 and type the table/structure name and then search for the field name in that table.
    then dbl click on the data element and click on the where-used button.
    now select table entries and start looking for all the tables where the field is present. go to each table and check for the number of table entries and see if the value u entered has been caputred in that table or not.
    hope that helps.
    else u can revert back
    regards,
    pk

  • How to find out maximum number of login users?

    Hi all,
    Is there anyway to find out what is the maximum number of login users since a database is started? Maybe I should ask, what's the largest number of sessions has been opened in a busy time of a database since it is started?
    I know v$session is my target. But how can I find out hte HWM of opened sesions?
    Thanks.

    Thanks Serch-NET. That's what I'm doing today. I should be a little more specific. I'm looking for a script that lends itself to automation. A script that can determine all the databases on a given server, find their background dump dest., grep all alert logs and return the highest of the HWM's. This is all scripting I could do myself, but being a follower of the Lazy DBA, I was hoping someone else had done it. :-)
    Thanks again.

  • How to find out maximum number of sessions allowed to a user?

    Hello all,
    Can you please tell me how can I find out the maximum concurrent sessions are allowed to a particular or all users in the Oracle database?
    I am currently using the Oracle 9.0.2 database server.
    I tried to query v$license, it gave me NULL records.
    Thanks in advance
    Himanshu

    Users have a profile. example :
    CREATE PROFILE DEFAULT LIMIT
              SESSIONS_PER_USER UNLIMITED
              CPU_PER_SESSION UNLIMITED
              CPU_PER_CALL UNLIMITED
              CONNECT_TIME UNLIMITED
              IDLE_TIME UNLIMITED
              LOGICAL_READS_PER_SESSION UNLIMITED
              LOGICAL_READS_PER_CALL UNLIMITED
              COMPOSITE_LIMIT UNLIMITED
              PRIVATE_SGA UNLIMITED
              FAILED_LOGIN_ATTEMPTS UNLIMITED
              PASSWORD_LIFE_TIME UNLIMITED
              PASSWORD_REUSE_TIME UNLIMITED
              PASSWORD_REUSE_MAX UNLIMITED
              PASSWORD_LOCK_TIME UNLIMITED
              PASSWORD_GRACE_TIME UNLIMITED
              PASSWORD_VERIFY_FUNCTION NULL;
    SESSIONS_PER_USER is the one you are looking for. You can find more here:
    Select * FROM SYS.DBA_PROFILES WHERE PROFILE = :Name

  • How to find out profile optoins value for user from database?

    I have PA debug enabled for a particular user in my ebusiness suite environment. I need to find out for what user is it enabled.
    FND_PROFILE_OPTIONS shows that its enabled for user and responsibility level. But I am not able to find out for which user/responsibility is it enabled, as this only shows flags.
    Can someone please tell me what table/view I need to check for that.

    Hi;
    Please see:
    How To Check If a Profile Option Is Set In Oracle Application [ID 470102.1]
    How to list E-Business Suite Profile Option values for all levels using SQLPlus [ID 201945.1]
    How to Search all of the Profile Options for a Specific Value [ID 282382.1]
    Regard
    Helios

  • How to find out the date when an oracle database is upgraded

    Hi,
    I would like to know the date when an oracle database is upgraded (for example 10.2.0.4 to 11.2.0.3).
    Can you help me to find out these details.
    Thanks,
    Sarayu

    user13312943 wrote:
    Hi Ed and SB,
    Thanks for your replies. How about this option?
    Let us assume I am interested in checking when my database is upgraded to any 11g version.
    Will this query help?
    select min(first_usage_date)  from  dba_feature_usage_statistics where  version like '11%';
    I understand this may not be a generic solution , but with this idea I may be able to build up a query to get the result.
    Thanks,
    Sarayu
    How is it that you or nobody knows when the DB was upgraded?
    I would have expected a formal testing & upgrade plan.
    Does the organization practice safe software & utilize any source code repository?
    Does everyone suffer from amnesia?
    How could a MAJOR database upgrade slip by everyone who should care about such a detail?

  • How to find out creation date of a table

    Good day.
    How can I find out of any table's creation date?
    Thanks.

    select created from user_objects
    where object_name = 'PUT YOUR TABLE NAME HERE';

  • How to find out the null values in table

    hi experts,
    my version is oracledb10g:
    i h'd simple doubts.
    for eg:
    create table ex1( e varchar2(20));
    insert into ex1 (null).
    insert into ex1(e)
    count will be: 2
    i can easily found out the value 'e'.
    so my question is:
    how can i found out the null values in the table and i want to delete the null values from the table.

    ADF 7 wrote:
    hi experts,
    my version is oracledb10g:
    i h'd simple doubts.
    for eg:
    create table ex1( e varchar2(20));
    insert into ex1 (null).
    insert into ex1(e)
    count will be: 2That depends what you count. If you issue count(*) you are asking Oracle "how many rows are there". If you issue a count(<column_name>) you are asking Oracle "how many not null values of <column_name> are there".
    ADF 7 wrote:
    i can easily found out the value 'e'.
    so my question is:
    how can i found out the null values in the table and i want to delete the null values from the table.
    delete from <table_name>
    where <column_name> is null;Ideally you'd just place a NOT NULL constraint on the column in question, thereby prohibiting NULL values from entering into the system (assuming your business requirement is that the column MUST always have a value).

  • How to find out the date I can upgrade

    I'm on a family plan and I don't have access to my dad's account, and he's the account owner. I want to upgrade to an iPhone so I'm looking to know when I can upgrade and how much it'll cost, but I can't find any of this on the My Verizon page. There's a "check upgrade availability" on the iPhone page but it says something about Verizon being unavailable and to try later, but I've been trying since yesterday. I can't find out how to look at my plan and all I need to know is when I can upgrade...this website is not being very helpful so far.

    bellreavue wrote:
    I'm on a family plan and I don't have access to my dad's account, and he's the account owner. I want to upgrade to an iPhone so I'm looking to know when I can upgrade and how much it'll cost, but I can't find any of this on the My Verizon page. There's a "check upgrade availability" on the iPhone page but it says something about Verizon being unavailable and to try later, but I've been trying since yesterday. I can't find out how to look at my plan and all I need to know is when I can upgrade...this website is not being very helpful so far.
    If you are not the account owner, I don't think that this information will be available to you. Just ask your father for the information.

  • How to find out master data

    Hello
    I have PP cube in which data is not loaded but it is activated now if I want to know the master data used by this infocube how can I find which master data this infocube is using.
    As I have to load this infocube.
    due points will be assigned to right answers
    Regards
    Krish

    Thanks Bhanu and Kamal,
    I have assigned the points.
    Any other suggestions/ comments are welcome
    Krish
    Message was edited by: krish kumar

Maybe you are looking for

  • To create a room for every user or not?

    My application requires that guest/participants do not need to login. They only enter names. Also the meetings are not scheduled. It's on walk in basis where host waits for the guests. In my case, I will have hundreds and eventually thousands of host

  • The mouse moves on its own and the screen freezes and zooms in and out.

    About 2 months ago I bought a new macbook pro and over the last couple of days it has produced all these problems! The screen jolts and freezes and only has gradual movement and zooms in and out on a page and the mouse also freezes and moves on its o

  • مشكله فى Windows Service Pack 2

    انا اعمل على windows 8.1 enterprise 64 bit اهنا بعض البرامج لا تعمل  وتطلب  تحميل WINDOW VISTA SERVIC PAK2 وبعد تحميل لا يعمل على الويندوز 

  • Removing Multiple Managed Mobile Users via ARD 3?

    Is it possible to find a simple way to delete all non-admin user accounts from a 10.4.8 system without doing it on a one at a time basis? The basic idea is that at the end of the semester all accounts, other than the local administrator account and s

  • Start-up stumbles with new motherboard, 10.5.5

    The motherboard of my MacBook Pro recently died. It came back with a new motherboard and loaded with 10.5.5. Since then, the machine has balked on start-up. Sometimes, I get the tones, then a gray screen, then a freeze. On other occasions, it tries t