The simplest question about query in multimedia

Hi i write in command line
DECLARE
score DOUBLE PRECISION;
myimage SI_StillImage;
myotherimage SI_StillImage;
myAvgColor SI_AverageColor;
BEGIN
SELECT fotka1 INTO myimage FROM fotkiord WHERE fotkaid1=71;
myAvgColor := NEW SI_AverageColor(myimage);
SELECT fotka1 INTO myotherimage FROM fotkiord
WHERE fotkaid1=72;
score := myAvgColor.SI_Score(myotherimage);
DBMS_OUTPUT.PUT_LINE('Score is ' || score);
END;
and I get from script output
anonymous block completed
Where i can find the real output of my query ??

ok i answerd my own question
create or replace
PROCEDURE "PROC2"
pod_id IN fotkiord.fotkaid1%type,
pod1_id IN fotkiord.fotkaid1%type)
IS
score DOUBLE PRECISION;
myimage SI_StillImage;
myotherimage SI_StillImage;
myAvgColor SI_AverageColor;
BEGIN
SELECT fotka1 INTO myimage FROM fotkiord WHERE fotkaid1= pod_id;
myAvgColor := NEW SI_AverageColor(myimage);
SELECT fotka1 INTO myotherimage FROM fotkiord
WHERE fotkaid1= pod1_id;
score := myAvgColor.SI_Score(myotherimage);
DBMS_OUTPUT.PUT_LINE('Score is ' || score);
END ;

