Can we Save BQY without result set/data through dashboard script

Hi All,
Can we save a BQY without result set/data through dashboard script?
Thanks,
Soumitra

Hi Soumitra,
Its happy that you resolved it by yourself. But if you post your solution here then it will be helpful for everyone else looking for the same solution.
Thanks,
karthick

Similar Messages

  • Ios7 has frozen my ipad while installing. Can I save it without having to restore?

    my ipad has frozen whilst updating to ios7. can I save it without losing everything & having to restore it?

    Perform a Reset...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • 3 relatively identical queries.  Can we reuse the intial result set.

    I have a report... It has 3 queries.. These queries are basically the same except the group by differ in columns. Each query basically rolls up data into higher level aggragates. The underlying returned record set is the same, just a different group by in each query. Is there a way to get the record set once and reuse it in each query so that I dont have to perform the exact same underlying query over again? I ask because these queries can return 100,000 thousads of rows. There is also a dblink in between the query and the data. I know I can make sql records and use the table() command on a collection of sql records. Is that the only way to do something like that? Would that be efficient? Is there a way to give the result a name and then tell the subsequent queries to reuse the result associated with the name? It just seems very wastefull to perform the same query three times when I could do it once and reuse it.

    relatively identicalJust a though, two query are identicals, or are not identical.
    If I well understand, you need to aggregate differently the queries results, right ? That means, not only the GROUP BY are differents, but also the SELECT clauses. Do you have queries samples ?
    If you are getting the data through a db-link, a way could be to replicate the remote data locally (with in a MVIEW for example), you could save a lot of time to transfer the data over the network only once instead of three times.
    Nicolas.

  • How to highlight result set data on world map

    Hi,
    I want to show the graphical representation of world map to highlight the countries which having the maximum booking of hotels of our client xyz.
    All the values are coming from the mysql db .
    I want the library which will draw the world map on the Jpanel for the respective result set
    Plz help me for this .
    I generally use the JFreeChart for drawing the other graphs but the Jfreechart don't have the library for the World Map or Destination Graph etc.
    Hint: ( Google Analytic's map is the best example )
    Thanks In Advanced
    Mahesh

    This isn't what you want, but it will get you on the right track. I chose the most complex image I could find so give it a few seconds to read the image and build the paths. The parser is catered to the image I chose, but in general you can probably expect the "path" element to delineate the boundaries for any map svg. The particular image I chose grouped the paths with country ID so I added a little mouse interaction to the GUI. Forgive me for any dumbly coded stuff. I didn't put much effort into streamlining it.
    import org.xml.sax.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.helpers.DefaultHandler;
    import java.awt.geom.Path2D;
    import java.util.StringTokenizer;
    import java.net.URL;
    public class WorldMapTest {
        public static void main(String[] args) throws Exception {
            SAXParserFactory factory = SAXParserFactory.newInstance();
            SAXParser saxParser = factory.newSAXParser();
            SimpletonPathExtractor handler = new SimpletonPathExtractor();
            saxParser.parse(new URL("http://upload.wikimedia.org/wikipedia/commons/b/b7/World98.svg").openStream(), handler);
            createAndShowGUI(handler.locations);
        public static void createAndShowGUI(final java.util.List<Location> locations) {
            JFrame frame = new JFrame();
            JPanel p = new JPanel() {
                @Override
                public Color getBackground() {
                    return Color.white;
                public void paintComponent(java.awt.Graphics g) {
                    super.paintComponent(g);
                    Graphics2D g2 = (Graphics2D) g;
                    g2.scale(getWidth() / 8000.0, getHeight() / 3859.0);
                    g2.setColor(Color.black);
                    Point p = getMousePosition();
                    if(p != null) {
                        p.x = (int) (p.x * 8000/getWidth());
                        p.y = (int) (p.y * 3859/getHeight());
                    String placeID = null;
                    for (Location loc : locations) {
                        if(p != null && placeID == null && loc.boundry.contains(p)){
                            g2.setColor(Color.LIGHT_GRAY);
                            g2.fill(loc.boundry);
                            placeID = loc.id == null?"Unkown":loc.id;
                            g2.setColor(Color.black);
                        g2.draw(loc.boundry);
                    if (placeID != null) {
                        g2.setColor(Color.green.darker());
                        Font f = g2.getFont();
                        f = f.deriveFont(Font.BOLD,(f.getSize() * 8000f / getWidth()));
                        g2.setFont(f);
                        g2.drawString(placeID, p.x, p.y);
                public java.awt.Dimension getPreferredSize() {
                    return new Dimension(1000,482);
            p.addMouseMotionListener(new java.awt.event.MouseAdapter() {
                @Override
                public void mouseMoved(java.awt.event.MouseEvent e) {
                    ((JComponent) e.getSource()).repaint();
            frame.setContentPane(new JScrollPane(p));
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
            frame.setVisible(true);
        public static class SimpletonPathExtractor extends DefaultHandler {
            java.util.List<Location> locations = new java.util.ArrayList<>();
            String recentID;
            @Override
            public void startElement(String uri, String localName, String qName, Attributes attr) throws SAXException {
                if("g".equals(qName)) {
                    recentID = attr.getValue("id");
                if ("path".equals(qName)) {
                    int length = attr.getLength();
                    for (int i = 0; i < length; i++) {
                        String attrN = attr.getQName(i);
                        String val = attr.getValue(attrN);
                        if ("d".equals(attrN)) { //path data
                            Path2D path = new Path2D.Double();
                            //assume simple polygonal path
                            StringTokenizer tk = new StringTokenizer(val, "MLzZ ");
                            try {
                                path.moveTo(Double.parseDouble(tk.nextToken()),
                                            Double.parseDouble(tk.nextToken()));
                                while (tk.hasMoreTokens()) {
                                    path.lineTo(Double.parseDouble(tk.nextToken()),
                                                Double.parseDouble(tk.nextToken()));
                                path.closePath();
                            } catch (Exception e) {
                                throw new Error("I'm a simple parser. I can only do "
                                        + "'LineTo' paths!", e);
                            locations.add(new Location(path,recentID));;
            public void endElement(String uri, String localName, String qName) throws SAXException {
                if("g".equals(qName)) {
                    recentID = null;
        public static class Location {
            Path2D boundry;
            String id;
            public Location(Path2D boundry, String id) {
                this.boundry = boundry; this.id = id;
    }

  • When i close firefox.how to save firefox.without losing any data,and when i restart.the tabs come back.how

    how to save firefox,without losing data.that means when i am closing firefox its not asking to svae or not

    In the Tools menu select Options to open the options dialog. Select the General panel and change the setting "When Firefox starts" to "Show my windows and tabs from last time".

  • JdbcodbcDriver uses the wrong charSet for interpreting the result set data

    Hi everyone,
    I?m having trouble getting results from a MS Access database which uses Greek characters. All the characters in the range 0-127 are returned good but I get ??? for all above 127.
    Here is some more details:
    OS: win2k
    Local setting for current user: Greek (not that it makes a difference)
    Default Language setting for the System: English (Astralia). This uses charSet Cp1252 or ISO 8859-1 encoding.
    Environment: JBuilder 7.0
    JDK: 1.4.1
    DB: MS Access
    DB charSet: Cp1253 (Greek encoding or ISO 8859-7)
    Connection method:
         java.util.Properties prop = new java.util.Properties();
         prop.put("user" , userName);
         prop.put("password" , password);
         //driver is "sun.jdbc.odbc.JdbcOdbcDriver";     
         //none of these work
         //prop.put("charSet", "UTF-8");
         //prop.put("charSet", "Greek");
         prop.put("charSet", "Cp1253");
         connection = DriverManager.getConnection(MY_ACCESS_DB,prop);
    DataSet Access method:
         // run query and get resultSet rs here
         char[] cBuff= new char[1000];
         // I have tried getString(), getBytes(), getBinaryStream also
         Reader rReader = rs.getCharacterStream(3);
         BufferedReader fIn = new BufferedReader(rReader);
         int res = fIn.read(cBuff, 0, 999);
         // contents of cBuff is incorrect here
    I have also used -Dfile.encoding=Cp1253 in command line which seems to change the default charSet of the JVM. Tested
         String en = new InputStreamReader(System.in).getEncoding();
         System.out.println("Default encoding: " + en);
    By enabling trace and looking at the content of the resultSet object it shows that
    rs.OdbcApi.charSet = "Cp1253"
    So I'm absolutely stumped. The only possible problems I can think of is either a bug in the jdbcodbcDriver or in my native ODBC driver. The latter is less likely since I connected to the same datasouce using a different application and get the right result.
    One more thing that may be helpful, if I set up the default charSet under Win2K to "Greek" (that is setting default language setting in Regional Options under Control Panel)
    Everything works fine.
    Is there anyone out there with answer to my problem?
    Thanks in advance.

    Tried your program and it does exactly as I expected. I get a whole lot of '?'s with my OS default language setting on English but it works fine as soon as I set it to Greek. It does not make a difference if I change the "input language" on the language bar (shift+ctrl) to Greek or not. Or if I change the charSet in your program to something else. Which bring up the question what do you use the charSet setting on your program for? If it is for byte conversion, I don't think you need it since the OS default charset is used by ResultSet.GetString and that needs to be set anyway.
    Anyhow your program basically behaves exactly the same way as mine does. I am almost 100% sure that the problem is with the properties used (or not used) when creating the connections. There has got to be a (provider) property like "useUnicode" or "charSet" or something that is passed through jdbcodbc bridge to ODBC to MS Access to force it to return the result set in UTF-8 format. I confirmed this by using Visual C++ data access program that i wrote (which has the same sort of problem). All other MS Office products know about this property that why they work when i imort data from them.
    This means I don't have a jdbc or even a java problem but my problem is MS Access related. So I�m going to post a question on an MS Access user group (if I find one) and see what I get). Thanks for your help with this.
    By the way AOKabc crashed once and froze another time. I think it had more to do with the libraries you are using rather than your code. I have a trace log if you are interested.
    Soheil

  • Photoshop Elements 13 (Mac) Organizer - Can't save file with version sets.

    I have spent many hours now trying to get Elements Organizer to save Version Sets when I've edited a photo. I've tried more or less every little thing you can find online without any luck. But just moments ago I found that if I move the file to my desktop everything works just fine. I then tried to edit files in a few other folders (also imported to my Organizer) and found that when ever the folder was named to something with a nordic letter in it (å, ä, ö) then I couldn't save my file with version sets (option greyed out) but if I moved that same file to another folder, well then everything worked as it's suposed to.
    I'm using the trial version of PSE 13 for Mac (Yosemite) and the full version is ordered and on it's way. But if this problem can't be fixed, I need to return that order and buy some other photo editing program.
    Can anyone help me with this problem? Is there perhaps a solution to this?
    Please, any help is much appreciated!

    I'm using the English version (as more or less always - Swedish is rarely an option). The thing is that I have never encountered this problem before in any other software I've been using, and certainly not in Aperture that I've been using up until now.
    I name my photo folders with a date and a few words, for ex. "2014-12-31 New Years in Stockholm" (but I normally write in Swedish). I use this method so that my folder that contains the original photos will be easy to find in even without any other software than Finder (or Windows Explorer if I connect my external drive to a Windows machine). I could change the name of all of my folders, or at least all of the folders with a name containing one or more of the letters Å, Ä or Ö to "force" PSE to work as it should, but why? This really shouldn't be a problem.
    I was hoping that their was a simple option or something like that that could fix this issue, but I guess not.
    If this problem lies in the software itself I will have to return it and look elsewhere (but where? Lightroom is certainly not an option if Adobe can't handle "normal" letters and Aperture is discontinued in a few months).
    Thank you for your reply!

  • I purchased pages but after upgrading to mountain lion I can't save documents without "activating" a trial???

    I purchased pages with my macbook almost 2+ years ago and have since used it without difficulty.
    Unfortunately along with several other problems associated with upgrading my system software, Pages is apparently unaware of it's activation on my machine even though it is clearly installed and there are hundreds of saved documents under the same program.
    How can I bypass having to rebuy the program or activate a "trial" period, as I obviously have the program and just want to save a document?

    This means that at some time you had the iWork ’09 trial installed. You need to delete the trial & then reinstall from the boxed DVD or the Mac App Store. The files to delete are the iWork ’09 folder from the main HD > Applications; the iWork ’09 folder in HD > Library > Application Support & the individual iWork application plist files found in HD > Users > (your account) > Library > Preferences for each user. Yvan Koenig has written an AppleScript that removes the files. You can find it on his box.com account in for_iWork'09 > other_iWork'09 items > uninstall iWork '09.zip.

  • Hi. I am using a GPIB controlled Tektronix oscillosco​pe 11403. I am controllin​g it using Labview. I can extract the waveform trace through the program. But how can I save a hardcopy of that data in a spreadshee​t?

    Thank you very much.

    If you want a text file in comma or tab separated data, then all you have to use is Write to Spreadsheet File.vi which will save either a 1D or 2D array array of data (i.e. 1 or 2 traces). If you want to write directly to Excel, you can modify the Write Table to Excel.vi example. There have been other Excel examples posted to the forum that you could do a search for.

  • Managing Result Set Data

    I am trying to display a large amount of data on a web page - enough data that I need to partition it into smaller sets of data to show on each page. It is also too much data to cache all of it.
    The first idea I had was to use the rownum in the sql statement. For example for page 3:
    SELECT * from table_name where rownum between 200 and 300
    However I found this is not an appropriate use of rownum.
    The only other idea I have is something like the following, where I return all the data and sort out what I want. But I know this is a common issue, and there has to be a better way to return blocks of data. Anyone have a suggestion?
    int pageCount = 100;
    int rowNumber = 0;
    while(rs.next())
    if( rowNumber < storedRowNum ) //row is less than specified range - do nothing
    else if( rowNumber > storedRowNum + pageCount ) //row is greater than specified range - exit loop
    else //this is the data range I want for this page - store in a Collection to display
    }

    But I know this is a common issue, and there has to be a better way to return blocks of data.
    Anyone have a suggestion?You're right, this is a common issue; search the forums for various solutions.

  • How can I delete history without deleting website data

    HHow can I delete safary history without deleting website data

    Create an application from this Applescript with AppleScript Editor and run it whenever you want to clear just the history:
    tell application "Finder"
      activate
      delete file "History.db" of folder "Safari" of folder "Library" of folder "XXXX" of folder "Users" of startup disk
      empty trash
    end tell
    where XXXX is your Home folder name or user short name.

  • How can i save things without iClouds?

    my ipod has to be restor but before do this i want to save all of my pictures, apps and all of the above in iTunes but im not sure if it save all of this can you help me?

    Follow the instructions here to make sure that you get all your media in your iTunes library.
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • Whether we can store integer in a result set object

    i am learning java. help me out in this regard

    Dear friend ! Can you be more specific with the problem you encountered ?
    Cheera

  • Can i save my speed dial setting and links to websites before upgrading to the latest version? in the past I have lost everything

    I have version 14.0.1
    Previuous updates have cause a lot of inconvienience when speed dials all disappeared.

    thank you sir for the helpful reply, if my iphone 4 was hacked ,can a mobile shop in philippines rehack it again ? but this time with iOS 6.1.2? I dont know the term but one thing I know was I didn't need to open it here in the philippines cause when I put the simcard inside the iphone it worked and everything was fine, I could send text and make calls sir. As of now, I'm planning to go to a mobile shop and ask them to update it for me, my only worry is when my iphone gets stuck on activation screen. can they solve it if my worry happens? my cousin experienced the same thing, her iphone 4s was stucked on the activation screen, it was sold to her mom by a mobile shop and I think it was not brand new, she tried activating it on the itunes here in the philippines but it didn't work and a mobile shop said it would not be activated because it was unlocked..
    Sir, if ever that my iphone 4 was hacked from any carrier in japan? what will happen if I update it to ios 6.1.2.  will it be stucked? what is the best thing to do sir, I want to update mine so I can use different applications taht require iOS6? HELP

  • HT1843 I'm using manual proxy setting for my wifi network, how can i save my manual proxy setting , in maual HTTP Proxy i have give server,port username and password details but it asking again and again pop window( Authentication for HTTPS proxy) how can

    give me soluiton.

    Hi,
    My thought is to check the current IP of the server, as your smb.conf has the line interfaces = 192.168.1.109 which means samba will only listen on that interface for requests. If the IP of the server has changed, that would explain why samba isn't working.

Maybe you are looking for

  • HT201412 My home button won't work? How do I fix it?

    I have re-started a few times and the home button will not work

  • How do I use oracle.jbo.domain.Date truncate() method?

    Hello - I want to get the equivalent of "trunc(SYSDATE)" in the form of an oracle.jbo.domain.Date instance. I think I can do this by getting the current date and truncating the time portion: Date myDate = Date.getCurrentDate(); myDate.truncate(some_p

  • PI 7.0 SERVER INSTALLATION

    Hi all, Recently I did pre installation and post installation .For testing of sever  I have done one sample file to file scenario but when I put the file in the server it is picked but output file is not generated. and in SXMB_MONI it was showing thi

  • Small dvd stuck in dvd drive

    My son stuck a small dvd into the dvd drive in my MacBook Pro and now I can't get it out.  The size of the dvd is much smaller than standard... it came with a watch I bought my husband for Christmas.  Any ideas on how to eject?  I tried going to Laun

  • MS-6547 BIOS 1.8

    Hi all, just found that MSI had released a new Bios 1.8 for 645 Ultra. Before I flashed i thought that they didn't solve the IOQD-Issue (low RAM-Bandwith). But SURPRISE: this new one seems good for me!!! Whats your expierience ??? ockk