Can't filter by VIEW_TYPE = 'CALC' from SYS.VIEWS in rev. 23

Hi all!
Trying to select:
  select * from views where view_type='CALC'
Getting the following error:
Could not execute 'select * from views where view_type='CALC''
SAP DBTech JDBC: [2]: general error:  case(Boolean, BigInt, Boolean, NLocator)
  Candidates:
     Alphanum case(Boolean(&)([]), Alphanum(&)([]))
     Double case(Boolean(&)([]), Double(&)([]))
     Real case(Boolean(&)([]), Real(&)([]))
     Decimal case(Boolean(&)([]), Decimal(&)([]))
     SmallDecimal case(Boolean(&)([]), SmallDecimal(&)([]))
     BigInt case(Boolean(&)([]), BigInt(&)([]))
     Integer case(Boolean(&)([]), Integer(&)([]))
     SmallInt case(Boolean(&)([]), SmallInt(&)([]))
     TinyInt case(Boolean(&)([]), TinyInt(&)([]))
     String case(Boolean(&)([]), String(&)([]))
     NString case(Boolean(&)([]), NString(&)([]))
     BinaryString case(Boolean(&)([]), BinaryString(&)([]))
     Binary case(Boolean(&)([]), Binary(&)([]))
     Locator& case(Boolean(&)([]), Locator(&)([]))
     NLocator& case(Boolean(&)([]), NLocator(&)([]))
     Longdate case(Boolean(&)([]), Longdate(&)([]))
     Seconddate case(Boolean(&)([]), Seconddate(&)([]))
     Daydate case(Boolean(&)([]), Daydate(&)([]))
     Secondtime case(Boolean(&)([]), Secondtime(&)([]))
     Timestamp case(Boolean(&)([]), Timestamp(&)([]))
     Date case(Boolean(&)([]), Date(&)([]))
     Time case(Boolean(&)([]), Time(&)([]))
The same is with select * from views where view_type like '%CALC%'
But the statement: select * from views where view_type='ROW' works, which is strange.
It happens on Hana rev.23.  Can You please check, is this bug still remains in further revisions?
BR, Dmitry

Hi,
The following works fine with Revision 25
SELECT TOP 1000 * FROM "SYS"."VIEWS" where VIEW_TYPE='CALC'
SELECT TOP 1000 * FROM "SYS"."VIEWS" where VIEW_TYPE='JOIN'
SELECT TOP 1000 * FROM "SYS"."VIEWS" where VIEW_TYPE='OLAP'
SELECT TOP 1000 * FROM "SYS"."VIEWS" where VIEW_TYPE='ROW'
Rgds,
Murali