Similar Messages

  • TS2446 I forgot the security question about what was my first car and what is my favorite car! What is the solution to change that? please help me, thank you in advance Leo

    I forgot the security question about what was my first car and what is my favorite car! What is the solution to change that? please help me, thank you in advance Leo

    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Questions' or 'iTunes Store account security' (it appears to vary by country) and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox)

  • HT5312 HOW TO KNOW THE SECURITY QUESTIONS ABOUT APPLE ID?

    HOW TO KNOW THE SECURITY QUESTIONS ABOUT APPLE ID?HOW TO KNOW THE SECURITY QUESTIONS ABOUT APPLE ID?

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then steps 1 to 5 on the page that you posted from should let you reset them : go to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account, then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you should see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you won't get the reset option - you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the page that you posted from to add a rescue email address for potential future use
    For future info typing all in capitals is considered shouting and makes posts difficult to read, and may mean that people don't reply

  • General question about query

    Hi,
       You create a InfoCube, with aggregate been performed in it, now you write a query for that cube, how will you Identify a query with a cube, which has aggregate performed in it, is there a way to find it?
    Please let me know, if you dont understand the question.
    Thanks.
    will reward points.

    Hi,
    The fact that a query uses an aggregate to fetch the data from is transparent on the Bex front-end. If you want to check if a query is fethcing data from the cube or its aggregates, execute the query in RSRT with the Debug options set for aggregates.
    Hope this helps...

  • The second question about Apple ID

    The second question is : i have a apple id but my staff he make it , now he get out of my store and he change my apple password  and e-mail rescue , how can i got the new password

    Hi dam sumo,
    Welcome to the Apple Support Communities!
    I know you are not able to reset the Apple ID password by email because the rescue email address has changed. Have you tried resetting the password by answering the security questions? Please refer to the attached article for information on resetting Apple ID password.
    If you forgot your Apple ID password
    http://support.apple.com/kb/HT5787
    Have a great day,
    Joe

  • Another question about query execution speed.

    I know I should normally start with posting the query but my question will take a little different direction, so here is the deal:
    We have an Apex application, there is a query on one of the pages that for certain users takes quite long, lets say 1min to 2 min, depending on how many records the query returns. The actual query varies depedning on some security settings and other parameters on the page - it's constructed by pl/sql function returning sql.
    By querying v$sql I get the exact sql run by the user for who the query takes long time to execute.
    Then I run that same sql statemt in Toad and it always takes 2 seconds to execute. For the user executing the same sql from Apex takes consistently 50-100 sec. My Toad is set to return up to 10,000 records and the query returns less than 500.
    Can somebody help me make some sense of this?
    George

    Hi there
    geo2 wrote:
    We have an Apex application, there is a query on one of the pages that for certain users takes quite long, lets say 1min to 2 min, depending on how many records the query returns. The actual query varies depedning on some security settings and other parameters on the page - it's constructed by pl/sql function returning sql.To render a page, Apex does much some more stuff than just run the query. For instance, depending on the type of pagination you have enabled it needs to get the total number of rows to display "x to y of z" (or to display the message "more than nnn rows found"). Have you enabled debugging in Apex to be sure that most of the waiting time is spent on that query?
    By querying v$sql I get the exact sql run by the user for who the query takes long time to execute.
    Then I run that same sql statemt in Toad and it always takes 2 seconds to execute. For the user executing the same sql from Apex takes consistently 50-100 sec. My Toad is set to return up to 10,000 records and the query returns less than 500.Does Toad takes only 2 seconds to retrieve all rows or just to get the first top rows?
    Luis

  • Basic question about querying georaster tables

    hello all
    i have a table with georaster column containing georeferenced images covering large area. can i query the table to get an image covering any user given cooordinates . the user given coordinates can span more than one image in the table. is this possible
    thanks

    Hi,
    Yes this is possible to operate with several GeoRaster images in one or several tables. But before this you should create specific GeoRaster metadata structure to join those separate images. You can find information about this procedure in GeoRaster documentation.
    Regards,
    Andrejus

  • ADC and The G3 Question about Monitors

    My G3 Blue and White PowerMac is running great running OS X but my clunky monitor is starting to take up alot of desk space. I would like to add a 15" ADC Monitor to it (just to keep my apple apple). I currently know that I need the DVI to ADC adapter with the power brick to support the monitors power needs, and that my VGA graphics card cannot support this at all. Leaving the question what is the best card for the job? Do I need a vintage sort of card or is there a newer card that will support it (computer and monitor). Thanks for your help. Oh and I'm going to upgrade to Tiger soon in the future if that helps. Thanks anything is appreciated.

    Sorry Wrong place to post

  • New to the product - question about validating multiple fields as a group

    I have a static form that I'm building from a word document.  Part of that form requires a person to fill any 3 out 5 text fields.
    Since it looks like scripts are applied on a field by field basis, is it possible to have a script that encompasses multiple fields? 
    Would any script need to be applied to each field in turn?
    Assuming the answer to question 1 is a yes, how would you script it to require x number of fields out of a total of y to have some sort of content in order to validate?
    I'm pretty familiar with JavaScript and am looking at the Scripting reference guides but was hoping for a helping hand to get me there quicker as I'm in a bit of a time crunch - doing 18 forms with validation and database connectivity by January 15 certainly qualifies in my book.
    I would assume you'd do something like this but am unsure of the syntax...
    Get values of each field
    Set a valid counter variable for the number of fields with content
    If field 1 is not empty, increment the valid counter
    (rinse and repeat)
    if the valid counter is less than 3 throw an error message
    Many thanks in advance for any help offiered

    1). Yes, scripting within Livecycle can be for a single field or even static text, images and other artifacts within the PDF. Really anything, within Adobe's reason, when it comes to scripting.
    2). It depends on what you want to do. Things like field validations, calculations and other instances where fields are tied togther really dictate how the script runs.
    3). Fields that have calculations or validations with them work in the same, I believe. So for example I have a PDF that I made that is an Excel-type sheet that contains a few hundred cells and every single one has some type of validation or calculation associated with it. I generally run the calculations/validations from the user inputting the data and then after that the script runs, but again, it really dpeneds on what you are doing and with what, so answering some of your questions are a bit difficult.
    Javascrip/Formcalc are wonderful tools within PDF, but don't forget the Action Builder (Tools -Action Builder). It is a set of preloaded actions that are turn-key. Just select the cells that will have the action and select the result you want from the preloaded list of actions, using those actions can get you very far, and most of all; they are quick to implement without researching code. So for example, you could use the Action Builder to create an action that checks certain fields and if they are null to return a 1 value to a specific numericField (these could be hidden). Then have a "total" numericField (this would be your counter) that adds all of those fields with the 1 in it. Then create another Action Builder for that "total" numericField and if it is less than 3, display a message box that is a warning.

  • A shot in the dark question about Audit Trail

    Gurus,
    We (development team) typically provide deployment scripts which contain API calls or table inserts for OA configurations. This ensures consistency between environments and prevents Admin user error from fat-fingering. With that said, anyone have any idea if the Audit trail forms use backend API calls to write to standard tables? Or do those Audit trail forms write directly to standard tables/views?
    I feel much more comfortable calling an API rather than trying to mimic standard table inserts.
    Audit trail for base tables consist of several steps:
    1. Enable audit at application level (Intall Form)
    2. Define Audit name and define table (Groups Form)
    3. Define audit columns from table (Tables Form)
    4. Run Audit Trail concurrent job.
    I am mostly concerned about writing a script for tasks 1-3, since we can easily execute a concurrent job through FND_REQUEST. I've been looking at the FND_AUDIT* packages and none reference a "create" procedure.
    BTW, form diagnostic tool didn't supply much information.
    Any help would be greatly appreciated.
    Thanks,
    Scott

    Hi,
    Log a SR, Oracle support should be able to help.
    Regards,
    Hussein

  • Please answer the simple question about publishing Web Services!

    I have implemented my first web service GetDate, using JDeveloper.
    Could anybody tell me please how can I place now this web service on the web, on my web page?

    Dear Shay, thank you a lot!
    But it seems to me that you didn't understand my question or may be I have explained it not in the best way.
    I have done every step from this tutorial, I have deployed me web service to OC4J Server, and it works.
    What I need now, is to make this service available on my home page, which doesn't have Oracle Application Server, so that every person on the internet (even if he also doesn't have this application server installed on his computer) can use it.
    Is it possible to do so or not?

  • Possibly the dumbest question about MapLoader

    I've noticed that it is advised to use Maps once with the memory card in before trying to upload maps through MapLoader.
    My question is, do I have to be connected to internet while doing this?
    If I don't there is something wrong because I can't upload maps as MapLoader says my device is not connected when it actually is.
    Any help is very appreciated!
    The n95 klutz

    Hi kappy
    No you don't have to be connected to Internet at same time. When you exit Maps application with microSD in your N95 and data is saved, it creates the folder structure on microSD needed by Maploader to write the maps data.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Java Persistance: Question about query within inheritance class

    In father class here is the annotation:
    @Entity
    @Table(name = "CONTENT_MEDIA")
    @Inheritance(strategy=javax.persistence.InheritanceType.JOINED)
    @DiscriminatorColumn(name="CONTENT_TYPE", discriminatorType=javax.persistence.DiscriminatorType.INTEGER)
    @DiscriminatorValue("4")
    In son class here is the annotation and query:
    @Entity
    @Table(name = "ISBN_BOOK")
    @DiscriminatorValue("1000001")
    @NamedQueries( {
    @NamedQuery(name = "ISBN_BOOK.findViaISBN", query = "SELECT g FROM ISBNBook g WHERE g.ISBNnumber = :isbn")
    When I do the query, the result is:
    Internal Exception: org.apache.derby.client.am.SqlException: Comparisons between 'INTEGER' and 'CHAR' are not supported.Error Code: -1
    Call:SELECT t0.CONTENT_ID, t0.CONTENT_TYPE, t0.OBTAIN_DATE, t0.SEARCH_TIMES, t0.LAST_SEARCH_DATE, t1.CONTENT_ID, t1.BOOK_NAME, t1.AUTHOR, t1.ISBN_NUMBER, t1.CURRENT_LOCATION FROM CONTENT_MEDIA t0, ISBN_BOOK t1 WHERE ((t1.ISBN_NUMBER = CAST (? AS VARCHAR(32672) )) AND ((t1.CONTENT_ID = t0.CONTENT_ID) AND (t0.CONTENT_TYPE = '1000001')))
    bind => [AAA]
    The problem is: t0.CONTENT_TYPE = '1000001'. I have set the column to Integer, why the JPA use the char?
    Can anyone solve the problem for me?

    In father class here is the annotation:
    @Entity
    @Table(name = "CONTENT_MEDIA")
    @Inheritance(strategy=javax.persistence.InheritanceType.JOINED)
    @DiscriminatorColumn(name="CONTENT_TYPE", discriminatorType=javax.persistence.DiscriminatorType.INTEGER)
    @DiscriminatorValue("4")In son class here is the annotation and query:
    @Entity
    @Table(name = "ISBN_BOOK")
    @DiscriminatorValue("1000001")
    @NamedQueries( {
    @NamedQuery(name = "ISBN_BOOK.findViaISBN", query = "SELECT g FROM ISBNBook g WHERE g.ISBNnumber = :isbn")
    })When I do the query, the result is:
    Internal Exception: org.apache.derby.client.am.SqlException: Comparisons between 'INTEGER' and 'CHAR' are not supported.Error Code: -1
    Call:SELECT t0.CONTENT_ID, t0.CONTENT_TYPE, t0.OBTAIN_DATE, t0.SEARCH_TIMES, t0.LAST_SEARCH_DATE, t1.CONTENT_ID, t1.BOOK_NAME, t1.AUTHOR, t1.ISBN_NUMBER, t1.CURRENT_LOCATION FROM CONTENT_MEDIA t0, ISBN_BOOK t1 WHERE ((t1.ISBN_NUMBER = CAST (? AS VARCHAR(32672) )) AND ((t1.CONTENT_ID = t0.CONTENT_ID) AND (t0.CONTENT_TYPE = '1000001')))
    bind => [AAA]he problem is: t0.CONTENT_TYPE = '1000001'. I have set the column to Integer, why the JPA use the char?
    Can anyone solve the problem for me?
    I think now it is more readable.
    (use code tags pls)

  • The 1st question about Apple is Do they like their customers?

    Unbelievable

    I'm trying to talk to someone in the Corporate Consumer Affairs Dept., and here's a summary of how it's been so far (short version - already been hung up on TWICE):
    08:07 - Disconnected while on hold.
    08:08 - Called back and put on hold.
    08:25 - Patrick Answers
    - Said that Apple is offering no price compensation for the original purchasers.
    - Suddenly put me on hold with no warning while I was in the middle of speaking.
    Anthony - 08:34
    - Apologized for Patrick but didnt know who that was.
    - Wanted to hear what I'd spoken to Patrick about and listened for a while, and then I was disconnected at 08:37
    08:40 - Called back operator and asked for a Consumer Affairs Supervisor
    08:57 - Still on hold
    I've worked with Consumer Affairs staff at a job, and I've never seen actions like this before. I'm hoping to speak with a supervisor to resolve this, but I'm really disappointed this morning.

  • The ubiquitous question about disabling the "AUTOMATIC pixel aspect ration correction"....

    So many people ask the question, "How do I disable the automatic pixel aspect correction" in photoshop only to get repsonses that include the manual step at turning off the correction for the current photo you're working on. Further details are also given from time to time on how this "shouldn't be a problem" or "it's only because you took a video screen grab", or even better, a debate over how it occaisionally helps. Here's the thing, it doesn't help as often as it creates an annoying step in having to go and turn it off when you open pictures that CS5 determines "need fixing" when in fact, the image becomes distorted by this automated fix, especially when this happens so much more now with cell phone pics, and as you turn off the "Auto correct" the image is no longer distorted. It is indeed RARE that this feature does anything good, and way more often that it shows a preview that is way out of whack. Why would Adobe decide that they can't compile Photoshop with this being something you can disable and only turn on for the photos you want as you open them instead of making you turn them off for when you don't (which is the more often case)? Why has this question circulated since at least CS2 on Adobe forums, and yet never been addressed any further than half hearted attempts at describing "recorded macros/steps/automations" that don't work? If I can set a default scratch disk, surely I should be able to set my default action upon opening a photo to NOT auto-correct anything?  If the guys who put Photoshop together don't agree and think "We must autocorrect everything these fools are opening", perhaps we can be allowed enough rope to hang our selves with square pixels anyway and learn our lesson the hard way? Please?

    Hi Darrell,
    You've posted in the AIR forums and I think you meant this for Photoshop.  Would you mind reposting over there?
    Thanks,
    Chris

Maybe you are looking for