Help with these queries

Hi all,
I need a help with these queries, because is happening a strange problem when I try to execute it.
This first query is executed faster than the other one, around 30 minutes faster.
The queries are the same, but there is a single difference, I switch the hard code value '5.93218%' in a like condition by a variable P_COD_RAIZ || '%', because it can't be hard code.
SELECT max(oh.ohipp) as mesano_ultfatura
INTO V_MESANO_FATURA
FROM sysadm.orderhdr_all@dl_bsc oh,
customer_all@dl_bsc ca
WHERE ca.custcode like '5.93218%'
and ca.customer_id = oh.customer_id
and oh.ohipp = (select max(yy.ohipp)
from orderhdr_all@dl_bsc yy
where yy.customer_id = oh.customer_id
and oh.ohinvtype = 5);
SELECT max(oh.ohipp) as mesano_ultfatura
FROM sysadm.orderhdr_all@dl_bsc oh,
customer_all@dl_bsc ca
WHERE ca.custcode like P_COD_RAIZ || '%'
and ca.customer_id = oh.customer_id
and oh.ohipp = (select max(yy.ohipp)
from orderhdr_all@dl_bsc yy
where yy.customer_id = oh.customer_id
and oh.ohinvtype = 5);
What I want to know is, why the execution time of the second query is greater than the first, if the only difference between it is a variable instead of hard code?
Thanks,
Murilo.

I assume column custcode is also varchar2. Then it looks like a problem with bind values and not evenly distributed data.
When you first run the query with the parameter = '5%' you may get many values and another execution plan as with '5.93218%' on a second run. However the execution plan is saved between the first and second run and not adopted to the new values.
There are ways out of this "bind" problem. But all have to do with providing us a good execution plan first.
However you can start by yourself with forcing the use of the index on the column custcode.