Similar Messages

  • Ipone5 screen became curved so you can show filter lighting internal slightly from both sides and then taking the bend is growing even split-screen device by 2 mm from the top screen still works, even though it is no longer adjacent to the device, but fro

    ipone5 screen became curved so you can show filter lighting internal slightly from both sides and then taking the bend is growing even split-screen device by 2 mm from the top screen still works, even though it is no longer adjacent to the device, but from the bottom with the appearance of a blue line longitudinally as a result of the curvature of the screen is also a button home-does not function well will not make my device and search for a solution with my friends interested in the technology, because I am embarrassed by the form of the device after the holidays where it seemed like device industry is poor and I am writing to Mtabaana that the iPhone is the best among "smart phones" unwillingness on the label and I have reasons as he have many ideas Perhaps the first is to install the replacement screen with adhesive to Atsamad in front of the machine heat from the inside and the outside of the hot weather in another way Macaianikiholas latest device that will not require recharging,,, NOTE: void wrought screen contributed to increase the signal network and wifi is erase

    ipone5 screen became curved so you can show filter lighting internal slightly from both sides and then taking the bend is growing even split-screen device by 2 mm from the top screen still works, even though it is no longer adjacent to the device, but from the bottom with the appearance of a blue line longitudinally as a result of the curvature of the screen is also a button home-does not function well will not make my device and search for a solution with my friends interested in the technology, because I am embarrassed by the form of the device after the holidays where it seemed like device industry is poor and I am writing to Mtabaana that the iPhone is the best among "smart phones" unwillingness on the label and I have reasons as he have many ideas Perhaps the first is to install the replacement screen with adhesive to Atsamad in front of the machine heat from the inside and the outside of the hot weather in another way Macaianikiholas latest device that will not require recharging,,, NOTE: void wrought screen contributed to increase the signal network and wifi is erase

  • Can I filter a liked photo from a lightroom mobile public link?

    New to Lightroom so maybe I'm missing it but when someone likes a photo from a lightroom mobile public link how can I have a smart collection filter it? I understand how to if they add a comment but that is time consuming for them, liking a photo and filtering the result would be great. Thanks.

    Re: Re: How can I filter on likes?

  • Can slices of a PieGraph  come from different View Objects

    Hi,
    Can slices of a pie Graph come form different view object?
    If it is possible, how to I do it?
    Thank you.
    Thanks.
    Edited by: user594688 on Sep 16, 2008 11:49 AM
    Edited by: user594688 on Sep 16, 2008 11:54 AM

    As far as I understand, no.
    It's not clear why you would want to do this? Does the data for each VO come from a totally different SQL query source? If yes can't you create a new VO with a query that joins the queries from the other VOs? By this I mean literally take the queries from the VOs, write a query that joins the results, and base that on a new VO.
    Let us know how you go.
    Cheers,
    CM.

  • How can I display the descriptor column from a view in my BR message

    I have a table, Memberships, that contains a column for staff id. The staff data is on a remote database and I have created a view to access the required data. I have set the descriptor sequence for the name column of the staff view but the BR still displays the id.
    I'm assuming that because staff is a view and has no capi of its own, the membership capi cannot call the staff capi function display_label.
    I still would like to display the name of the staff member instaid of the ID. Can anyone suggest a workaround to force the display but without having to customize the membership capi after it has been created by headstart?

    Hi,
    try altering the code to create the capi.
    I modified this code allready quite a lot to achieve my goals.
    I also had that problem, and solved it by altering the code that generates the display_label. For each display_label funtion, I add a call to a package- function 'APPPA_LABEL.display_label' with parameters the tablename and the pk of the record. In the packagefunction, you can write your own definition of the display-label.
    The Productivity Boosters look a bit difficult in the beginning, but when you get to know them, you can achieve some good results.
    Greetings,
    Kristof

  • I can't jump to a day from month view in iOS 7 calendar

    When I tap a date in month view of calendar it does not jump to the day view

    This problem drives me crazy too. Specifically when i want to make an appointment quickly. Why does apple not take it into account? There are many posts about this issue.

  • 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

  • Deleting records from sys.aud$ from stored procedure

    We have a stored procedure that is trying to move records from the sys.aud$ table to a historical table (in an attempt to keep sys.aud$ to a more manageable size, I guess -- full disclosure I did not write this proc). The basic flow is:
    select count(*) into rowcount from sys.aud$
    if (rowcount > 1000) {
    copy all rows from sys.aud$ to historical table
    delete from sys.aud$
    I am told this proc used to work just fine in the murky past (I am new to the client) but has now not worked for some time. When we try and compile the proc, we get the error
    "table or view does not exist," and the highlighted line is the "delete from sys.aud$". The "select count(*) from sys.aud$" line appears to cause no issue, but the proc will not compile as is. If I comment out the "delete from sys.aud$" line, however, the proc compiles just fine.
    Confusingly, if I log in as the same account that owns this proc, I can run both the select count(*) from sys.aud$ AND delete from sys.aud$ clauses with no complaints at all (altering slightly to work with only 1 record at a time, of course), but I cannot get the same to compile within a stored proc.
    I assume this is permissions related? Can anyone point me to the permissions the owner requires to be able to delete from sys.aud$ within a stored procedure? Or is there something else that needs to be done here? Any pointers much appreciated.
    Thanks.

    956928 wrote:
    We have a stored procedure that is trying to move records from the sys.aud$ table to a historical table (in an attempt to keep sys.aud$ to a more manageable size, I guess -- full disclosure I did not write this proc). The basic flow is:
    select count(*) into rowcount from sys.aud$
    if (rowcount > 1000) {
    copy all rows from sys.aud$ to historical table
    delete from sys.aud$
    I am told this proc used to work just fine in the murky past (I am new to the client) but has now not worked for some time. When we try and compile the proc, we get the error
    "table or view does not exist," and the highlighted line is the "delete from sys.aud$". The "select count(*) from sys.aud$" line appears to cause no issue, but the proc will not compile as is. If I comment out the "delete from sys.aud$" line, however, the proc compiles just fine.
    Confusingly, if I log in as the same account that owns this proc, I can run both the select count(*) from sys.aud$ AND delete from sys.aud$ clauses with no complaints at all (altering slightly to work with only 1 record at a time, of course), but I cannot get the same to compile within a stored proc.
    I assume this is permissions related? Can anyone point me to the permissions the owner requires to be able to delete from sys.aud$ within a stored procedure? Or is there something else that needs to be done here? Any pointers much appreciated.
    Thanks.privileges acquired via ROLE do NOT apply within named PL/SQL procedures.
    GRANT DELETE ON SYS.AUD$ TO <your_schema>;

  • How to show all privileges from a view?

    Hi. I´m new to PL/SQL developing. So I have two questions:
    Is there a sql statement that shows me all privileges the actual user have of a view?
    Or can I show all views where the actual user can do a select?
    Thanks for help.

    Hi.
    The problem is, we have a view in the database and a form application. And when we log in with a special user, some information are not shown in the form.
    Now we have the suggestion, that the user has no privileges to make a SELECT of a special view, but he need to do this select, to show the information in the form.
    So I need a sql statement that shows me all privileges that the user xyz has of this view. If he can make a select for example from this view. I hope this explanation would be better!? :)
    Message was edited by:
    ulfk

  • How can I filter a table from Data Control without enter query

    I have a table from a web service data control based on WSDL.
    I want to filter the table without input query at filter text box. Without filter text box, each would filter the table with a hardcoded query internally.
    For example, when user click A menu button then it filters the table where type = '1' and B menu button filters the table by type='2' and C menu button filters the table by type=' ' .
    How can I filter the table without enter query?
    Could anyone point me to a solution please.
    Thanks.
    jdev 11.1.5
    Edited by: 893364 on Oct 26, 2011 12:15 PM
    Edited by: 893364 on Oct 26, 2011 12:21 PM

    Hi,
    when you created the table, did you try selecting the "filter" option. Select the table and go to the Property Inspctor. In the tool bar of the Property Inspector there is an icon to change the configuration. Its adding filter filter fields for the user to search in.
    Option 2: The data of the Web Service actually is held in the iterators. If you wanted to filter the WebService query, I would not use the WS DC but a JAX-WS proxy in a POJO to fetch the WS Data. Then have the Data Control created from the POJO. You could have a method exposed on the POJO that allows you to filter the internally held data
    Frank

  • Can I filter News or Events by time (so that past items disappear from listings)?

    Can I filter News or Events by time (so that past items disappear from listings)?

    Thanks for your reply. I'm trying to find a way to divide events into two lists, "forthcoming" and "past events" which will automatically work without too much work for my client. If I set an event to "expired" is it still in the database and if so, can I list all expired events?
    Regards

  • Even using the MAC Filter as a device can circumvent my Wi-Fi coming from anAirPort Extreme and using WPA2?

    Hello friends,
    Even using the MAC Filter as a device can circumvent my Wi-Fi coming from anAirPort Extreme and using WPA2?
    The device in question is known and therefore not using MAC address cloning.
    I'm using version 5.6 of the AirPort Utility, since the new version does not provide a graph of signal from each connected client.
    The MAC address in question is selected, but were covered for safety reasons.
    Help me understand this question.
    Fig01. The MAC addresses listed in my device.
    Fig02. The devices connected to my network. Including the unauthorized device.
    Fig03. The history of connected clients on my network.

    It appears that you may be using the Timed Access settings.
    Check the "Default Rule" for your network. If the "Default" is Unlimited Access.....then any device that has the password for your wireless network will be allowed to connect at any time that they wish.
    You need to change the "Default" rule for the network to "No Access".
    Then devices will be only be allowed to connect according to the rules and time limits that you establish and configure for each individual device.

  • Can not filter the data with the extended class

    Hi,
    I have a quick question about PortableObject format. I have created a class which extends PortableObject interface and implemented serializer methods as well. I have updated it in the pof-config.xml file as well. If I insert the objects of this type of object in the cache, they get inserted properly and I can filter the values based on the getters defined in the class. Everything works fine here.
    Now, I am trying to extend the existing class that I have. We have our custom API which we have built for our domain objects. I need to store these objects in the cache. So, naturally I need to implement PortableObject interface to do that. So, instead of creating a new class with new set of getters and setters and local fields, I am extending our domain class to create a new class which implements PortableObject interface. Instead of defining the local fields and getters and setters i am reusing the ones provided by my existing class. Now, I can insert the objects of the new class to the cache. But I can not filter the values for the objects of this new class.
    Let me show you what exactly I am trying to achieve by giving a small example:
    Domain Class:
    class Person
    private String person_name;
    *public String getPerson_name() {return person_name;}*
    *public String setPerson_name(person_name) {this.person_name = person_name;}*
    The new class implementing PortableObject interface:
    class ExtPerson extends Person implements PortableObject
    public static final PERSON_NAME = 0;
    *public void readExternal(PofReader reader) throws IOException{*
    setPerson_name(reader.readString(PERSON_NAME));
    *public void writeExternal(PofWriter writer) throws IOException{*
    writer.writeString(PERSON_NAME, getPerson_name());
    *// And HashCode, Equals and ToString methods, all implemented using the getter from the Person class*
    So, if I create a new class ExtPerson without extending the Person class and write all the methods, store the objects in the cache and perform the following query, I get the size printed
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
    But if I use the extended class and insert the values into the cache and if I use the same query to filter, I get 0 printed on the console.
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
    So, can anyone tell what exactly is causing this?
    Thanks!

    Well, just a quick question. It seems that I can not get ContainsAnyFilter or ContainsAllFilter working.
    EqualsFilter is actually working properly.
    I am preparing a Set of Strings and passing it to ContainsAnyFilter or ContainsAllFilter and it is returning me 0 records.
    E.g.:
    Set<String> setStr = new HashSet<String>();
    setStr.add("ABC");
    setStr.add("DEF");
    System.out.println((cache2.entrySet(new ContainsAnyFilter("getPerson_name", setStr))).size());
    I get 0 in my output
    If I try this:
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","DEF"))).size());
    I get 1 for each of the query.
    If I club all these EqualsFilter in a Filter[] array and create an AnyFilter or AllFilter and pass it to the query, it works fine.
    List<Object> lst = new ArrayList<Object>();
              lst.add("ABC");
              lst.add("DEF");
    Filter[] filter = new Filter[lst.size()];
         for(int i=0;i<lst.size();i++)
              filter[i] = new EqualsFilter("getPerson_name",lst.get(i).toString());
    AnyFilter fil = new AnyFilter(filter);
    System.out.println((cache4.entrySet(fil)).size());
    I get the desired result here, which is 2.
    Am I missing something here?

  • Am unable to get the data from Sys.databases when i use where condition for column owner_sid

     
    Hi all,
    Help me here when i try am unable to get a data,Can some one help me with a query to get.
    If it cant be done can i know why..
     select * from Sys.databases
      where owner_sid='0x01'
    What am trying is to get a login
    names from syslogin
    table with respect to Sid.
    Select a.name,b.name,a.owner_sid from Sys.databases a
      Join Syslogins b
      on a.owner_sid = b.sid
      where owner_sid like '0x01'
    Thanks all in Advance.....

    Below are a couple of examples of how to accomplish the task.  Note that SID is varbinary so the literal should not be enclosed in quotes.
    SELECT
    a.name AS DatabaseName
    ,b.name AS OwnerName
    ,a.owner_sid AS OwnerSID
    FROM sys.databases a
    JOIN sys.server_principals b ON
    a.owner_sid = b.sid
    WHERE owner_sid = 0x01;
    SELECT
    a.name AS DatabaseName
    ,SUSER_SNAME(owner_sid) AS OwnerName
    ,a.owner_sid AS OwnerSID
    FROM sys.databases a
    WHERE a.owner_sid = 0x01;
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • How can i set up mail rules from an iPad?

    I am familiar with using rules to filter email.
    From my Mac at home I acces iCloud.com and have no problems.
    I went away for the long weekend, and brought only my iPad.
    I started receiving spam from a new source and wanted to filter it out.
    From safari, when I go to iCloud I only have three choices, none of them useful.
    I have tried to use different URLs but always get redirected to /ipad_welcome/
    Is there a way to do this?
    Or does the post-PC device still need a PC?

    I think there is not a good solution for it (yet). The best solution is to check if you mailserver provides a spam filter solution. I use Gmail and it provides a filter on the serverside. This means the mail is filtered befor I receive it on my iPad (and iPhone). You can also set up a gmail account as a exchange and push all the filtered folders.
    Cheers
    Gmail exchange set up:
    http://support.google.com/mobile/bin/answer.py?hl=en&answer=138740

Maybe you are looking for

  • Mac vs PC file appearance

    Is it me, or is the file tab (where you see and work with all your files) seem a little confusing on my Mac compared with my friend's on his PC? Being in outline form, folders within folders, seems to lay it out much better on my friend's. Unless eve

  • HP mini pc screen hinges and cables

    Hello. I have a hp mini pc (qh072ea) and the screen is only working when I have it in one position or if I`m veeery careful when opening the screen. If I move the screen it turns white. Except from this annoying problem the computer is just fine. I h

  • How to determine the timeout setting?

    I read all the items about the time out. I created a javascript function which informs you that you only have 5 (after that 1) minutes before logout. But in the profile file the setting for http timeout 180 and the rz11 setting icm/keep_alive_timeout

  • ICM_HTTP_CONNECTION_FAILED

    Hi experts I am sending fle from XI to R/3 i am getting the below error message in XI SXMB_MONI. here i am using sender is file adapter and receiver is PROXY. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Call Adapter   --> - <SAP:

  • Remotely accessing a CCTV system - questions :)

    Hi I want to remotely access my CCTV system that's set up using multiple cameras and a DVR. The DVR has an ethernet port to connect to a router. The problem I think I have is that I can only get a 3G service where I am and therefore I use a 3G router