DataPump the QUERY parameter with string values? -SOLVED

All,

I'm trying to specify a query to the datapump API parameter but can't seem to get my correct single/double quotes so that it can work. I can successfully use the QUERY parameter with something like QUERY = table: '"number_column = 6" ' but NOT with something like QUERY = table:'"string_column ="value"" "

I tried different versions of the single/double quotes, but all fails with slightly different errors. Someone at - it an example where a string value is used with success?

Thanks in advance. Oracle 10.2.0.3.0 - AIX 5.3

So after reading some other reviews on another thread - I tried this and it worked:

QUERY = table:------"where string_column = 'value\' \' \

Looks like you have escape all single/double quotation marks for this parameter

Published by: potter_geek on August 31, 2009 10:47

Hello

Use the parameter file or if you run expdp command-line use escape character '-' (backslash) in this case.

Concerning
Anurag Tibrewal.

Tags: Database

Similar Questions

  • Syntax for taking export with the "Query" parameter

    Hi all

    Please help me about the syntax for export with the query parameter taking

    Hello

    exp file=d:\exp.dmp log=d:\exp.log tables=scott.emp query='where empno=10'
    
    exp file=d:\exp.dmp log=d:\exp.log tables=scott.emp query='where ename='''SCOTT''
    

    Salman

  • Using the QUERY parameter in exp/expdp

    Hi, I've faced a nite last question.
    IM currently using Oracle 10 g (10.2.0.4) OS - MS Windows Server 2003

    I want a dump of tables to export multiple schemas. say (acb.m1, pqr.b2, xyz.b1)

    Each table has a minimum lines of 2,000,000,

    And I want to just the initials 10 rows in each table of export

    Is it possible that I can do this...

    Please answer.
    Thanks in advance

    Export tables in multiple schemas is not supported in Data Pump until 11.1.0.7. So if you're on 10g, you will need to run multiple commands expdp. For only 10 lines of each table, use the query parameter

    Query = "where rownum"<>

    This will apply to all the tables you export.

    I hope this helps.

    Dean

    Published by: Dean WINS January 30, 2012 08:42

  • Determine if the result of the query begins with a number

    I have the results of the query like this

    123PKM
    AAPL
    WB
    9865W
    FC
    QRST

    How can I determine if the result of the query begins with a digit?
    As 123PKM and 9865W do not start with a number.

    But others did not.

    The refind() would make this task very easily. Not tested, but I think that
    It would be the idea.

    #refind('^[0-9]',myQuery.aField,1,false) #.

    ColdFusin documentation in all directions will define completely the
    refind() function capabilities. It will give even some basics
    the syntax of the regular expressions used by this function.

  • How can I set the default value of a selection in the Query Panel with table.

    Hi Experts,

    JDev 12.1.3.0.0

    I have a view Criteria (contains a attribute with LOV). and the named criteria is dragged as a query with Table Panel.

    In the user interface, the LOV is now visible in the query Panel. Suppose that the LOV has 3 values: 'Manual', 'Other' and 'portfolio '.

    How can I set a default value for the choice of a select. ?

    Thank you

    Roy

    refer to:

    Andrejus Baranovskis Blog: Dynamic value by default for the field in query ADF search

    but rather to express as in the bellows of the image, choose literal and let 2

  • How to use the value in a combo box as a parameter "with these values?

    Hello, new user.

    I have a box of drop-down list on Page 1, on which the user can choose a number of study. The list box is named "P1_STUDY_NBR".

    Then I have a list, a single entry that goes to my form master / detail, which is Page 6. I would like him to go the number of study that the user choose on Page 1.

    In my goal on the list to create/edit entry, I put in the 'Page of this Application"," Page 6 ", then in any of these items, I put in."
    P6_STUDY_NBR

    My question is what to use with these values, where I want the content of the P1_STUDY_NBR. I tried:
    & P1_STUDY_NBR

    and it does not work. If I put in one of the numbers in the study, as 336-00, then it works, but I want to increase the number of study that the user chooses in the drop-down list. What should I do for P1_STUDY_NBR content?

    -Mary

    Hello

    The format should be:

    &P1_STUDY_NBR.
    

    You seem to miss the point at the end

    Andy

  • Cannot bind the portlet parameter with the webcenter portal page setting

    Hi all

    I'm tying portlet parameter with the setting of the page so that I can reach some needs of the company.

    Here's what I did,

    In my producer of Portlet application:
    (1) created standards based portlets (jsr 286) with view.jspx and edit.jspx with the rest of the things being default.
    (2) in my portlet.xml created two parameters and receives these parameters to the portlet created above.
    (3) in the added view.jspx output torque label adf elements in the page.
    (4) deployed this integrated weblogic server.

    In my WC portal application:
    Created a new page and add the portlet to this page (WSRP connection already exists).
    deployed applications of portal on the server integrated.

    In page editing mode, I added a parameter (Param1) and certain value (constant) default page added.

    What I want is this:
    What value of Param1 is a view first label of output and
    What value of Param1 is display two second label output.

    I use jdev 11.1.1.5.0 with integrated weblogic server.

    (1) I do not set the value in the portlet code. This is supported by the application of Portal WebCenter! When you insert the portlet on a page and Runtime edition mode, press the button customize (an icon of Gable at the top right of the portlet). The first tab is the tab settings of the portlet. This tab is generated by the infrastructure by reading the specifications of portlets. As soon as you change the value it and press ok or apply, the value can ask of the portlet code I provided. That's why you can't find a code to set this value.
    (2) responded to 1 I guess :)
    (3) also partially answered 1 :)
    To change the value of a second, you must customize the portlet. This is possible by logging into the portal. You should see a pencil icon in the upper right of the portlet. When you click on it, it will open the page of edit.jspx that can be used to set preferences, as you can see in the code.
    Note that edit.jspx and the code to handle fields in the portlet bean are generated by Jdeveloper. I've not written. This is done by JDeveloper when you add a preference during the portlet Wizard.

    I hope this helps.

  • Pulling on the first line with a value of repetition

    Hello
    We use the Oracle 11.1.

    We have a table of postal codes.

    We have several lines for each zip code because we have different areas that use the same zip code.

    We want to reduce the lines of a line by zip code. But they said use they want to keep the fields that differ (neighborhood of the exodus).

    Then they said "Just take the first value of each."

    This code reduces the postcodes of a line by postal code, but as you can see I replaced the field with the name of the field values.
    SELECT distinct  ZIPCODE, CITY, STATE, COUNTY, AREACODE, 'CITYTYPE', CITYALIASABBREVIATION, 'CITYALIASNAME', LATITUDE, LONGITUDE, TIMEZONE, ELEVATION, COUNTYFIPS, DAYLIGHTSAVING, PREFERREDLASTLINEKEY, CLASSIFICATIONCODE,
               MULTICOUNTY, STATEFIPS, 'CITYSTATEKEY', 'CITYALIASCODE', 'PRIMARYRECORD', CITYMIXEDCASE, 'CITYALIASMIXEDCASE', STATEANSI, COUNTYANSI
        FROM   zip_code
    GROUP BY   ZIPCODE, CITY, STATE, COUNTY, AREACODE, CITYTYPE, CITYALIASABBREVIATION, LATITUDE, LONGITUDE, TIMEZONE, ELEVATION, COUNTYFIPS, DAYLIGHTSAVING, PREFERREDLASTLINEKEY, CLASSIFICATIONCODE, MULTICOUNTY, STATEFIPS,
               CITYALIASCODE, PRIMARYRECORD, CITYMIXEDCASE, STATEANSI, COUNTYANSI
    order by zipcode; 
    How should I take either one record per postal code with the first value in these fields or

    How should I take the first record for each zip code?

    either way works for me.

    Thank you

    Hello

    This is called a Query Top - N , and this is a way to do it:

    WITH     got_r_num     AS
    (
         SELECT     z.*
         ,     ROW_NUMBER () OVER ( PARTITION BY  zipcode
                                   ORDER BY          city
                             ,                ...   -- add tie-breakers here
                           )      AS r_num
         FROM    zip_code
    )
    SELECT     *     -- or list all columns except r_num
    FROM     got_r_num
    WHERE     r_num     = 1
    ;
    

    You can simply use MIN or MAX on the columns, as the line with the name of the minimum city do not lowest have area code or the longitude. The above method preserves the first line of each zip code intact, where the 'first': the first in order of aphabetic by the name of the city. If it is not unique, then you may want breakage to the analytical ORDER BY clause.

    If you are deleting rows, you can use this in a NOT IN subquery. If you copy lines to a new table, you can use the query above in an INSERT statement.

    Published by: Frank Kulash, March 18, 2011 12:40

    I just see Polywog response:

    Pollywog wrote:
    You can use the rank or rownumber function...

    If I understand the problem, you don't want to use RANK in this particular case. When there is equality, GRADE will assign 1 to all the contenders. I think the whole point of this thread is that you exactly want a #1 in each zip code, which is what ROW_NUMBER, but not RANK, guarantees.

  • By the way the dynamic parameter with the URL while submitting the form

    Hello

    I the data in xml format in a servlet using the button send the form. I also need to pass a parameter with the URL. But the value of this parameter changes during execution based on the value of a particular field in the form. Please help me with it.

    Thank you.

    Here is an example that shows what I think you want. The code is on epreSubmit th of the button event. I put messages showing what the button submit it URL is... before and after we change. You can delete these messages when make you it work as you want.

    Hope that helps

    Paul

  • How do you manage the quotes inside a string value?

    I use the

    infowindowoptions ranked in the google map api for flash and I want to have some html (link) within a string value. the html code has a pair of quotation marks within the string. How can I get the quotes inside the string without causing an error?

    Here are my actionscript

    import com.google.maps.LatLng;
    import com.google.maps.Map;
    import com.google.maps.MapEvent;
    import com.google.maps.MapType;
    import com.google.maps.InfoWindowOptions;

    var map: map = new Map();
    Map.Key = "ABQIAAAAN14ojD-qIiaujbXTJI-SnhQEt6AsiatPjWK1t6pg54rIwsH2LxSmsfrHffLAXxfpAdOU98D1MzDtVg";
    map.setSize (new Point (stage.stageWidth, stage.stageHeight));
    map.addEventListener (MapEvent.MAP_READY, onMapReady);
    this.addChild (map);

    function onMapReady(event:Event):void {}
    map.setCenter (new LatLng(36.863073,-76.028435), 14, MapType.HYBRID_MAP_TYPE);
    map.openInfoWindow (map.getCenter (), new InfoWindowOptions ({title: "associated with plastic surgery", content: "1037 first Colonial Road, Virginia Beach VA 23454 Get directions < a href ="http://maps.google.com/maps?hl=en & amp; rlz = 1T4GGLL_enUS308US308 & amp; um = 1 & amp; ie = UTF-8 & amp; c id = 0, 0, 10499807723319896793, & amp;})) FB = 1 & amp; AC = associates + in + plastic + surgery & amp; hnear = Virgin ia + Beach & amp; GL = us & amp; daddr = 1037 + 1 + Colonial + Road + Virginia + Beach + GOING + 23454 & amp; geocode = 7383190348801088740,36.863073-76.028435 & amp; EI = MeOGS9q2JoqXtgfys_ybDw & amp; her = X & amp; Oi = loc al_result & amp; CT = instructions - at & amp; resnum = 1 & amp; ved = 0CAwQngIwAA "" > here < /a>. '})); "
    }

    Thanks for the help

    You can also escape the quotes:

    var string: String = "my channel \' city\'; '"

  • Window of the query editor with Microsoft SQL Server Management Studio DO NOT scroll

    In my view, that it is a question more of a Microsoft SQL Server Management Studio number... apologies if you think I might be in the wrong place of Windows...

    When you work in Microsoft SQL Server Management Studio, my cursor is common in my part of the query editor window. When I try using my scroll wheel it to review some SQL code, instead the scroll on my mouse wheel is controlling the pane objects in the Solution Explorer window and NOT the glass query editor.
    Some of our partners appear to be well with their ability to scroll using the mouse scroll wheel while others seem to be in the same boat I am, and nobody here seems to know why it is.
    I hope for some comments and I am hopeful for an answer. Thanks in advance.
    PSULionRP

    Hello

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.

    http://social.technet.Microsoft.com/forums/Gu-in/sqldatawarehousing/threads

    Hope this information helps.

  • Query based ViewObject does pull not all attributes, when the query has 'WITH' clause

    Hello

    12.1.2 and 12.1.3 JDeveloper

    When we try to create a custom query based ViewObject, and the query clause of "with."

    So not all the columns selected in the query are appearing as attributes of the View object in the wizard.

    This is the query. And it performs very well in Toad.

    WITH dept_count AS)

    SELECT department_id, COUNT (*) AS dept_count

    Employees

    GROUP BY department_id)

    SELECT e.first_name AS employee_name,

    DC1.dept_count AS emp_dept_count,

    m.first_name AS manager_name,

    DC2.dept_count AS mgr_dept_count

    E employees,

    dept_count dc1,

    m employees,

    dept_count dc2

    WHERE e.department_id = dc1.department_id

    AND e.manager_id = m.employee_id

    AND m.department_id = dc2.department_id;

    Only the EmployeeName attribute is extracted from the query. It does not show the rest of the attributes in the VO Wizard.

    VO.png

    (I also tried to create a VO from the EntityObject class and make it editable as false, even in this case all attributes are not displayed.)

    I was wondering if something changed in 12 c?

    It works in 11.1.1.7

    (A friend of mine just asked me this).

    Thanks for any help.

    Sameer

    Jdev dislikes the syntax

    You can rewrite as

    SELECT e.first_name AS employee_name,

    DC1.dept_count AS emp_dept_count,

    m.first_name AS manager_name,

    DC2.dept_count AS mgr_dept_count

    E employees,

    (

    SELECT department_id, COUNT (*) AS dept_count

    Employees

    GROUP BY department_id) dc1,.

    m employees,

    (

    SELECT department_id, COUNT (*) AS dept_count

    Employees

    GROUP BY department_id) dc2

    WHERE e.department_id = dc1.department_id

    AND e.manager_id = m.employee_id

    AND m.department_id = dc2.department_id

    who must work and give you the same result.

    Timo

  • Mapping the recurrent node with static values?

    Hello

    I have a WSDL where I need to complete a recurring field < InputField > several times with different values.

    How can I achieve this in processing or of BPEL assign?

    BPEL transform editor Screenshot http://imageshack.com/a/img33/5030/gte8.png

    My SOAP UI application looks like

    " < = xmlns:soapenv soapenv:Envelope ' http://schemas.xmlsoap.org/SOAP/envelope/ ">

    < soapenv:Header / >

    < soapenv:Body >

    < int:getItem >

    <!-in option: - >

    < arg0 transactionId = ""? "sch:ItemId ="264689">"

    < sch:Username > < / sch:Username >

    < sch:Password > < / sch:Password >

    aaaa-mm-jj < sch:DateFormat > < / sch:DateFormat >

    <!-in option: - >

    .SSS aaaa-mm-jj < sch:DateTimeFormat > < / sch:DateTimeFormat >

    <!-zero or more repetitions: - >

    ID < sch:InputField > < / sch:InputField >

    < sch:InputField > summary < / sch:InputField >

    < sch:InputField > status < / sch:InputField >

    < / arg0 >

    < / int:getItem >

    < / soapenv:Body >

    < / soapenv:Envelope >

    I am just a beginner to start with BPEL, so accept my apologies if this question is fundamental very basic

    Thank you

    Hello

    I do not think that the Mapper will take in charge the creation mode, you need to change your XSLT source view in...

    Simply copy and paste the input fields is installed on SoapUI, adapt to the namespaces... That should do it...

    See you soon,.

    Vlad

  • How to check the page dirty with default values existing in viewObject?

    Hi all

    I use JDeveloper 11.1.1.4.

    I have two pages in my application. I am browsing for page2 page1.

    Before opening page 2 I created new line page 2 notice of object using method 'Create Insert()' with some default values by using the ViewRowImpl class.

    My problem is that I have a button to return to Page 2. If I click the back button, then check the Application module is dirty or not.

    But it always shows AM is dirty due to I'm setting some default values in ViewRowImpl. If I avoid the default values in ViewRowImpl then AM dirty check works fine.

    My Question is how to check the AM (or) dirty Page with default values in the object view?

    My bean Codes:

    Links DCBindingContainer = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DataControl dc = bindings.findDataControl("AppModuleDataControl");

    ApplicationModuleImpl am = ((ApplicationModuleImpl) dc.getDataProvider ());

    If (am.getDBTransaction (.isDirty (()))

    {

    return "Page is dirty."

    }

    My Jspx Codes:

    < af:commandLink id = "cl6" text = '2 '.
    shortDesc = "Add Row in Page2"
    actionListener = "#{bindings." Action CreateInsert.execute}' = 'Edit' >

    Thank you

    David...

    see this

    http://www.techartifact.com/blogs/2013/11/how-to-check-ifdirty-is-modified-for-view-object.html

    http://www.jobinesh.com/2011/05/checking-for-dirty-data.html

  • The VM clone with hardcoded values?

    Hey guys,.

    I have a question. I want to use the following script task:

    System.getModule("com.vmware.library.vc.basic").cloneVM (vm,file, "Clone_" + vm.name, "false", "false", thedata store,host,pool, "true")

    The workflow works, when I select the values during the execution of the workflow. But I want to have the fat hard-coded in the above string values. How can I for example set the folder "archive" in this string?

    Thanks in advance.

    Chris

    Hello

    as said, you must choose your folder in the general tab as your folder attribute value.

    Concerning

Maybe you are looking for

  • elite book8775: fingerprint reader

    I had hp protect tools to open a session using the reader of fingerprints on windows 7.  I have upgraded to windows 10 and this software is not available.  tried to install windows 7 version, but it does not recognize the fingerprint reader.  My Devi

  • IMAQ ColorHistograph - information in reality graphics RGB

    I have an RGB image and would like to actually see the distribution of red, green and blue in the picture. I try to use the .vi IMAQ ColorHistograph, but the XY graph resulting does not display anything. I thought the .vi IMAQ ColorHistograph could b

  • CHESS TITANS Windows Vista Edition Family Premium in Windows 7 Starter

    Please, help me to copy game CHESS TITANS of my PC (Windows Vista Home Premium 32 bit SP.2) mini computer laptop of my son (Windows 7 Starter Edition) and make this game run in the second computer. Thank you very much!!!

  • HP TouchSmartiq804

    will be window8

  • Problems of Windows 8

    Hi, recently I have problems with WMP and sound; I have an Aspire E1 - 571 laptop running W8, everything is now up-to-date and I checked all the pilots involved and all are the latest drivers available. When I try to play a music file I sometimes get