Similar Messages

  • Sign on problems within Elements 10; plus cannot backup writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

    Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

    Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

  • I need help with these two crash IDs nsStyleContext::FindChildWithRules(nsIAtom const*, nsRuleNode*) and DFusionWebPlugin@0x86b5

    I need help with these two crashes...
    PL_DHashTableOperate | GCGraphBuilder::NoteRoot(unsigned int, void*, nsCycleCollectionParticipant*)
    DFusionWebPlugin@0x86b5
    The first one happened a couple of days ago, a few times and not on any specific website.
    The second one only happens on the site below.

    The second one indicates a problem with the DFusionWebPlugin that shows in your More system details list.
    # D'Fusion Web Plug-In for Safari 64 bits (3.00.13774.0)
    # D'Fusion Web Plug-In (3.00.13774.0)
    What you posted are crash signatures.<br />
    It might help if you post the actual crash IDs (bp-xxxxxxxx-xxxxxxxxx-xxxx-xxxxxxxxxxxx).<br />
    You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.
    See http://kb.mozillazine.org/Breakpad (Mozilla Crash Reporter)

  • I need help with these adobe illustrator questions?

    Please help with the following questions. Thanks!!
    The keyboard short for selecting the direct selection tool is?
    The rectangle that shows the outermost dimensions of any box is called the?
    A floating panel can be placed on the panel dock by?
    The selection tool is displayed as a black arrow and is used to select, resize, or move an entire item.(true or false)
    One way to deselect an object is to click somewhere else on the document (true or false)
    A stroke is on the inside of a shape or object (true or false)
    The more text framed you use, the better your document. (true or false)
    The rectangle frame has a non printing X on it (true or false)
    To print preview a document, click on the Save icon on the standard toolbar. (true or false)

    I'm not sure if it's a good idea to go the route you go now.
    You are asking for assistance and – as I understand it – you are just trying to pass a class right now, but you don't know the answers to a lot of pretty basic questions.
    What's your purpose?
    I – as well as many people here – could answer all your questions. Also, I could provide some misleading hints which could cause serious trouble for you in case you would use them in your exam.
    You should go a different route.

  • Hi friends i need ur help for these queries

    Hi friends
    Its urgent
    I have some queries
    1 Tell me the work of Sd consultants in the first stage and second stage
    2 who prepares Bule print and what is the involvement of sd consultants.
    3 In the fourth stage who will do all the testing and what is the need of these testing just like integration, unit testing.
    4 in the implementation how sd consultants inetract with client or how they trained them
    5 tell me the involvement of Sd consultants in asap methodology in each and every satge  in breif
    6 What kind of developments did by sd consultants in implementation
    with best of luck

    Hello Srikanth,
    For most of the query the following link will be helpful.
    http://sap-img.com/general/role-of-a-sap-functional-consultant.htm
    <b>1 Tell me the work of Sd consultants in the first stage and second stage</b>
    The first stage (project preparation) is mainly involves highlevel project planning, defining project scope, project milestones, team building. The functional consultant will not be involve much in this stage as it is high level planning for project.
    <b>2 who prepares Bule print and what is the involvement of sd consultants.</b>
    Pl. refer the above link
    <b>3 In the fourth stage who will do all the testing and what is the need of these testing just like integration, unit testing.</b>
    http://sap-img.com/general/role-of-sap-consultant-in-testing.htm
    <b>4 in the implementation how sd consultants inetract with client or how they trained them</b>
    Functional consultant will mainly train the Super user or power user (if defined in project scope) or they will get trained by SAP academy. Functional consultant will provide formal class room training to the Super or power users
    <b>5 tell me the involvement of Sd consultants in asap methodology in each and every satge in breif</b>
    Refer the above link.
    <b>6 What kind of developments did by sd consultants in implementation</b>
    Functional consultant mainly involve in designing the business process and configuration of SAP system to meet their business process. If there is any GAP (not meeting requirement by std SAP) then functional consultant will suggest user exit / enhancement /  developement to the technical person (developer - ABAPer) to develop the objects.
    The following link will help you a lot to give an idea about the implementation project.
    http://sap-img.com/sap-implementation.htm
    Hope this helps.
    Regards
    Arif Mansuri
    Reward if answer is helpful.

  • Help with SQL queries following migration

    Hi there,
    I have just migrated from MS SQL Server database to Oracle 10g database using the Oracle SQL Developer.
    My application is using JDBC to access the database, and there are heaps of SQL statements that need to be verified and tested. I've found a number of SQL compatibility issues from my testing of the Oracle database and I hope you can help me the following.
    1. Case sensitivity
    Is it possible to not enforce case sensitivity (by default) when performing a select query?
    If this is not possible, all the SQL statements will need to be changed to evaluate column based on uppercase.
    2. Trailing white space
    Is it possible to not evaluate trailing white space (by default) when performing a select query?
    For example, suppose a table column studentNo has trailing spaces (after database migration), e.g. 'A182D '
    when performing query - select * from student where studentNo = 'A182D'
    no results can be found
    3. Issue with Where condition containing with '' = ''
    There are quite a number of SQL statements with Where condition containing '' = ''.
    For example, the following SQL query doesn't return any results even though there are matching suburb that starts with 'ST'. These types of queries are mostly used in dynamic generated queries.
    select * from Address where (suburb like 'ST%') and ('' = '' or country = '')
    Any help or advice will be greatly appreciated.
    Regards,
    Jason Gordon

    As justin mentioned setting those NLS parameters will make oracle not to use your regular index. for that you must create a function based index. See example below.
    SQL> create index t_idx on t (name)
      2  /
    Index created.
    SQL> exec dbms_stats.gather_table_stats(user,'T',cascade=>true)
    PL/SQL procedure successfully completed.
    SQL> explain plan for
      2  select * from t where name = 'karthick'
      3  /
    Explained.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    Plan hash value: 2946670127
    | Id  | Operation        | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |       |     1 |     9 |     1   (0)| 00:00:01 |
    |*  1 |  INDEX RANGE SCAN| T_IDX |     1 |     9 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       1 - access("NAME"='karthick')
    13 rows selected.
    SQL> delete from plan_table
      2  /
    2 rows deleted.
    SQL> alter session set NLS_COMP=ANSI;
    Session altered.
    SQL> alter session set NLS_SORT=BINARY_CI;
    Session altered.
    SQL> explain plan for
      2  select * from t where name = 'karthick'
      3  /
    Explained.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    Plan hash value: 1601196873
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     1 |     9 |     5   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| T    |     1 |     9 |     5   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       1 - filter(NLSSORT("NAME",'nls_sort=''BINARY_CI''')=HEXTORAW('6B61727
                  46869636B00') )
    14 rows selected.
    SQL> create index t_idx_1 on t(NLSSORT(name,'NLS_SORT=BINARY_CI'))
      2  /
    Index created.
    SQL> exec dbms_stats.gather_table_stats(user,'T',cascade=>true)
    PL/SQL procedure successfully completed.
    SQL> /
    create index t_idx_1 on t(NLSSORT(name,'NLS_SORT=BINARY_CI'))
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    SQL> delete from plan_table
      2  /
    2 rows deleted.
    SQL> explain plan for
      2  select * from t where name = 'karthick'
      3  /
    Explained.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    Plan hash value: 2580036035
    | Id  | Operation                   | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |         |     3 |    27 |     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T       |     3 |    27 |     2   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | T_IDX_1 |     3 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access(NLSSORT("NAME",'nls_sort=''BINARY_CI''')=HEXTORAW('6B6172746869636B00') )Thanks,
    Karthick.

  • Help with executing queries in code

    First here is the code for the servlet so far, basically, what it does, is connect to a database which is already populated with pageContent from websites. The user goes to a html page which contains a text field for typing in words to search for, selecting any of the words, all, or exact, selecting the number of results to return, once they click submit, they would receive a page showing the number of results or they would receive a page saying no results found if that were the case. I'm not sure how to setup the correct queries based on the logic they use suh as any, all, or exact and how to find out how many rows were returned by the search. I really appreciate the help, thanks alot Here is the code:
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    public class WelcomeServlet extends HttpServlet {
          public void init()
            try
                Class.forName("com.mysql.jdbc.Driver");
            }catch(ClassNotFoundException cnfe)
              System.out.println("No Driver");
             try
            Connection conn = DriverManager.getConnection("jdbc:mysql://localhost/test",
            "root", "");
           }catch(SQLException sqe)
    protected void doGet( HttpServletRequest request,
          HttpServletResponse response )
             throws ServletException, IOException
          String keywords = request.getParameter( "keywords" );
          String logic = request.getParameter("logic");
          String number = request.getParameter("number");
          response.setContentType( "text/html" );
          PrintWriter out = response.getWriter();
          out.println("<html><head><title>Search Engine</title></head>");
          out.println("<body>");
          out.println("</body></html>");
          public void search(String keywords, String logic, String number)
            Statement stmt = null;
            ResultSet rs = null;
            int num = Integer.parseInt(number);
            String[] tokenList = new String[20];
            int i = 0;
            int max = 0;
            StringTokenizer st = new StringTokenizer(keywords);
            while(st.hasMoreTokens())
              tokenList[i++] = st.nextToken();
              max = i;
            if(logic.equalsIgnoreCase("any"))
            else
                if(logic.equalsIgnoreCase("all"))
                else
                    if(logic.equalsIgnoreCase("exact"))
          }

    I know this is a VERY old topic i'm replying to, but i'm new and couldn't figure out how to contact you directly, and i felt that this wassn't important enough to create a new topic..
    okay duffymo.... would you consider this a search for Lucene or SQL.
    database contains breif description of company's services (max 200 characters), price...name...etc.
    Users can search the database by a form field; the servlet searches the name of hte company as well as the description of the company, and returns all results (10 results per page).
    I think i kinda answered my own question... i think SQL is adequate, but your comment as well as others would be welcome.

  • Help with these!!!!

    hi,
    im doing these questions, im preparing for a test, and im not sure if my answers are correct or not, please help me find my errors:
    1- Which of the following methods must be over-ridden in order to tell the system how to execute a Thread?
    (A)     thread()
    (B)     execute()
    (C)     start()
    (D)     run()
    2- Which of the following is a correct event handling method?
    (A)          mousePressed(MouseEvent e){}
    (B)          MousePressed(MouseClick e){}
    (C)          functionKey(KeyPress k){}
    (D) ComponentAdded(keyPress e){}
    (3) A monitor called mon has 5 threads in its waiting pool; all these waiting threads have the same priority. One of the threads is thread1. How can you notify thread1 so that it alone moves from Waiting state to Ready State?
    (A) Execute notify(thread1); from within synchronized code of mon.
    (B) Execute mon.notify(thread1); from synchronized code of any
    object.
    (C) Execute thread1.notify(); from any code(synchronized or not) of
    any object.
    (D) You cannot specify which thread will get notified.
    (4) Which of the following best describes the use of the synchronized
    keyword?
    (A) Allows two processes to run in parallel but to communicate with
    each other.
    (B) Ensures only one thread at a time may access a method or object.
    (C) Ensures that two or more processes will start and end at the same
    time.
    (D) Ensures that two or more Threads will start and end at the same time.
    (5) How can you retrieve a circle?s radius value that?s passed to an applet?
    (A)
    public void init() {
    String s = getParameter("radius");
    doSomethingWithRadius(s); }
    (B)
    public static void main(String[] args) {
    String s = getParameter("radius");
    DoSomethingWithRadius(s); }
    (C)
    public void init() {
    int radius = getParameter("radius");
    doSomethingWithRadius(radius); }
    (D)
    public void init() {
    int radius = getParameter();
    doSomethingWithRadius(radius); }
    true/false
    1- The method drawRect(int a, int b, int c, int d) defined in
    java.awt draws the outline of a rectangle with a, b being the x,y coordinates of top left corner, and c,d being the x,y co-ordinates of the
    bottom right corner.
    TRUE
    2- There is no statement in Java to free storage.
    FALSE //finalize() is used
    These are some practice questions, since im preparing for a test. Once again im hoping that you guys may help me figure out if my answers are correct or not.
    Thanks in advance

    >
    1- Which of the following methods must be over-ridden
    in order to tell the system how to execute a Thread?
    (A)     thread()
    (B)     execute()
    (C)     start()
    (D)     run()Wrong. This was a particularl bad choice since that method doesn't even exist.
    2- Which of the following is a correct event handling
    method?
    (A)          mousePressed(MouseEvent e){}
    (B)          MousePressed(MouseClick e){}
    (C)          functionKey(KeyPress k){}
    (D)
    omponentAdded(keyPress e){}
    Wrong
    >
    >
    (3) A monitor called mon has 5 threads in its waiting
    pool; all these waiting threads have the same
    priority. One of the threads is thread1. How can you
    notify thread1 so that it alone moves from Waiting
    state to Ready State?
    (A) Execute notify(thread1); from within
    synchronized code of mon.
    (B) Execute mon.notify(thread1); from synchronized
    code of any
    object.
    (C) Execute thread1.notify(); from any
    code(synchronized or not) of
    any object.
    (D) You cannot specify which thread will get
    notified.Please consider reading the API and the threading tutorial before making wild guesses.
    >
    (4) Which of the following best describes the use of
    the synchronized
    keyword?
    (A) Allows two processes to run in parallel but to
    communicate with
    each other.
    (B) Ensures only one thread at a time may access a
    method or object.
    (C) Ensures that two or more processes will start and
    end at the same
    time.
    (D) Ensures that two or more Threads will start and
    end at the same time.
    Correct.
    (5) How can you retrieve a circle?s radius value
    that?s passed to an applet?
    (A)
    public void init() {
    String s = getParameter("radius");
    doSomethingWithRadius(s); }
    (B)
    public static void main(String[] args) {
    String s = getParameter("radius");
    DoSomethingWithRadius(s); }
    (C)
    public void init() {
    int radius = getParameter("radius");
    doSomethingWithRadius(radius); }
    (D)
    public void init() {
    int radius = getParameter();
    doSomethingWithRadius(radius); }
    Wrong
    true/false
    1- The method drawRect(int a, int b, int c, int d)
    defined in
    java.awt draws the outline of a rectangle with a, b
    being the x,y coordinates of top left corner, and c,d
    being the x,y co-ordinates of the
    bottom right corner.
    TRUE
    Wrong
    2- There is no statement in Java to free storage.
    FALSE //finalize() is used
    Hmmm. Your explanation is wrong. The answer... I guess I will agree with.
    You need ALOT more practice. Practice coding for one thing.

  • Help with these two loops

    Hi I hope someone can help me?
    I have these two loops, which at the moment prints out like this
    addr1, id, phone, lastname, firstname
    town, addr2, postcode, county, country
    [7,4,2,1,0]
    [9,8,6,5,3]
    the first two lines is what vector vv2 holds inside it.
    the second two line is what vector vv holds inside it.
    my problem is how can i get it to printout like this?
    [7,4,2,1,0]
    addr1, id, phone, lastname, firstname
    [9,8,6,5,3]
    town, addr2, postcode, county, country
    I hope someone can help me thanks
    nicky
    for (int ii2=0;ii2 < results2.size(); ii2++) {
                    vv2 = (Vector)results2.elementAt(ii2);     
                          ste2 = vv2.toString();
                             stb2 = new StringBuffer(ste2);
                             stb12 = new StringBuffer();
                             int is = stb2.length();
                             int is2 = is-2;
                             int is3 = is-1;
                             stb2.replace(0,1,"");
                             stb2.replace(is2,is3,"");
                             for(int i222 = 0; i222 < vv2.size(); i222++){
                                  stb12.append(",");
                                  stb12.append("?");
                                  stb12.replace(0,1,"");
                                  System.out.println(stb2);
    for (int ii = 0; ii < results.size(); ii++) {
        vv = (Vector)results.get(ii);
    System.out.println(vv);
    }

    You are using more for loops than you need to. If you just want to print out the element of one vector after the other then just put it in the same loop. Here try this:
    for (int ii2=0;ii2 < results2.size(); ii2++) {
                    vv2 = (Vector)results2.elementAt(ii2);     
                          ste2 = vv2.toString();
                             stb2 = new StringBuffer(ste2);
                             stb12 = new StringBuffer();
                             int is = stb2.length();
                             int is2 = is-2;
                             int is3 = is-1;
                             stb2.replace(0,1,"");
                             stb2.replace(is2,is3,"");
                             for(int i222 = 0; i222 < vv2.size(); i222++){
                                  stb12.append(",");
                                  stb12.append("?");
                                  stb12.replace(0,1,"");
                                  System.out.println(stb2);
         vv = (Vector)results.get(ii2);
         System.out.println(vv);
          And for god sakes man use some better names for your for loop iterator. Usually it is custom to start with i and if you need an inner for loop or another for loop within the same scope move on to using j and then k, so on and so on. All those numbers in your variables make the code harder to read than it needs to be. Just a suggestion, good luck.

  • Help with toplink queries

    Hello,
    I really hope that someone has encountered this problem before.
    I have a table that is keyed by following three Varchar Keys:
    PURPOSE_NAME VARCHAR
    GROUP_NAME VARCHAR
    IV_TYPE VARCHAR
    I have a class that has only three attributes defined, namely:
    purposeName
    groupName
    IVType
    I am mapping this class to the table, all columns Direct to Field. I have defined all these three attributes as key fields in the mapping.
    I have a toplink query that does the selection of the rows in the table by PURPOSE_NAME.
    When I look at the log file, it shows me that a SQL statement was run, which was something like this:
    'SELECT GROUP_NAME, IV_TYPE, PURPOSE_NAME FROM IV_TYPE_GRP_MBR WHERE (PURPOSE_NAME = ?)'
    It also says binding attribute DRMWKSTN
    But there are no rows to be displayed !!!
    I changed the query not to have any selection (WHERE clause) and it shows all the data.
    I am baffled. I have tried different options. SQL Plus shows me all the data, Toplink Log shows me the right query, but there is no data shown.
    Has anyone encountered this issue before?
    Thanks for any help.
    Regards,
    Neeraj

    In answer to your question, no I have not encountered this before. However I have a few suggestions:
    Add an integer PK field to the table and to the Object. It is good database design to have a primary key. Toplink works best when the PK field is a sequential integer. It will work with other types of PK, but ints are easiest.

  • Can anyone help with these annoyances

    Hi,
    I've used Logic since 2.4 and enjoyed its continued development and improvement up through Logic 7. Since the major retooling in Logic 8, I feel that it has become more buggy, less professional and genuinely less pleasurable to use. I've found work arounds (or just given up) on some things that used to be easy or even just "doable" in older version... Maybe some of you out there have some solutions to the following annoyances in Logic 9.x
    I wish it would/could;;;
    Return to last play position while in record. (worked fine on Logic 7)
    Copy Drag consistently instead of just moving the part (even though the help tag says "copy" it only drags, then often puts it a measure ahead of where I put it) (worked fine on Logic 7)
    Not Record audio while recording midi if an audio track is in "input" (worked fine on Logic 7)
    Could resize screen objects and things like I really want them to look (worked fine on Logic 7)
    Not have major lag times for things like renaming objects, deleting tracks in the arrange page, bouncing, opening 3rd party plug ins, (worked fine on Logic 7)
    Have freedom to put the loop browser anywhere I want (worked fine on Logic 7)
    Get key commands to work consistently (worked fine on Logic 7)
    Could assign record names globally instead of only on the track being recorded (worked fine on Logic 7)
    Have a visible tool bar for things like "pencil" "fade" "text" etc instead of a pull down menu (worked fine on Logic 7)
    Have visual feedback when I've armed the "Fade" tool (worked fine on Logic 7)
    Be able to choose fonts and sizes on individual score text objects (worked fine on Logic 7)
    Not have help tags constantly bugging me when I'm resizing or moving notes and objects (worked fine on Logic 7)
    Be able to create a new "audio object" in the environment (instead of having to copy something else and then reassign its purpose (worked fine on Logic 7)

    Dan,
    I can commiserate with you on most of these annoyances. Let's just say that we're kindred spirits in this regard. Hopefully I can help you alleviate some of these things that stick in your craw. I'll (try and) limit my comments to things that can be changed (as opposed to those which are "permanently broken"):
    Could resize screen objects and things like I really want them to look (worked fine on Logic 7)
    Plugin windows can be resized in L9. Aside from that, I'll (try to) stick to limiting my comments re those things that cannot be changed.
    Have a visible tool bar for things like "pencil" "fade" "text" etc instead of a pull down menu (worked fine on Logic 7)
    The variety of tools has been reduced (for your safety and well-being) to the lucky number of three, and that's only if you have the right click assigned as a tool. Otherwise you are limited to two. So it's still a palette, though compared to what we used to have it's kind of hard to swallow. In case you didn't notice, there's a pun in there. I almost missed it myself.
    I have my "V" key programmed to call up the toolbox. Its close proximity to the spacebar (play/stop) and the CMD key (for assigning a tool to) make it an ideal way to change tools without having to mouse all the way across the screen to access the unpalatable palette.
    Be able to choose fonts and sizes on individual score text objects (worked fine on Logic 7)
    This is still possible using the slow-to-appear, WYSI-not-WYG, icky-looking, way-too-small-font "Fonts" editor in the score editor. *Text > Fonts...* And because it's no longer even remotely as easy to resize text I've gotten into using the resize tool, as well as setting up various boilerplate text styles using the text styles editor. One thing that's nice though (hey, it's not all bad) is that you can import text styles from other projects.
    Not have help tags constantly bugging me when I'm resizing or moving notes and objects (worked fine on Logic 7)
    These can be disabled in the Logic prefs: *Prefs > Display > General*
    Be able to create a new "audio object" in the environment (instead of having to copy something else and then reassign its purpose (worked fine on Logic 7)
    You can still do this. Environment: *New > Channel Strip > Audio*
    The best thing about Logic 9 is flex editing. Othewise, gimme back L7 any day (minus the bugs, of course).

  • Can anyone help with these kernel panics?

    I work for the NHS.  Have spent most of my salary on Adobe Premiere Pro using a Intel Core Mac OS 10.5.8 which is supposed to be enough for the system requirements.  Have spent all day shutting down my computer unable to start the software.  If it does start it freezes and tells me to restart.  This is not acceptable.  Can anyone help??? Adobe cefrtai nly don't want to is there ahtyone out there with any solutions?  I ahve checked the hard drive it is fine, have done all the usual checks to no avail. Cannot find anywhere to talk to Adobe, their website is a minefield of Groundhog Day!
    I have the same problem with Photoshop purchased last year as part of a creative package.  This is really annoying!

    Dear Wonderspark,
    I am back at my iMac.  Here are the details of my hardware.
    Model Name:
    iMac
      Model Identifier:
    iMac7,1
      Processor Name:
    Intel Core 2 Duo
      Processor Speed:
    2.4 GHz
      Number Of Processors:
    1
      Total Number Of Cores:
    2
      L2 Cache:
    4 MB
      Memory:
    3 GB
      Bus Speed:
    800 MHz
      Boot ROM Version:
    IM71.007A.B03
      SMC Version (system):
    1.20f4
      Serial Number (system):
    W88035L3X86
      Hardware UUID:
    00000000-0000-1000-8000-001EC205D8B9
    Chipset Model:
    ATI,RadeonHD2600
      Type:
    Display
      Bus:
    PCIe
      PCIe Lane Width:
    x16
      VRAM (Total):
    256 MB
      Vendor:
    ATI (0x1002)
      Device ID:
    0x9583
      Revision ID:
    0x0000
      ROM Revision:
    113-B2250F-219
      EFI Driver Version:
    01.00.219
      Displays:
    iMac:
      Resolution:
    1680 x 1050
      Depth:
    32-Bit Color
      Core Image:
    Hardware Accelerated
      Main Display:
    Yes
      Mirror:
    Off
      Online:
    Yes
      Quartz Extreme:
    Supported
      Built-In:
    Yes
    The software versionas are as follows.
    Adobe Photoshop CS5 version 12.0.4
    Adobe Premiere Pro CS 5.5 version 5.5.0
    I hope that is more use.  As I said, the software is successfully installed, but I cannot open Premiere Pro.  Photoshop does open occasionally but rather like Russian roulette.
    I also have the Creative suite and Dreamweaver is no problem, neither is Indesign.  This makes no sense to me I would be grateful for any help.  I have checked the hardware and the system is ok.  I have tried re-installing the software after un-installing it but that made no difference.  I obviously have turned the machine on and off because of the black veil that descends upon the screen during the kernel panic.  Premiere Pro has alo frozen everything rather than causing a panic too. HELP!

  • Help with these java statements

    Can someone help me understand the following :
    "There are no errors but the loop terminates prematurely due to condition using the incorrect relational operator. The values of TotalVAT and TotalCosts will be 0.0."
    double[] Costs = {10.00, 20.00, 30.00, 15.00};double TotalCost = 0.0;double TotalVAT = 0.0;for (int Count = 0; Count > Costs.length; Count++) { double VAT = Costs[ Count ] * 0.175; TotalVAT = TotalVAT + VAT; TotalCost = TotalCost + Costs[ Count ] + VAT;}
    [\code]
    Thank you,

      double[] Costs = {10.00, 20.00, 30.00, 15.00};
      double TotalCost = 0.0;
      double TotalVAT = 0.0;
      for (int Count = 0; Count > Costs.length; Count++)
        double VAT = Costs[ Count ] * 0.175;
        TotalVAT = TotalVAT + VAT;
        TotalCost = TotalCost + Costs[ Count ] + VAT;
      }"the loop terminates prematurely" = the loop ends too early,
    it's not run as often as you think it would be. With loops that is
    often either once too few or not at all, in this case the latter.
    "due to condition using the incorrect relational operator" ->
    relational operators are operators that compare numbers (or other
    data), e.g. ==, !=, <, and >. There is only one relational operator
    here, it's >.
    For-loops work like this:
    for (init; cond; inc)
    init is the initialization, that's fine here: int Count = 0
    cond is a condition that has to be met everytime the loop starts from
    the beginning (not like in some other languages, where the condition is
    the one that will lead to the end of the loop). So here it checks
    whether Count > Costs.length is true and only then it will be executed.
    That's of course nonsense - you want to repeat that loop while Count is
    still less than Costs.length and you want to stop when it reaches
    Costs.length or goes above it, not the other way around. You loop will
    never execute at all! So simply replace the > with a <.
    (inc is the incrementation, that's fine here, too.)
    Say, who wrote that comment "There are no errors but the loop
    terminates prematurely due to condition using the incorrect relational
    operator. The values of TotalVAT and TotalCosts will be 0.0."? Was that
    a contest about being as verbose and ununderstandable as possible?
    A note: Only classes (and interfaces) start with capital letters. Use
    lower case letters for variables (and methods and packages): costs,
    totalCost, totalVAT, count, vat. (ALL CAPS are used for constants.)
    Hope this helps,
    Monika.

  • Need help with report quering store procedure

    I posted earlier today with my code, but I thought I should start a new thread and explain my scenario properly. Sorry for that.
    have to find if a person visited a particular type of store, lets say pets mart in last six months. Every time a member of us go to store, the transction is saved into a database, which means that there are 100s of records for each member. I have few condition to apply (like flags). For example, if a member visited pets mart in last 6 months, we can send him cuopan for that store.
    In my last code, I was using count(*) which takes for ever as everytime function is been called, it checks everything and then return more then one row. And my scenario requires only a flag kind of stuff, like either that member visited a particular store or not.
    I am not sure what approach would be the best and optimised, obviously not the count one. I tried the case statment and it also returns more then one record (for each visit of the member) and I am looking for something like if it occured then Y else N.
    My old code was something like that
    function fnc (memberno, startdate, endate) return number as abc number;
    begin
    select count(*) into abc
    from table a, table b
    where a.zz = b.cc
    and a.shop_date between startdate and endate)
    and a.store_shoped in ('st01' , 'sto02' , 'sto3')
    and a.store_location in ('loc1' , 'loc2');
    return (abc);
    end fnc;
    I really appreciate if you can suggest me a better way to handle my situation.
    Could someome please help me?

    Something involving WHERE EXISTS or add a ROWNUM = 1 filter:
    function fnc (p_memberno in number, p_startdate in date, p_enddate in date)
      return number
    as
      abc number;
    begin
      select count(*)
        into abc
        from dual
       where exists (select null
                       from table a, table b
                      where a.zz = b.cc
                        and ?? = p_memberno
                        and a.shop_date between p_startdate and p_enddate
                        and a.store_shoped in ('st01' , 'sto02' , 'sto3')
                        and a.store_location in ('loc1' , 'loc2'));
      return (abc);
    end fnc;With either approach, the count will return only 0 or 1 and will stop at the first match it finds.

  • Help with these buttons

    hi
    i am totaly stuck with this problem i have in flash MX
    i have a design which is enclosed in a frame produced in
    photoshop, the buttons around the frame need to load content to
    below the frame.
    to do this i made an empty fla file with just an action which
    loads the frame.swf to level 2
    everything is fine apart from the buttons i have in a movie
    clip, what ever i try doesnt seem to load the other content swf
    files
    this is the WIP site to look at,
    SITE
    LINK which will prob make sense of my explination...i hope
    i have tried _root. , _parent, almost anything really, i have
    done a search for this problem but the solutions i've come across
    dont work for me
    i must be missing something please help
    chris

    try giving your movieClips Instance names, and target them
    using that, instead of _root and _parent.
    if you want all your movies that are loaded externaly to be
    Below the frame, simply put your frame on the first or secont layer
    in your fla.
    If the frame itself is being loaded, you could set it's depth
    to something ridiculous like 1000, that way you are sure that
    nothing will load on top of it.
    also, when you have problems with code, it's always better to
    show the part of your code where the problem is, that would make it
    much easier for people in here to help you.

Maybe you are looking for

  • 503 Service not available

    Hi. Could you help me .... I modified a bsp to display a PDF file into a new popup window, and I tested into my quality server using SE80 transaction and with my portal application after and evething was OK but when a released the new BSP into produc

  • HT204053 i had to create a new id when i got my iphone and want to link my old itunes account from my old id

    I had my ipod touch set up to itunes and when i got my iphone i couldnt use the same id so i had to make a new one and i would like to link them together so i can put my music on my iphone how do i do it

  • Interceptors for non EJB

    Hi, does the jee standard covers interceptors for non EJB classes? I'm using Glassfish and it worked for a plain java classes e.g.: @Interceptors(TraceInterceptor.class) public class PlainClass {      public String doSomething() {           return "s

  • Business Intelligence in general

    Hi, Can someone provide insights particularly on how to determine what reports should be created in BI. Regards. Krishnan

  • How to insert a KPI by comparing two columns

    I want to compare the date value under "Start" column and date value under "BL1 Start" column and if they are same I want to use an Indicator in another field and if not same, then another indicator should be displayed in the same field. Kindly let m