Query Folding for MySQL and PostgreSQL

Hi there!
I use simple M code (see below) but PQ load all rows instead of doing Query Folding.
What's wrong?
let
    Source = MySQL.Database("10.8.0.10", "leb"),
    leb_x_sale_orders = Source{[Schema="leb",Item="x_sale_orders"]}[Data],
    #"Removed Other Columns" = Table.SelectColumns(leb_x_sale_orders,{"ID", "CANCELED", "PRICE", "USER_ID", "DATE_INSERT"}),
    #"Filtered Rows" = Table.SelectRows(#"Removed Other Columns", each Date.IsInPreviousDay([DATE_INSERT]))
in
    #"Filtered Rows"

Thank you for the feedback. From a quick look, perhaps the Date functions are not folding. Here is a relevant
post.
You may consider to use text functions as a workaround, or wait till we check this out.

Similar Messages

  • Shared home folder for OSX and Windows

    Hello,
    I am wondering if it is possible to have a shared home folder for Windows and OSX.
    We have an AD and ODS. Is this possible, if it is, using CIFS?
    Hope hearing from anyone
    Best Regards.

    hallo victor,
    thanks for your answer. unfortunately this does not solve my problem. my sap landscape is more complex.
    there are several sap installations in diverent windows domains and some are on as/400 (and there is another windows domain) all are in different networks and are protected by firewall. furthermore there is a rule (maybe some exceptions are allowed) that there must not be qntc connections over these firewalls.
    with a shared folder between a windows workstation in one network and an as/400 in another network it works fine. but as a mentioned first - there is the problem with the sapservice<sid> userid which is to long for as/400 environment. I think there must be a tricky solution (hope so).
    kind regards
    helmut

  • Is there a way I can create a folder for storage and put on desktop?

    Is there a way I can create a folder for storage and put on desktop?

    What you can do is move them into a sub folder where they are all grouped into one icon. Gets them off your screen, sort of.

  • JDeveloper 10.1.2 with MySQL and PostgreSQL

    I'm testing JDeveloper 10.1.2 business components with mysql or postgresql because my company needs to connect also to these non-oracle DBs. ADF suits our developement needs, in speed and functionalities; anyway to make it our main developement system we need it to be compatible.
    I made three tests and they were all disappointing.
    At first, I installed MySQL 4.0 on my windows machine. I used the stable Connector/J 3.1
    and then MySQL Connector/J 3.0, but in both cases JDeveloper had a strange behaviour: I can make the connection, I can navigate correctly through all tables in the connection-navigator, I see all the column names etc... Anyway, as I try to build a "new Entity Object" from a table, there are no available table properties, like if the table had no columns.
    In this forum I only found documentation about rowid problems with mysql, but nothing about Entity Object wizard issues.
    Then I switched to PostgreSQL. I installed it locally, so I had to choose the 8.01 since I'm on a windows machine. JDBC driver: postgresql-8.0-310 jdbc3
    The developement test phase went ok, it is possible to use this DB just as if it was a Oracle, all the business components wizards works perfectly.
    The problem is at runtime, unfortunately. I built a simple datapage on the struts-config diagram and I dragged on it a "read-only table" from the data control palette.
    As I run the application, the embedded OC4J immediately returns this error:
    oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-29000: JBO-26061: Errore durante lapertura della connessione JDBC.
    at oracle.jbo.JboException.<init>(JboException.java:343)
    (in english: Error during JDBC connection)
    There are no other available JDBC drivers for JVM 1.4x so I see no solution...
    I also tried to connect to an older PostgresSQL with its (older) JDBC but I get same the result.
    Anyone can help? Is it a JDev 10.1.2 issue?

    Hi Paolo.
    I'm also doing such tests.
    I did not ran into these problems because I created the busisness componentes using an Oracle connection first.
    After that, I switched the datatype of the table columns in the entity object to meet the SQL92 criteria ( like changing NUMBER(n) to INTEGER ).
    And then, I switched the connection to the postgreSQL or MySQL. This worked fine for me.
    But, the other big problem you will face is related to updating records using postgreSQL connection.
    Please see my post "Problem updating records using BC4J with foreign data sources" Problem updating records using BC4J with foreign data sources
    It would by fine if we help each other to solve this problems.
    Thanks
    Denis

  • Comparison of Oracle, MySQL and PostgreSQL DBMS

    Hi,
    Wanted to share this article:
    http://www-css.fnal.gov/dsg/external/freeware/mysql-vs-pgsql.html
    Regards,
    Priyanka

    thanks for the link. i wonder how they determined
    the % of installations though.
    anyone know?Very approximately it would seem. They quote market share as of July 1 2004 showing MySQL at 33%, the same numbers are on the MySQL site.
    SQL Server with 78%, Oracle - 55%, MySQL - 33% and PostgreSQL - 8%.
    While this story from June 4 2004 quoting IDC research has the Market shares for 2003 at
    http://www.internetnews.com/stats/article.php/3363801
    Oracle garnered 39.8 percent of the market for software that helps users retrieve and store information, with IBM nabbing 31.3 percent and Microsoft grabbing 12.1, ... open source database leader MySQL's market share is a negligible one-tenth of 1 percent now
    And I'm sure a bit more googling could throw up even more wildly different numbers.
    Like this more recent Gartner survey for 2005
    http://www.forbes.com/markets/2006/05/25/oracle-0525markets13.html
    According to the Gartner study, Oracle (nasdaq: ORCL - news - people ) enjoys about 50% of the total RDBMS market
    This would be nice if Oracle ever implemented it,
    Oracle: Yes. ON DELETE CASCADE supported
    PostgreSQL: Yes. ON DELETE CASCADE and ON UPDATE CASCADE supported. Message was edited by:
    3360
    I never noticed that the quoted numbers don't even add up to 100% percent so it is not really market share.

  • Create or find Query builder for mysql or any db

    Ok. Is there a query builder tool out there that will let me create queries on the fly for an application or do I need to build it myself? This is the scenario. I have a client that is in the real estate business, and he wants users to be able to go to his site, query his (mysql)-at the moment db, and get a result set back. I could easily create some queries that would take in a paramater and query the db for it and return result back. But, he wants them to be able to be able to put in specific info. Houses in this certain region, certain number of bedrooms, houses in this price range, etc... I have done a few query statements, but never built a dynamic query tool. What are my options, and/or how would I go about this and what should I use?
    orozcom

    Most query builders I have seen simply allow the user to build an SQL select statement, given a list of tables and the columns in those tables. But you do not want one of those, as the users of the site aren't going to want to write SQL. You need to write some code that takes their selections (e.g. a drop-down box with a list of region codes, a text box for number of bathrooms, whatever) and builds a query from that.
    I think any package that did that sort of thing would be so complex (think Struts for example) that you are better off writing the code yourself.

  • Query folding available datasources and how does it work with HDInsight

    Hi everyone,
    is there anywhere official list of data sources that support query folding? I searched for quite a long time and the only list I got is in post by Matt Masson from 2013 http://www.mattmasson.com/2013/07/filtering-in-data-explorer/ 
    Especially I'm curious how it works together with HDInsight. Ability to analyze Big Data from Excel sounds cool. But analyzing Big Data client side in Excel doesn't sound that cool at all. I'm afraid I already know the answer, that query folding isn't supported
    against HDInsight in terms of analyzing data (not HDFS paths).
    Thanks for any helpful comments
    Jiri
    Jiri Neoral -------------------------------------------------------------- Please mark as helpful if it helped to point you in direction. Mark as answer if it answered your question.

    Correct. We don't currently have any native support for executing queries in Hive or with Map-Reduce when accessing data in HDFS or HDInsight-compatible blob storage. If the data and queries are Hive-compatible, you could try using a Hive ODBC driver for
    this purpose.

  • How do I use iPhoto vs. Pictures folder for organization and viewing?

    I have a high level question as to how to use, in general not specific functions, iPhoto on my new iMac.  I imported all of my PC files from an external drive into the appropriate Folders (Pictures, Documents, Music, Movies) successfully.    So my large collection of photos resides in many sub folders under Pictures (like ‘2012 Mom Visit’ or “Christmas 2008’).
    My question is should I be using iPhoto as my primary app for viewing and organizing my full inventory of pictures, along with obviously editing/creating? Or do I use the default Pictures folder, and dig through with Finder or some search mechanisms if I only want to look at a photo and save iPhoto for editing and creating tasks?  If iPhoto should be my primary photo browsing and organizing tool, and I hope so because I would like a tool to just organize/view/search all my photos rather than thumbing through the folder structure, how to I “import” or tell iPhoto where all my photos are (there are a lot under a lot of subfolders)?  Will iPhoto then keep duplicate copies of these or do all my photo files remain in the Folder structure?
    Bottom line: is iPhoto supposed to be my go-to place for all my photo browsing, viewing, searching as well as editing and creating?  Should every photo I add to this iMac somehow be linked or imported through iPhoto?
    I also have pictures in the cloud and on an iPad (since my PC died I dumped camera photos directly to the ipad) but I’ll deal with these after I understand the appropriate use for iPhoto.
    Thanks for any input.

    The important thing to remember is there is no "supposed to" or "best way". There's what works for you and you photos. This may be iPhoto or some other app.
    Couple of thoughts: iPhoto is not an editor. It's a Manager - like Contacts for your Addresses or iTunes for your Music, it offers powerful and easy to use tools that will help you manage and share your photos in the various ways you might need it. It will also enhance and crop and edit photos as well, but if you're not using it as a manager then forget about it for editing as it will be just too complex. There are loads of editors out there.
    If you use iPhoto then it's your "go-to" for anything to do with your Photos. Viewing, Organising, sharing, Uploading, Printing, whatever. All of these things can be done either with or via iPhoto. Put another way, you never access your files via the Finder.
    For more on this see this User tip:
    https://discussions.apple.com/docs/DOC-4491
    There are two ways to set up your iPhoto Library. Managed and Referenced
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management. 
    As you are new to iPhoto I strongly urge you to run a Managed Library. There are many pitfalls with a Referenced one - see here for instance
    https://discussions.apple.com/thread/3062728?tstart=0
    and for someone new to iPhoto and The Mac you can lose data very easily with a Referenced Library.
    However you store the files, importing is the same: easiest way: drag a folder of images to the iPhoto Window and iPhoto will import it and create an Event from it.
    If you have a managed library then it will copy the files into its own Library. You filing structure is then pointless. You can trash it - but don't do it immediately. iPhoto is a great app, but it's not necessarily for everyone. When you've lived with it for a few weeks and are sure it's for you, that's when you can trash your own filing structure.
    The problem with what you have now - files-in-folders-and-subfolders - is that it is limited. Searching is trcky as you don't have a whole lot of things to search on. I append the following to show you some of the options available in iPhoto.
    I use Events simply as big buckets of Photos: Spring 08, July - Nov 06 are typical Events in my Library. I use keywords and Smart Albums extensively. I title the pics broadly.
    I keyword on a
    Who
    What
    Where basis (The When is in the photos's Exif metadata). I also rate the pics on a 1 - 5 star basis.
    Using this system I can find pretty much find any pic in my 44k library in a couple of seconds.
    So, for example, I have a batch of pics titled 'Seattle 08' and a  typical keywording might include: John, Anne, Landscape, mountain, trees, snow. With a rating included it's so very easy to find the best pics we took at Mount Rainier.
    File -> New Smart Album
    set it to 'All"
    title contains Seattle
    keyword is mountain
    keyword is snow
    rating is 5 stars
    Or, want a chronological album of John from birth to today?
    New Smart Album
    Keyword is John
    Set the View options to Sort By Date Ascending
    Want only the best pics?
    add Rating is greater than 4 stars
    The best thing about this system is that it's dynamic. If I add 50 more pics of John  to the Library tomorrow, as I keyword and rate them they are added to the Smart Album.
    In the end, organisation is about finding the pics. The point is to make locating that pic or batch of pics findable fast. This system works for me.

  • Adhoc Query iview for IT0006 and IT0021

    Hi All
    SAP has given page in MSS for IT0006 and IT0021 - 'Generic iview Test Page'. This page has 3 iViews : one for employee search , second for IT0006 and third for IT0021. This page is working ok and retrieving data from back end.
    But If I replace IT0006 or IT00021 query with my own query then the error on Page is 'System cannot retrieve data'
    SAP standard query given in iview property is MSS_IT0006, If I replace this query with my query ZMSS_IT0006 then I get above error.
    I have created query ZMSS_IT0006 in  work area:- global , usergroup:- /SAPQUERY/MS
    Is there any aditional config need if we replace standard SAP query by our own query?
    Amit.

    in the adhoc query we can select the periods based on the frequency but the dates will not get default
    As in the Pay roll driver the dates get defaulted based on the settings made in Control Record Status
    so i dont think this is possible thru Standrad
    let wait for expert views

  • Common presets folder for PPro and AME?

    This has been driving me a little bonkers: when you create an encoding preset in the PPro export module (before AME launches), that preset is not available as an applicable preset from the AME interface. The opposite is also true: design a preset in AME, and it doesn't show up in the PPro export module.
    I'm aware that you can import one program's encoding presets into another (.EPR files), but this seems a bit clunky. Is anyone aware of a way to use a common folder to share presets between these two apps? Or am I doomed to a lifetime of aimless preset importing (dramatic soap opera music sweep added for effect)?

    Craig,
    "PPro export module" is a "for lack of a better term" description of what you see when you execute File > Export > Media from the PPro interface. It's what launches before the sequence is sent to AME for encoding, and where you set up your encodes parameters or apply a preset. It's these presets that are confounding me, in that ones I create in this interface are not directly available in the AME interface. Seems a little silly, since both modules/interfaces/whatever create preset files with an .EPR extension that can be imported into the other, but are otherwise not directly accessible. I create dozens of different export presets, so for housekeeping purposes and preservation of sanity purposes, it would be nice/awesome/logical to have a common repository for these shared presets. Hardly anything to get all in a bunch about, but it's one of those enhancements that would make life a little easier.
    That all said, I think I might have found the solution, but I didn't discover it until late on Friday, so I'm waiting until tomorrow to fully kick its tires. I'll post back if it works, as I suspect a limited subset of other users might find this helpful, as well.

  • JSF 2 resources folder for js and css files

    Hello,
    Could I change somehow default 'resources' folder for h:outputStylesheet and h:outputScript tags

    To see what the Widget Browser is and does, have a look here http://labs.adobe.com/technologies/spry/wb/dev_guide.html.
    This means, that anyone can create a widget which can then be used via the Widget Browser.
    It also means that the included code can be of any format including having references to files that are located elsewhere, as in your case, by Google.
    This is not a bad thing. You could alsways copy the contents of the file into a local file if you wish.
    I hope this helps.
    Ben

  • Dreamweaver CS6 lacks sample folder for Frameset and Frames

    My copy of Dreamweaver CS6 installed from a CD lacks one of three sample folder. It's the sample forlder of Frameset and Frames. How can I get that folder which is missing ?

    Frames are so bad for users and SEO they are gone.
    http://www.html-faq.com/htmlframes/?framesareevil
    Please consider SSI (server-side includes)
    http://www.tizag.com/phpT/include.php
    or DW Templates

  • SAP Query error for VBAK and KONV tables

    Dear Experts,
    Want to create SAP Query for below requirement but faced some error
    Step1) Extract the data from VBAK table w.r.t.  order type ,  Sale org and date range
    and collected the Sales order numbers and doc. condition record (KNUMV)
    Step 2)In table KONV (Transactional condition record data) in this table provided input as doc. condition record (KNUMV) with respect to condition type ABCD
    Manually i extracted data, there is no problem .
    But customer want to generate SAP Query for above requirement
    I tried to create but in t.code  SQ02 when i tried to join the table VBAK and KONV i faced the below error
    Table KONV cannot be used in a join.
    How  can I create SAP query for above requirement ???
    if its not possible then create Z report is the only solution ??????
    Thanks in advance

    Hello
    You can not create Query report with joining KONV. But there is one solution for your problem. You can create Query report by using Database VAV. In this logical database you will find all SD tables and also KONV. Use only those tables and fields which you want in your query report. I have checked this and its working
    Please try this and update the forum accordingly.
    Edited by: moazzamjii on Jun 30, 2011 12:13 PM

  • $indesign folder for 64 and 32 bit

    I'm trying to include both 64 and 32 builds of C++ plugin into zxp package. Here is my mxi configuration:
    <macromedia-extension
            name="Plugin-Name"
            requires-restart="true"
            version="1.0.0">
        <author name="My-Name"/>
        <products>
            <product familyname="InDesign" version="9" required="true" />
        </products>
        <files>
            <!-- inDesign CC win 32 -->
            <file products="InDesign32" platform="win" minVersion="9" source="static/" destination="$indesign/Plug-Ins/My-Plugin"/>
            <file products="InDesign32" platform="win" minVersion="9" file-type="plugin" source="win/cc/x86/MyPlugin.pln" destination="$indesign/Plug-Ins/My-Plugin"/>
            <file products="InDesign32" platform="win" minVersion="9" source="win/cc/x86/(MyPlugin Resources)/" destination="$indesign/Plug-Ins/My-Plugin"/>
            <!-- inDesign CC win 64 -->
            <file products="InDesign64" platform="win" minVersion="9" source="static/" destination="$indesign/Plug-Ins/My-Plugin"/>
            <file products="InDesign64" platform="win" minVersion="9" file-type="plugin" source="win/cc/x64/MyPlugin.pln" destination="$indesign/Plug-Ins/My-Plugin"/>
            <file products="InDesign64" platform="win" minVersion="9" source="win/cc/x64/(MyPlugin Resources)/" destination="$indesign/Plug-Ins/My-Plugin"/>
            <!-- inDesign CC mac -->
            <file products="InDesign" platform="mac" minVersion="9" source="static/" destination="$indesign/Plug-Ins/My-Plugin"/>
            <file products="InDesign" platform="mac" file-type="plugin" minVersion="9" source="mac/cc/MyPlugin.InDesignPlugin" destination="$indesign/Plug-Ins/My-Plugin"/>
        </files>
    </macromedia-extension>
    I'm packing it with CS5 Extension Manager, as CC doesn't have an option to pack extension anymore. Package is being generated just fine.
    When I'm trying to install the package with CC Extension Manager it throws an error, saying that DB could not be updated. But still, all files are copied as desired, except 32 bit inDesign has plugin from 64 bit version... Looks like $indesign folder is always mapped to 32 version and .pln file get's overwriten.
    Is it possible to package 64 and 32 bit plugins into same zxp package? Should I use some specific package software (instead on Extension Manager CS5)?

    Thank you for your help.
    I fixed “InDesign32” -> “InDesign”, but it did not solve the main issue.
    Furthermore, for an experiment I completely removed section with 64 from mxi, like this:
    <macromedia-extension
            name="Plugin-Name"
            requires-restart="true"
            version="1.0.0">
        <author name="My-Name"/>
        <products>
            <product familyname="InDesign" version="9" required="true" />
        </products>
        <files>
            <!-- inDesign CC win 32 -->
            <file products="InDesign" platform="win" minVersion="9" source="static/" destination="$indesign/Plug-Ins/My-Plugin"/>
            <file products="InDesign" platform="win" minVersion="9" file-type="plugin" source="win/cc/x86/MyPlugin.pln" destination="$indesign/Plug-Ins/My-Plugin"/>
            <file products="InDesign" platform="win" minVersion="9" source="win/cc/x86/(MyPlugin Resources)/" destination="$indesign/Plug-Ins/My-Plugin"/>
        </files>
    </macromedia-extension>
    I didn't get any error message from Extension Manager CC and plugin is now listed in installed plugins. But it was installed for both 32 and 64 bit versions of inDesign.
    Same work vice versa - if I leave only 64 version it still get's installed to both 64 and 32 inDesign.

  • SQ01 Query Help for (MKPF and MSEG)

    Is their anyway to have the field MSEG-ERFMG show up on the query results as postive or negative color or use a "-" or "+".  Need to try and show whether is was a negative or postive movement.

    F1 help for MSEG-SHKZG
    Debit/credit indicator in revaluation
    This indicator is used for internal program control.
    Please do not change the entry in this field.
    Any changes made could lead to program errors or terminations.
    I guess the "sign" is defined trough this field ("S" - sollen (debit), "H" - haben (credit)). If my assumption is true, you won't be able to see + / - in MSEG-ERFMG simply because this field contains no information on the sign.
    Using ABAP code you can solve it (or in SQ01 you can use calculated field in your query...I'm not sure you can define that calculated field to cover your requirement...).
    Regards,
    Csaba
    Edited by: Csaba Szommer on May 12, 2009 11:20 PM

Maybe you are looking for

  • HT204088 my ipad shows it is disabled,how can i get it back to normal.

    My ipad shows it is disabled,how can i get it back to normal

  • Screen flicker when dragging documents

    Does anyone experince screen flicker when dragging files from the Finder to the Desktop? Here's a short video showing the problem.

  • Newbie : HD / SD / footage length

    Hello I have finish the editing of the film of the wedding of my daughter. This film was made with 4 cameras. 1 camera is in 1920 x 1080 29,97 fps 3 cameras are in 1440 x 1080 25 fps All my sequences are 1920 x 1080 25 fps or 29,97 fps Now I want to

  • Chrome PDF Rendering Issue

    Hello all, I've been noticing some odd behavior in Chrome when trying to render a PDF I've exported from InDesign; attached is a screenshot of the symptom, and if you take the following link, you can also see it firsthand (though occasionally it will

  • Adding an mSATA SSD to an X230

    I gather in some parts of the world you can get an X230 with an HDD and an SSD (in place of the WWAN adapter) from the factory, but not in the US.  So, I'm thinking of doing it myself.  My plan would be to add the SSD before installing any of my own