SQL prompt for image search

Hi,
it seems that many adobe products are based on an SQL-database. So I was wondering whether this was also the case for the Bridge database. If so, would it be possible to add an sql-prompt in addition to the normal image search options? For those who know SQL, this would creatly enhance flexibility and possibly also convenience of doing more complex searches.
Thanks and best regards
- spitfire

I've just learned that Bridge indeed uses MySQL as its database. So, please, developpers, bless us with an SQL-Prompt!
regards
- spitfire

Similar Messages

  • PL/SQL code for a search button

    i'm trying to write a PL/SQL for a search button , like in this picture
    http://uppix.net/f/7/1/484994cbbb235d7041484588c2463.jpg
    i tried this
    begin
    SELECT employee_id , first_name , last_name , manager_id , department_id
    into
    :employee_id , :first_name , :last_name , :manager_id , :department_id
    FROM EMPLOYEES WHERE :DEP_ID = :DEPARTMENT_ID;
    end;
    but it didn't work
    hope someone can help
    thanks.

    Welcome to the forum.
    From your link it shows you're using Form Builder as your development tool.
    Therefore your question belongs to the Forms Forum @ Forms and not so much in this forum.
    Keep in mind to read the FAQ's you'll stumble upon in several forums, so you know what to post and what not to post.
    For example, here's the SQL and PL/SQL FAQ:
    Re: 3. How to  improve the performance of my query? / My query is running slow.
    but it didn't workThat;s something you should not post.
    Be more specific.
    If you get an error message, then post the exact error code and message.
    Always mention your database version and your Forms version (if Forms is involved).

  • Un-checking "Pass through" for image searching

    When I search my hd for an image from iPhoto, the "Pass through" box remains grayed out and checked. Is there any way to un-check this box? In other folders, I have the option to check and un-check, only not when I search the hd, which is my preferred searching method.

    Dear Alexandra,
    Other processes to consider might be to manipulate a row or column of pixels at a time. There are IMAQ Vision functions that will allow you to extract selected rows and columns (just in the same way as you can with regular data arrays). The extracted column or row (line profile) is effectively a 1D array of pixels (ranging from 0 to 255 if you image is 8-bit). By taking this approach you may be able to make use of the polymorphic nature of many of LabVIEW's core VIs (numeric operators, comparison VIs and so on).
    This approach should avoid the need to examine each individual pixel within your image. If you find that this approach is not suitable or I have misunderstood your question, could you supply some more detailed information as to how
    you need to "prove the pixel values"?
    Jeremy

  • SQL query for formatted search

    Hi guys and expertise,
    I have this one problem where i need to do the formatted search,below is my example query that i  have done
    declare @itemcode varchar (20)
    set @itemcode = (select x.itemcode from OITM x where x.ItemCode=[%])
    declare @itmgrp varchar(50)
    set @itmgrp=(select y.itmsgrpnam from OITB y where y.ItmsGrpNam=[%1])
    select
    CASE
    when @itemcode = 'Item Descriptions 1' then @itmgrp
    else t0.ItmsGrpNam
    end
    from OITB t0 inner join
    OITM t1 on t0.ItmsGrpCod=t1.ItmsGrpCod
    where t1.itemcode=@itemcode
    ***correct me if i'm wrong
    the condition is :-
    whenever the user selection is 'Item Descriptions 1' user will have to select the product group name else
    if the user selection is not equal to "Item Descriptions 1", automatically the product group name will be default according
    to the item code itself.
    i wonder if it's possible?  if it is, then i suppose there should be a way,right?

    Hi Gordon...
    Thanks a lot for the answer,
    I did try some research and manage to find a way out for the query that I want, the query is as below:-
    BEGIN
    IF
    $[$38.1.0]='Item Descriptions' or $[$38.1.0]='Item Descriptions 1' or $[$38.1.0]='Item Descriptions 2' or
    $[$38.1.0]='Item Descriptions 3' or $[$38.1.0]='Item Descriptions 4'
    SELECT T0.ItmsGrpNam FROM OITB T0 inner join OITM T1 ON T0.ItmsGrpCod=T1.ItmsGrpCod
    Group By T0.ItmsGrpNam
    ELSE
    SELECT T0.ItmsGrpNam FROM OITB T0 inner join OITM T1
    ON T0.ItmsGrpCod=T1.ItmsGrpCod where T1.ItemCode=$[$38.1.0]
    END
    regards,
    Asyraf

  • SQL report for LIKE SEARCH

    hello all ,
    The below SQL seems to running fine in the SQL developer but acts different in APEX.
    I have 2 select lists
    1, :P40_C
    2, :P40_CONTRACTOR
    When I do not enter any value for the above select list, I do not return any records . I would like to get all the records when both the fields are left empty.
    SELECT VS.LNAME||', '||VS.FNAME as "NAME",
    VS.TEAM as "TEAM", VS.C_NO as "C_NO", VS.HOURLY_RATE as "HOURLY_RATE",
    VS.WEEK_ENDING as "WEEK_ENDING",VS.PIN, sum(VS.TOTAL) as "TOTAL",
    (sum(VS.TOTAL) * VS.HOURLY_RATE) "TOTAL_COST"
    from VS
    where
    ( instr(upper(VS.C_NO), upper(nvl(:P40_C,upper(VS.C_NO)))) > 0
    AND_
    instr(upper(VS.AD_ID), upper(nvl(:P40_CONTRACTOR,upper(VS.AD_ID)))) > 0 )
    group by
    VS.LNAME||', '||VS.FNAME, VS.FIRM, VS.MANAGER_NAME, VS.TEAM,
    VS.C_NO, VS.POSITION_NO, VS.HOURLY_RATE,VS.WEEK_ENDING,VS.PIN,VS.PIN_DESCRIPTION
    Any help in this regard will be highly appriciated.

    Andy ,
    Thank you.
    Now I am getting ORA-00904: "V_C": invalid identifier_ ERROR from the below SQL .
    DECLARE
    v_sql VARCHAR2(4000);
    v_c VARCHAR2(100);
    v_co VARCHAR2(100);
    v_from date;
    v_to date;
    BEGIN
    v_from:= to_date(:P49_FROM,'DD-MON-YY');
    v_to := to_date(:P49_TO,'DD-MON-YY');
    v_c := UPPER(:P49_CONTRACT_NO);
    v_co := UPPER(:P49_CONTRACTOR);
    v_sql := ' SELECT LNAME||'', ''||FNAME CONTRACTOR,'
         ||' VS.TEAM as TEAM,'
         ||' VS.CONTRACT_NO as CONTRACT_NO,'
         ||' VS.POSITION_NO as POSITION_NO,'
         ||' VS.HOURLY_RATE as HOURLY_RATE,'
         ||' VS.WEEK_ENDING as WEEK_ENDING,'
    ||' VS.PIN,'
         ||' sum(VS.MON) as MON,'
         ||' sum(VS.TUE) as TUE,'
         ||' sum(VS.WED) as WED,'
         ||' sum(VS.THU) as THU,'
         ||' sum(VS.FRI) as FRI,'
         ||' sum(VS.SAT) as SAT,'
         ||' sum(VS.SUN) as SUN,'
         ||' sum(VS.TOTAL) as TOTAL, '
    ||' (sum(VS.TOTAL) * VS.HOURLY_RATE) TOTAL_COST '
    ||' FROM VS '
    ||' WHERE (VS.WEEK_ENDING) BETWEEN v_from AND v_to ';
    IF v_c != 'NULL' THEN
    v_sql := v_sql || ' AND INSTR(UPPER(VS.CONTRACT_NO),v_c) > 0';
    END IF;
    IF v_co != 'NULL' THEN
    v_sql := v_sql||' AND instr(upper(VS.AD_ID), v_co) > 0';
    END IF;
    v_sql := v_sql ||' AND VS.EMP_APPROVAL = "Y" '
    ||' AND VS.MGR_APPROVAL = "Y" '
    || 'group by LNAME||'', ''||FNAME,'
         || 'VS.FIRM,'
         || 'VS.MANAGER_NAME,'
         || 'VS.TEAM,'
         || 'VS.CONTRACT_NO,'
         || 'VS.POSITION_NO,'
         || 'VS.HOURLY_RATE,'
         || 'VS.WEEK_ENDING,'
    || 'VS.PIN,'
    || 'VS.PIN_DESCRIPTION';
    execute immediate v_sql;
    END;

  • For IMAGE SEARCH: How de we get "classic version" to be the default instead of "standard version?"

    Using FF 3.6.1; Windows 7

    Hi, thanks for the reply.
    No, that doesn't fix the problem.
    I've done some programming and have been checking out their site. They are trapping the keys so the first time I press <CTRL-F> it puts a lower case "f" in their search box. If I press <CTRL-F> again the search dialog box does open. If I click on their search box first with the mouse, then press <CTRL-F> it works as it should.
    I guess I'll have to live with it, because they don't seem interested in correcting their problem.
    Thanks, Keith

  • Execution of xquery with sql prompt(oracle 11g)

    Hi All I am executing the following query with squl prompt:
    SELECT XMLQuery('xquery version "1.0"; (: :)
    declare default element namespace "eNodeB"; (: :)
    for $m in ora:tokenize('oracle~','~')
    return ($m)'
    RETURNING CONTENT) AS RESULT
    FROM DUAL;
    But its giving the following exception
    for $m in ora:tokenize('deepa~','~')
    ERROR at line 3:
    ORA-19109: RETURNING keyword expected
    2) With the below mentioned query
    SELECT XMLQuery('xquery version "1.0"; (: :)
    declare default element namespace "eNodeB"; (: :)
    for $x in $eNodeBRef/eNodeBFile/eNodeB/eNodeBTop[eNodeBTopIndex='1']
    for $m in ora:tokenize('eNodeBTopAttr1~','~')
    let $r:=$x/following-sibling::*[local-name(.)=$m]
    where (exists($x/*[local-name(.)=$m]) or exists($r))
    return (
    if(exists($r) and not(exists($x/*[local-name(.)=$m]))) then
    element{local-name($r)}{data($r)} else(), if(exists($x/*[local-na
    me(.)=$m])) then element{local-name($x/*[local-name(.)=$m])}{data($x/*[local-name(.)=$m])} else()' PASSING p.OBJECT_VALUE AS
    "eNodeBRef"
    RETURNING CONTENT) AS RESULT
    FROM A_ENODEB p
    WHERE
    existsNode(p.OBJECT_VALUE,
    '/eNodeBFile/fileHeader[@fileName="eNodeB_inst_1.xml"]') =1;
    its giving the below error while executing through sql prompt
    *for $x in $eNodeBRef/eNodeBFile/eNodeB/eNodeBTop[eNodeBTopIndex='1']
    ERROR at line 3:
    ORA-19109: RETURNING keyword expected*

    Login to SQL Developer as the SYS user for Getting Started tutorial

  • IPhoto frustrating error..The volume for "Df23.JPG" cannot be found. It prompts for all photos with this issue rather than offering an option to ignore. I can find the images in spotlight but not in Find Photo. Does anyone have a solution

    iPhoto frustrating error..The volume for "Df23.JPG" cannot be found. It prompts for all photos with this issue rather than offering an option to ignore. I can find the images in spotlight but not in Find Photo. Does anyone have a solution?

    Unless you have the source files that were on the TC or Windows machine you will have to start over with a new library as follows:
    Start over from scratch with new library
    Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
    1.  Move the existing library folder to the desktop.
    2. Open the library package like this.
    Click to view full size
    3. Launch iPhoto and, when asked, select the option to create a new library.
    4. Drag the Masters (iPhoto 11) folder from the iPhoto Library on the desktop into the open iPhoto window.
    Click to view full size
    This will create a new library with the same Events as the original library but will not keep the metadata, albums, books slideshows and other projects.  Your original library will remain intact for further attempts at fixes is so desired.
    OT

  • Prompt For User Input in SQL Developer

    I am using the '&' in a very basic SQL select script, but I do not get a prompt for my input. However, i have used the '&' in update scripts and it does prompt me.
    For example:
    select DCC_DESCRIPTION
    from S_TBLDTMINOR
    where DCC_DTMINOR = &Minor;
    Gives an ORA-01008 error (not all variables bound).
    If it's a varchar field and I use '&Minor' - it executes with no error, but does not prompt for data. Please note:  this script works when it's run in SQL*Plus, but not in SQL Developer.
    If I execute:
    update S_TBLDTMINOR
    set DCC_DESCRIPTION = 'Mark & Wilson'
    where DCC_DTMINOR = 'AAA';
    It does prompt me for a value (but I do not want it to).
    So I know prompting works in SQL Developer, but it does not work in select statements.
    Is this a configuration setting I can change in SQL Developer? I know I can use the escape in the update statement to avoid the prompt, but I'm not concerned with that. I'm trying to get the prompting to work in the select statement.
    Edited by: user12289057 on Feb 23, 2012 11:17 AM

    Hi user12289057,
    1/Not sure what your testcase is (including table definition), I was trying to reproduce with:
    select * from dual where dummy = '&myin'
    2/Try
    undefine Minor
    to ensure Minor is not already set.
    3/Minor may need to be quoted if it is a string.
    Short blog post on substitution and bind variables.
    http://totierne.blogspot.com/2010/04/substitution-and-bind-variables.html
    -Turloch
    SQLDeveloper team.

  • Search for images using Keywords Problem.

    1) In LR4, Search for images using Keywords (click on arrow next to Keyword).
    2) Select image, export to PS6, save as Tif.
    3) Tif retains all Keywords when it appears in LR
    4) Despite that, image does not show up in the same 'Search for images using Keywords'.
    Can anyone help with this, it is frustrating me!

    V. 4.1
    Thanks, I will try, but it seems to be an inconsistent problem.
    Simon Fletcher
    Simon Fletcher Photography
    Woody's Nest
    Newton of Kinkell
    by Conon Bridge
    Ross-shire
    Scotland
    UK  IV7 8AS
    Tel: 01 349 864 830
    Web: www.simonfletcherphotography.co.uk
    Work:
    The Glass Scribe
    Tel: 01 349 867 088
    Email: [email protected]
    Web: www.glassscribe.com

  • When I do Google search for images from my website nothing newer than September 2012 shows up.  How can I get Google to find new images?

    When I do Google search for images from my website nothing newer than September 2012 shows up.  How can I get Google to find new images?

    Have you uploaded a sitemap.xml recently and checked your webmasters account to see when your site was last crawled?
    http://www.iwebformusicians.com/Search-Engine-Optimization/SEO.html

  • MDM: Search for images in the dialog window "Select Multiple Images"

    Hi,
    are there possibilities to search for images in the dialog window "Select Multiple Images" (if you want to add a image to a record)?
    I know the possibilities to sort the images and the possibilities with the data groups. But I don't know a possibilities to search for a single image.
    Thanks for any help!
    Best regards, Melanie

    Hi,
          From the question you asked; its not much clear what your clear requirement is; but if its what i get then the solution is:
          How is that you want to select the image? With Image view or By viewing the image itself ? For it when u select "Select Multiple Images" you can find two as "Available Images" and "Selected Images" and in between u can find some buttons, after "All, Add, Remove and None" you can find two buttons "Thumb Nail" and "view Details". I think you can use these buttons for your solution.
          When you select "Thumb Nail" button you can see the image in real and select the image.  OR you can select "View Details" and check the file name or path or the requirement as required.
          CHARAN
    Lead, follow or Get out of way

  • How to force sql developer to prompt for user input for every execution ?

    Hi Folks,
    Environment: Oracle 11g (on Windows 7)
    SQL Developer: *3.1.07*
    I am executing a PL/SQL code off Sql Developer. The code uses substitution variables to prompt user for input. However,I am only prompted for the user input for the very first run of the code. For the subsequent executions, the code simply picks up the user input from the very first run. This behavior persists for all subsequent runs of the code.
    I have executed the same piece of code from SQL*PLUS and the behavior seems normal (i.e. I am prompted for fresh input for every execution)
    How can flush out the old user input so I can be prompted for new user input for every run of the code in sql developer?
    Thanks in advance
    rogers42

    Hi Rogers42,
    1/try
    undefine
    undefine fred
    select '&&fred' from dual;
    [run this multiple times]
    [prompts gere]
    old:select '&&fred' from dual
    new:select 'a' from dual
    'A'
    a
    [prompts here]
    old:select '&&fred' from dual
    new:select 'b' from dual
    'B'
    b
    2/try
    exit (requires recent version of sql developer: tools->preferences->Database->worksheet->Re-initialize on script exit command)
    select '&&fred' from dual;
    exit
    run this multiple times
    [prompts here]
    old:select '&&fred' from dual
    new:select 'x' from dual
    'X'
    x
    Commit
    [prompts here]
    old:select '&&fred' from dual
    new:select 'y' from dual
    'Y'
    y
    Commit
    3/use &fred instead of &&fred
    For background see
    http://totierne.blogspot.co.uk/2010/04/substitution-and-bind-variables.html
    -Turloch
    SQLDeveloper team

  • How to prompt for user input in PL/SQL

    How do I prompt for user input in PL/SQL?
    I am writing a piece of code where the user may choose, by clicking either of three buttons on an alert, to have the system assign a value to a variable, to input a value or to do neither?
    If the user chooses to input the value I want to update a set of database fields with the value.
    I have thought about showing a view where the value may be entered into a field displayed on that view. The value will be assigned to the variable by the user clicking a command button. The question I have in this case though, is whether, after the command button is clicked, control will be passed back to the code that called the view in the first place?
    Edited by: desgordon on Sep 3, 2008 10:33 AM

    desgordon wrote:
    How do I prompt for user input in PL/SQL?
    I am writing a piece of code where the user may choose, by clicking either of three buttons on an alert, to have the system assign a value to a variable, to input a value or to do neither?OK, you're doing that in Forms...
    >
    If the user chooses to input the value I want to update a set of database fields with the value.Write PL/SQL procedure for this purpose...
    >
    I have thought about showing a view where the value may be entered into a field displayed on that view. The value will be assigned to the variable by the user clicking a command button. The question I have in this case though, is whether, after the command button is clicked, control will be passed back to the code that called the view in the first place?Not clear what you mean with view?
    But if you call your procedure in that button then yes 'control will be passed back to the code'...
    Cheers!
    Edited by: Faust on Sep 3, 2008 7:57 PM
    Too slow...

  • Prompt for bind variables in SQL developer

    Hi!
    Just installed the latest 3.2 version of SQL Developer, and tried to do an explain plan.
    Now the tool prompts me for values for the bind variable. It didn't do that in my previous version (version 3. something).
    Thats anoying :-)
    How do I disable that feature?
    Example:
    explain plan for
    select * from emp
    where department_id = :1;
    If i right click on the statement or press F10, I get no prompt for the bind variable...
    Regards
    Søren

    Old fashioned way, like this:
    EXPLAIN PLAN FOR
    SELECT * FROM scott.emp
    where deptno = :1;
    SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY());
    Executed with F5 gives me this output
    plan FOR succeeded.
    PLAN_TABLE_OUTPUT
    Plan hash value: 3956160932
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 5 | 190 | 3 (0)| 00:00:01 |
    |* 1 | TABLE ACCESS FULL| EMP | 5 | 190 | 3 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - filter("DEPTNO"=TO_NUMBER(:1))
    13 rows selected

Maybe you are looking for