Querying XML Column in SQL to get all attributes for a element

I have data in a XML column that is formatted as such:
<TestTemplate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<MTouch TabKey="20" Priority="0">
<MMouse MouseKey="21" Priority="0" /> </MTouch>
<MTouch TabKey="11" Priority="1" />
<MTouch TabKey="14" Priority="2" />
<MTouch TabKey="17" Priority="3" />
<MTouch TabKey="23" Priority="4">
<MCategories CatKey="8" Priority="0" />
<MMouse MouseKey="27" Priority="1" />
<MMouse MouseKey="30" Priority="2" />
<MMouse MouseKey="26" Priority="3" />
<MCategories CatKey="9" Priority="4" />
<MGroups GroupKey="3" Priority="5" />
<MMouse MouseKey="28" Priority="6" />
<MCategories CatKey="7" Priority="7" />
<MMouse MouseKey="29" Priority="8" />
</MTouch>
<MTouch TabKey="6" Priority="5">
</MTouch>
</TestTemplate>
In my query I am getting the following results :
ElementName
AttributeName
TabKey
CategoryKey
MTouch
MCategories
6
7
MTouch
MCategories
6
8
MTouch
MCategories
6
9
MTouch
MCategories
11
7
MTouch
MCategories
11
8
MTouch
MCategories
11
9
MTouch
MCategories
14
7
MTouch
MCategories
14
8
MTouch
MCategories
14
9
MTouch
MCategories
17
7
MTouch
MCategories
17
8
MTouch
MCategories
17
9
MTouch
MCategories
20
7
MTouch
MCategories
20
8
MTouch
MCategories
20
9
MTouch
MCategories
23
7
MTouch
MCategories
23
8
MTouch
MCategories
23
9
This is my query:
SELECT DISTINCT
'MTouch' AS ElementName,
'MCategories' AS AttributeName,
n.y.value('@TabKey', 'int') AS TabKey,
e.y.value('@CatKey', 'int') AS CategoryKey
FROM TXML cross apply tablename.columnname.nodes('//TestTemplate//MTouch//MCategories') AS e(y)
cross apply tablename.collumnname.nodes('//TestTemplate//MTouch') AS n(y)
I would like my results to show only the catkey attribute value to show only for MTouch TabKey 23. I need help on how to write the query. Below is the result I am looking for. Notice the Categorykey column is null for all except where
the Element Name of MTouch has a TabKey value of 23.
ElementName
AttributeName
TabKey
TouchPriority
CategoryKey
MTouch
MCategories
6
5
MTouch
MCategories
11
1
MTouch
MCategories
14
2
MTouch
MCategories
17
3
MTouch
MCategories
20
0
MTouch
MCategories
23
4
7
MTouch
MCategories
23
4
8
MTouch
MCategories
23
4
9
Thanks in advance
 

As per the this explanation
I would like my results to show only the catkey attribute value to show only for MTouch TabKey 23
it should be this
select
t.u.value('@TabKey[1]','int') AS tabKey,
t.u.value('@Priority[1]','int') AS Priority,
m.n.value('@CatKey[1]','int')
from @x.nodes('/TestTemplate/MTouch')t(u)
outer apply u.nodes('.[@TabKey="23"]/MCategories')m(n)
ORDER BY 1,3
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • Get all Groups for current user

    Hi I try to get all groups for the current logged on user. This is what I do:
    First I try to search with the IGruopSearchFilter to obtain all unique Group IDs. I always get an proxy error by doing this, maybe the query is to much.
    Then I want to use the method group.isUserMember(user.getUniqueID() to check whether the user is a member of that group or not.
    Is there a better way to obtain all groups for a user (without using a query IGroupSearchFilter)?
    Thanks ahead for your help.
    Burkhardt

    Burkhadrt,
    have you tried this?
    https://media.sdn.sap.com/javadocs/preNW04/SP2/60_sp2_javadocs/ume/com/sap/security/api/IUser.html#getParentGroups(boolean)
    This should give you an iterator for all groups the given user is assigned to.
    Hope it helps... and if so:
    if (helpful) {
      points++
    Regards,
    Dominik

  • How to get all attributes of a component

    Hi all,
    In a component I'm trying to get attributes of some primefaces components, but somehow I cannot retrieve them all.
    Here's a little bit of a table:
              <p:dataTable styleClass="ptable100" title="${msg.contractlist_title}" id="contractlistTable" var="contract" value="#{contractList.contracts}" width="100%" height="200px"
                        emptyMessage="#{msg.all_lists_no_records_found}" paginator="#{contractList.rowSize > 10}" rows="10" rowsPerPageTemplate="5,10,20,50,100"
                        paginatorTemplate="{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}  #{msg.all_lists_numberOfRowsDisplayed_label}{RowsPerPageDropdown}">
                   <p:column id="column_id" resizable="true" sortBy="#{contract.id}" style="white-space:normal">
                      <f:facet name="header"><h:outputText styleClass="headerText" value="#{msg.contractlist_contract_id}" /></f:facet>
                         <h:outputLink value="#{path.dynamicUrl}contract/detail.xhtml" onclick="Richfaces.showModalPanel('busy_nav');">
                             <h:outputText value="#{contract.id}"/>
                             <f:param name="contractid" value="#{contract.id}" />
                         </h:outputLink>
                  </p:column>Then, I try to get the attributes like this (where table is the UIData component):
              String title = "";
              System.out.println("table.getAttribs.keys= " + table.getAttributes().keySet());
              System.out.println("table.getAttribs.vals= " + table.getAttributes().values());
              if (table.getAttributes().containsKey("title")) {
                   title = String.valueOf(table.getAttributes().get("title"));
              }The function getAttributes() is implemented on UIComponentBase so I believe it's independent of the component.
    This prints the following:
    table.getAttribs.keys= [com.sun.facelets.MARK_ID]
    table.getAttribs.vals= [5756abfa]When I do the same for the columns, all attributes I get is MARK_ID, style and styleClass.
    Obviously I'd like to get all attributes, in this case the "title" on the p:dataTable.
    Any thoughts why this isn't working and how I could do that?
    Thank you,
    Steven

    Hi all,
    In a component I'm trying to get attributes of some primefaces components, but somehow I cannot retrieve them all.
    Here's a little bit of a table:
              <p:dataTable styleClass="ptable100" title="${msg.contractlist_title}" id="contractlistTable" var="contract" value="#{contractList.contracts}" width="100%" height="200px"
                        emptyMessage="#{msg.all_lists_no_records_found}" paginator="#{contractList.rowSize > 10}" rows="10" rowsPerPageTemplate="5,10,20,50,100"
                        paginatorTemplate="{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}  #{msg.all_lists_numberOfRowsDisplayed_label}{RowsPerPageDropdown}">
                   <p:column id="column_id" resizable="true" sortBy="#{contract.id}" style="white-space:normal">
                      <f:facet name="header"><h:outputText styleClass="headerText" value="#{msg.contractlist_contract_id}" /></f:facet>
                         <h:outputLink value="#{path.dynamicUrl}contract/detail.xhtml" onclick="Richfaces.showModalPanel('busy_nav');">
                             <h:outputText value="#{contract.id}"/>
                             <f:param name="contractid" value="#{contract.id}" />
                         </h:outputLink>
                  </p:column>Then, I try to get the attributes like this (where table is the UIData component):
              String title = "";
              System.out.println("table.getAttribs.keys= " + table.getAttributes().keySet());
              System.out.println("table.getAttribs.vals= " + table.getAttributes().values());
              if (table.getAttributes().containsKey("title")) {
                   title = String.valueOf(table.getAttributes().get("title"));
              }The function getAttributes() is implemented on UIComponentBase so I believe it's independent of the component.
    This prints the following:
    table.getAttribs.keys= [com.sun.facelets.MARK_ID]
    table.getAttribs.vals= [5756abfa]When I do the same for the columns, all attributes I get is MARK_ID, style and styleClass.
    Obviously I'd like to get all attributes, in this case the "title" on the p:dataTable.
    Any thoughts why this isn't working and how I could do that?
    Thank you,
    Steven

  • Query column value as attribute for an element

    I want to select out a column to be an attribute for an element in my XML file. I know that if I use "@column_name" I will get an attribute but it will be for the row's element. In this case I don't want. In my example below I want a column called DATE_TYPE to be the attribute for the column DATE that is an element. How would I do this? If I select out @DATE_TYPE I get it as an attribute of the <element1> node.
    <element1>
    <element2>VALUE</element2>
    <date>2003-09-02</date>
    </element1>

    As Darrin said, it just matters which element is considered the "active" element.  So in your second example, you actually wrote to it a 3 and then a 1 (classic race condition).  You can set the active element with a property of the array (having trouble finding it at the moment).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • GetProperties( ) (all attributes) for BLOBs

    Hello,
    I am using Oracle 11g R2 SOE.
    I am trying to practice this example that is similar to the one in the doc about :
    getProperties( ) (all attributes) for BLOBsBut nothing gets updated in my table, even though it tells on the output 1 row is updated (as you can see below)
    if I change the statement into Insert, it works perfectly.
    What could be the reason ????
    DECLARE
      img_data              BLOB;
      img_attrib        CLOB;
      mimeType          VARCHAR2(4000);
      width             NUMBER;
      height            NUMBER;
      fileFormat        VARCHAR2(32);
      contentFormat     VARCHAR2(4000);
      compressionFormat VARCHAR2(4000);
      contentLength     NUMBER;
    BEGIN
       SELECT content, attrib, mimtype, width, height, fileformat, contentformat,
         compressionformat, contentlength INTO img_data, img_attrib, mimeType, width,
         height, fileFormat, contentFormat, compressionFormat, contentLength
         FROM com_photos WHERE id = 1012 FOR UPDATE;
      ORDSYS.ORDImage.getProperties(img_data, img_attrib,
             mimeType, width, height, fileFormat,
             contentFormat, compressionFormat, contentLength);
       DBMS_OUTPUT.put_line('Size of XML Annotations ' ||
                       TO_CHAR(DBMS_LOB.GETLENGTH(img_attrib)));
       DBMS_OUTPUT.put_line('mimeType: ' || mimeType );
       DBMS_OUTPUT.put_line('width: ' || width );
       DBMS_OUTPUT.put_line('height: ' || height );
       DBMS_OUTPUT.put_line('fileFormat: ' || fileFormat );
       DBMS_OUTPUT.put_line('contentFormat: ' || contentFormat );
       DBMS_OUTPUT.put_line('compressionFormat: ' || compressionFormat );
       DBMS_OUTPUT.put_line('contentLength: ' || contentLength );
       UPDATE com_photos SET
           content=img_data,
           attrib=img_attrib,
           mimtype=mimeType,
           width=width,
           height=height,
           fileformat=fileFormat,
           contentformat=contentFormat,
           compressionformat=compressionFormat,
           contentlength=contentLength
        WHERE id = 1012;
       COMMIT;
    EXCEPTION
       WHEN OTHERS THEN
       RAISE;
    END;and I get this result
    Size of XML Annotations
    mimeType: image/jpeg
    width: 800
    height: 500
    fileFormat: JFIF
    contentFormat: 24BITRGB
    compressionFormat: JPEG
    contentLength: 55966
    1 row(s) updated.Another point, I am interested in getting only the width and the height of the image, but as I got i have to feed ORDSYS.ORDImage.getProperties with all parameters. Is there a way to get around ?
    Best regards,
    Fateh

    I think you don't need the SELECT for ... UPDATE statement since you are not updating the BLOB. In the UPDATE statement there is no need to update the BLOB since you have not changed the BLOB at all, you are just reading the properties embedded in the image using getProperties.
    However, I can't see anything obviously wrong.
    You could drop the SELECT for ...UPDATE statement, which you is a good thing anyway.

  • Retrieve all attributes for a specific objectClass using ldapsearch

    Hi everybody,
    Question : is it possible to retrieve all attributes for a specific objectClass (by example person) using ldapsearch tool ?
    I tried something like that, but it doesn't work :
    ldapsearch -v -h XXX -p XXX -b "cn=schema" -s base "objectclass=person" attributetypes
    Thanks a lot,
    Franck

    Ok, Thanks for you help,
    But my question is : For a specific objectClass, by example, I would like to have all attributes for the objectClass called "inetOrgPerson"
    something like that :
    ldapsearch -D "cn=Directory Manager" -w pwd -h host ...objectClass="inetOrgPerson"
    and the response could be :
    audio || businessCategory || departmentNumber || displayName || givenName || initials || jpegPhoto || labeledUri || manager || mobile || pager || photo || preferredLanguage || mail || o || roomNumber || secretary || userPKCS12
    I dont't know how to do ????
    Thanks
    Franck

  • Unable to generate the XML file through SQL script. getting error PLS-00306

    I am fetching the data from cursor and generating the xml output I am getting the below error.
    When I have checked the cursor query it is fetching the data in to single column.
    Input truncated to 1 characters
    Enter value for 7: EXEC FND_CONC_STAT.COLLECT;
    DBMS_LOB.append (tmp_file, r.core_xml);
    ERROR at line 95:
    ORA-06550: line 95, column 7:
    PLS-00306: wrong number or types of arguments in call to 'APPEND'
    ORA-06550: line 95, column 7:
    PL/SQL: Statement ignored

    Hi Alex,
    thanks for the responce..
    i have fixed the issue
    i have used XMLAttributes to get the value
    SELECT XMLELEMENT (
    NAME "TranACK",
    XMLAttributes ('1' as "TranNum",
    (select distinct to_char(SYSDATE,'yyyy-mm-dd')
    from DUAL) as "PrcDate"),
    XMLFOREST (
    a.PAYMENT_ID AS "PmtID"),
    XMLFOREST (
    a.ACK_TRANSACTION_RECEIVER AS "Name1"),
    XMLFOREST (
    to_char(a.VALUE_DATE,'yyyy-mm-dd') as "ValueDate" ),
    XMLFOREST (
    a.PAYMENT_AMOUNT AS "CurAmt"),
    XMLFOREST (
    a.CURRENCY_CODE AS "CurCode")
    ).getclobval ()
    AS line_xml
    FROM XXWAP_PAYMENT_LINE_TBL a
    where a.PAYMENT_BATCH_ID=P_batch_id;

  • SQL to get all the characters till the first pipe operator

    I have a pipe (|) separated values list stored in a column. I just want all the characters till the first pipe.('AER' in the below example.) For that i've wrote an SQL
    SQL> select substr('AER|SPAC|EJK|KLSL',1, INSTR('AER|SPAC|EJK|KLSL','|',1,1)-1 ) FROM DUAL;
    SUBSTR('AER|SPAC|EJK|KLSL',1,INS
    AERCan this be written in a more efficient way?

    try,
    SQL> select regexp_substr('AER|SPAC|EJK|KLSL', '[^|]+' ) FROM DUAL;
    REG
    AERTwinkle

  • XML DB: is it possible to get a row for each element in a container element?

    I have an XML document containing a container element (collection). If I query, using an XPath expression, the contained elements I get a row for each container element with the contained element concatenated. Is it possible to get a row for each contained element?
    I run this simple query:
    select extract(xmltype('<colors><color>Red</color><color>Green</color></colors>')
    , '/colors/color/text()').getstringval() from dual
    And get this result:
    EXTRACT(XMLTYPE('<COLORS><COLOR>RED</COLOR><COLOR>GREEN</COLOR></COLORS>'),'/COL
    RedGreen
    1 row selected.
    What I would like to have is:
    Red
    Green
    2 rows selected.
    Wishful thinking or possible? Many thanks!

    Sure. This is where our XMLSequence() function comes in. It allows you to treat the top-level nodes in a nodeset as if they were rows in a table when combined with the TABLE() operator. Here's an example.
    First, to make the SQL look a little cleaner, I like to define a function like this:
    create or replace function testdoc return xmltype as
    begin
      return xmltype('<colors><color>Red</color><color>Green</color></colors>');
    end;.
    To break out the nodeset of <color> elements as a table, we use the following query:
    select value(list_of_color_elements).extract('*/text()').getStringVal() as color
    from TABLE( XMLSequence( extract(testdoc(),'/colors/color'))) list_of_color_elements.
    Or, using the new-in-9.2 extractValue() operator so we don't have to remember the text() part:
    select extractValue( value(list_of_color_elements), '.') as color
    from TABLE( XMLSequence( extract( testdoc() ,'/colors/color'))) list_of_color_elements.
    Here the TABLE(XMLSequence(...)) combo produces a table of XMLType, with one XMLType object in each row of the table.
    In general, if the XMLType instance were coming from an XMLType table xmltab the query would look like this:
    select extractValue( value(colors), '.') as color
    from xmltab x, /* Important that this table comes earlier in the FROM clause! */
         TABLE( XMLSequence( extract( value(x),'/colors/color'))) colors.
    And if the XMLType were instead in a column of XMLType named doc in a table xmltab, then we would have the syntax:
    select extractValue( value(colors), '.') as color
    from xmltab x, /* Important that this table comes earlier in the FROM clause! */
         TABLE( XMLSequence( extract( x.doc ,'/colors/color'))) colorsOnce you get the hang of it, you'll see that the combination of TABLE(XMLSequence()) to "shred" XML nodes into rows, and XMLAgg() to aggregate fragments of XML across multiple rows back into a single document, is quite powerful.

  • How to get all properties for an item with search?

    How can I get all crawled / managed properties back of an item with the search API (REST, client, or server)?
    Currently I am only aware of specifying the applicable properties specifcally by using the selectproperties parameters via REST:
    http://host/site/_api/search/query?querytext='terms'&selectproperties='Path,Url,Title,Author'
    (taken from http://blogs.msdn.com/b/nadeemis/archive/2012/08/24/sharepoint-2013-search-rest-api.aspx)
    I don't want to do this. I just want to get all properties back that
    are associated with the search results.

    Its my understanding that standard managed properties will be returned, like: Created Date, Last Date Modified, Author, Title, etc.  However, if you need more than that you will need to specify the properties to return.
    This blog post also has a similar thought process:
    http://www.blendmaster.net/blog/2012/09/view-managed-property-value-in-sharepoint-2013-using-search-rest-api/
    Brandon Atkinson
    Blog: http://brandonatkinson.blogspot.com

  • Getting all data for ESS Pers, Address, Bank & Family screen from SAP 4.7

    Hi,
    I need suggestions on a weird situation that we have in one of the ESS/MSS project.
    Following are the systems that client has: -
          1. Enterprise Portal 7.0
          2. SAP ECC 6.0  -
    > (all JCOs in ESS/MSS DCs point to this system.. so in short this system is mapped to Portal)
          3. SAP 4.7            -
    > (they are maintaining all data for Pers, Address, Bank & Family here)
          4. Infotype data for some infotypes (such as 0105) are synched between these two SAP systems.
    Now, there are some standard + Z fields added in infotypes in SAP4.7 system.
    To display Z- fields on Portal, here is what is already done: -
           - Z - RFC is written in SAP ECC6.0 that calls SAP 4.7 to get the data.
           - Standard ESS WD DCs (pers, addr, fam & bank)  are edited to call above RFC to display Z - fields.
    Now, Client wants : -
          - to display all data from SAP4.7 system on portal (standard as well as Z fields).
          - use ECC6.0 system as a middle box between EP & SAP4.7.. There will be RFCs written in SAP ECC6.0 system that will call FMs in SAP 4.7 and return the data
    Now, I don't understand how do I change standard WD DCs that has some standard ARFC models (HRXSS_PER*) written in them.
    Any ideas on how to proceed on these objectives?
    Please help.
    Thanks & Regards,
    Amey

    Hi Siddarth,
    Thanks for reply.
    So I have following alternatives ? : -
    Option-1 : Sync data between ECC6.0 and SAP4.7 for these Infotypes at regular intervals.
                        (No changes @ ABAP & WD code)
    Option-2 : Enhance standard RFCs (such as HRXSS_PER_READ_P0006_FR) in ECC6.0 system to get data from SAP4.7.
                        (Changes @ ABAP side only)
    Option-3 : Create custom RFCs in ECC6.0 and import them at WD side and set data in 'SelectedInfotype' node?
                        Then what do we do about standard RFC calls that are already present in these DCs?
                        I am a bit skeptical about this approach.
                        (lot of work in both ABAP & WD side)
    Can you please comment?

  • Best practice for getting all Activities for a Contact

    Hello,
    I am new to the Eloqua API and am wondering what is the best practice for downloading a list of all activities for a given contact.
    Thanks

    Hi Mike,
    For activities in general, Bulk 2.0 Activity Exports will be the best way to go. Docs are here: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/index.html
    But it can be a complex process to wrap your head around if you're new to the Eloqua API. So if you're in a pinch and don't care about the association of those activities to campaigns, and only need to pull activities for a few contacts, you can resort to using REST API calls.
    The activity calls are visible (from Firebug or Chrome console) if you open any contact record and navigate to the "Activity Log" tab. If you have it set to all activities, it will fire off a dozen or more calls or you can choose an individual one from the picklist to inspect that call in more detail.
    Best regards,
    Bojan

  • Looking for a reference manual that actually describes in detail all attributes for a command

    I am using CS5. I am teaching myself Photoshop using their book, "Classroom in a book".
    Thought the lessons, they will suggest specific setting for command attributes without describing exacting what these values mean.. For example, on page 88 they give the student specific settings for the Refine Edge dialog bog under the Quick Selection tool. They say, "To prepare the edge for a drop shadow, set Smooth to 24, Feather to 0.5, Contrast to 12, and Shift Edge to -21". Note: I am calling things like Smooth, Feather, Contrast, etc command attributes.
    My question is not about this specific example, but all these attribute values for all the commands. For example, what does Shift Edge really do when negative or positive. My question is: does a reference, either a book, pdf, or a non-Adobe product (probably a book) exist that actually explains when each attribute actually does for every command? Basically looking for a boring detailed reference guide so when I am using a specific command, I can read about the attributes for the specific command and understand what the values really mean and not guess my trial and error.
    Thanks in Advance,
    LouF

    Lou Fuchs wrote:
    For example, I just happen to have my book open to page 113 and it is showing me (at the bottom of the page) the dialog box for Layer Style.  I was hoping for a reference manual that explains every option in the that dialog box in detail and tells you what each option means and how it effects the image.
    I hope this clarifies what I am looking for.
    Here's a little snippet from the info about Layer Styles in the Adobe manual.
    Layer style options
    To the top
    Altitude For the Bevel and Emboss effect, sets the height of the light source. A setting of 0 is equivalent to ground level, 90 is directly above the layer. Angle Determines the lighting angle at which the effect is applied to the layer. You can drag in the document window to adjust the angle of a Drop Shadow, Inner Shadow, or Satin effect.
    Anti-alias Blends the edge pixels of a contour or gloss contour. This option is most useful on small shadows with complicated contours. Blend Mode Determines how the layer style blends with the underlying layers, which may or may not include the active layer. For example, an inner shadow blends with the active layer because the effect is drawn on top of that layer, but a drop shadow blends only with the layers beneath the active layer. In most cases, the default mode for each effect produces the best results. See Blending modes. Choke Shrinks the boundaries of the matte of an Inner Shadow or Inner Glow prior to blurring. Color Specifies the color of a shadow, glow, or highlight. You can click the color box and choose a color. Contour With solid-color glows, Contour allows you to create rings of transparency. With gradient-filled glows, Contour allows you to create variations in the repetition of the gradient color and opacity. In beveling and embossing, Contour allows you to sculpt the ridges, valleys, and bumps that are shaded in the embossing process. With shadows, Contour allows you to specify the fade. For more information, see Modify layer effects with contours. Distance Specifies the offset distance for a shadow or satin effect. You can drag in the document window to adjust the offset distance. Depth Specifies the depth of a bevel. It also specifies the depth of a pattern. Use Global Light This setting allows you to set one “master” lighting angle that is then available in all the layer effects that use shading: Drop Shadow, Inner Shadow, and Bevel and Emboss. In any of these effects, if Use Global Light is selected and you set a lighting angle, that angle becomes the global lighting angle. Any other effect that has Use Global Light selected automatically inherits the same angle setting. If Use Global Light is deselected, the lighting angle you set is “local” and applies only to that effect. You can also set the global lighting angle by choosing Layer Style > Global Light. Gloss Contour Creates a glossy, metallic appearance. Gloss Contour is applied after shading a bevel or emboss. Gradient Specifies the gradient of a layer effect. Click the gradient to display the Gradient Editor, or click the inverted arrow and choose a gradient from the pop-up panel. You can edit a gradient or create a new gradient using the Gradient Editor. You can edit the color or opacity in the Gradient Overlay panel the same way you edit them in the Gradient Editor. For some effects, you can specify additional gradient options. Reverse flips the orientation of the gradient, Align With Layer uses the bounding box of the layer to calculate the gradient fill, and Scale scales the application of the gradient. You can also move the center of the gradient by clicking and dragging in the image window. Style specifies the shape of the gradient. Highlight or Shadow Mode Specifies the blending mode of a bevel or emboss highlight or shadow. Jitter Varies the application of a gradient’s color and opacity. Layer Knocks Out Drop Shadow Controls the drop shadow’s visibility in a semitransparent layer. Noise Specifies the number of random elements in the opacity of a glow or shadow. Enter a value or drag the slider. Opacity Sets the opacity of the layer effect. Enter a value or drag the slider. Pattern Specifies the pattern of a layer effect. Click the pop-up panel and choose a pattern. Click the New Preset button          to create a new preset pattern based on the current settings. Click Snap To Origin to make the origin of the pattern the same as the origin of the document (when Link With Layer is selected), or to place the origin at the upper-left corner of the layer (if Link With Layer is deselected). Select Link With Layer if you want the pattern to move along with the layer as the layer moves. Drag the Scale slider or enter a value to specify the size of the pattern. Drag a pattern to position it in the layer; reset the position by using the Snap To Origin button. The Pattern option is not available if no patterns are loaded. Position Specifies the position of a stroke effect as Outside, Inside, or Center. Range Controls which portion or range of the glow is targeted for the contour. Size Specifies the radius and size of blur or the size of the shadow. Soften Blurs the results of shading to reduce unwanted artifacts. Source Specifies the source for an inner glow. Choose Center to apply a glow that emanates from the center of the layer’s content, or Edge toapply a glow that emanates from the inside edges of the layer’s content. Spread Expands the boundaries of the matte prior to blurring.
    Style Specifies the style of a bevel: Inner Bevel creates a bevel on the inside edges of the layer contents; Outer Bevel creates a bevel on the outside edges of the layer contents; Emboss simulates the effect of embossing the layer contents against the underlying layers; Pillow Emboss simulates the effect of stamping the edges of the layer contents into the underlying layers; and Stroke Emboss confines embossing to the boundaries of a stroke effect applied to the layer. (The Stroke Emboss effect is not visible if no stroke is applied to the layer.)
    Technique Smooth, Chisel Hard, and Chisel Soft are available for bevel and emboss effects; Softer and Precise apply to Inner Glow and Outer Glow effects.
    Smooth Blurs the edges of a matte slightly and is useful for all types of mattes, whether their edges are soft or hard. It does not preserve detailed features at larger sizes. Chisel Hard Uses a distance measurement technique and is primarily useful on hard-edged mattes from anti-aliased shapes such as type. It preserves detailed features better than the Smooth technique.
    Chisel Soft Uses a modified distance measurement technique and, although not as accurate as Chisel Hard, is more useful on a larger range of mattes. It preserves features better than the Smooth technique. Softer Applies a blur and is useful on all types of mattes, whether their edges are soft or hard. At larger sizes, Softer does not preserve detailed features.
    Precise Uses a distance measurement technique to create a glow and is primarily useful on hard-edged mattes from anti-aliased shapes
    such as type. It preserves features better than the Softer technique. Texture Applies a texture. Use Scale to scale the size of the texture. Select Link With Layer if you want the texture to move along with the layer as the layer moves. Invert inverts the texture. Depth varies the degree and direction (up/down) to which the texturing is applied. Snap To Origin makes the origin of the pattern the same as the origin of the document (if Link With Layer is deselected) or places the origin in the upper-left corner of the layer (if Link With Layer is selected). Drag the texture to position it in the layer.

  • How can i get live help for premiere elements 11

    how can i get live help with premiere elements 11

    Click I STILL NEED HELP at this next link for Premiere Elements chat
    -http://helpx.adobe.com/contact.html?product=premiere-elements&topic=activating-my-product- or-serial-number-issues

  • Help with oracle sql to get all possible combinations in a table.

    Hello guys I have a small predicatement that has me a bit stumped. I have a table like the following.(This is a sample of my real table. I use this to explain since the original table has sensitive data.)
    CREATE TABLE TEST01(
    TUID VARCHAR2(50),
    FUND VARCHAR2(50),
    ORG  VARCHAR2(50));
    Insert into TEST01 (TUID,FUND,ORG) values ('9102416AB','1XXXXX','6XXXXX');
    Insert into TEST01 (TUID,FUND,ORG) values ('9102416CC','100000','67130');
    Insert into TEST01 (TUID,FUND,ORG) values ('955542224','1500XX','67150');
    Insert into TEST01 (TUID,FUND,ORG) values ('915522211','1000XX','67XXX');
    Insert into TEST01 (TUID,FUND,ORG) values ('566653456','xxxxxx','xxxxx');
    "TUID"                        "FUND"                        "ORG"                        
    "9102416AB"                   "1XXXXX"                      "6XXXXX"                     
    "9102416CC"                   "100000"                      "67130"                      
    "955542224"                   "1500XX"                      "67150"                      
    "915522211"                   "1000XX"                      "67XXX"                      
    "566653456"                   "xxxxxx"                      "xxxxx"                       The "X"'s are wild card elements*( I inherit this and i cannot change the table format)* i would like to make a query like the following
    select tuid from test01 where fund= '100000' and org= '67130'however what i really like to do is retrieve any records that have have those segements in them including 'X's
    in other words the expected output here would be
    "TUID"                        "FUND"                        "ORG"                        
    "9102416AB"                   "1XXXXX"                      "6XXXXX"                     
    "9102416CC"                   "100000"                      "67130"                      
    "915522211"                   "1000XX"                      "67XXX"                      
    "566653456"                   "xxxxxx"                      "xxxxx"  i have started to write a massive sql statement that would have like 12 like statement in it since i would have to compare the org and fund every possible way.
    This is where im headed. but im wondering if there is a better way.
    select * from test02
    where fund = '100000' and org = '67130'
    or fund like '1%' and org like '6%'
    or fund like '1%' and org like '67%'
    or fund like '1%' and org like '671%'
    or fund like '1%' and org like '6713%'
    or fund like '1%' and org like '67130'
    or fund like '10%' and org like '6%'...etc
    /*seems like there should be a better way..*/can anyone give me a hand coming up with this sql statement...

    mlov83 wrote:
    if i run this
    select tuid,fund, org
    from   test01
    where '100000' like translate(fund, 'xX','%%') and '67130' like translate(org, 'xX','%%');this is what i get
    "TUID"                        "FUND"                        "ORG"                        
    "9102416AB"                   "1XXXXX"                      "6XXXXX"                     
    "9102416CC"                   "100000"                      "67130"                      
    "915522211"                   "1000XX"                      "67XXX"                      
    "566653456"                   "xxxxxx"                      "xxxxx"                      
    "9148859fff"                  "1XXXXXX"                     "X6XXX"                       the last item should be excluded. The second digit in "org" is a "7" Fund is wrong, too. You're looking for 6 characters ('100000'), but fund on that row is 7 characters ('1XXXXXX').
    and this is sitll getting picked up.That's why you should use the _ wild-card, instead of %
    select  tuid, fund, org
    from    test01
    where  '100000' like translate (fund, 'xX', '__')
    and    '67130'  like translate (org,  'xX', '__')
    ;It's hard to see, but, in both calls to TRANSLATE, the 3rd argument is a string of 2 '_'s.

Maybe you are looking for

  • Getting Error Message When Duplicating Fields

    I am using Acrobat X Pro, ver 10.1.4 to edit an existing Acrobat (non LiveCycle) form. My computer is running Windows XP, Service Pack 3. There are three fields on my form that I want to select and duplicate multiple times (11 times down and 4 times

  • Security code is invalid. - Cannot Update or Purchase Apps

    Same issue as so many others. Again (this happened before but all I had to do was renter my credit card info). I was able to delete account and re-enter in both iTunes or online and it worked but not this time. Either the recent Safari update, iTunes

  • Pages wont load Win 8.1

    I have updated to win 8.1 and find that some pages just wont load, sometimes theirs a big lag. eg This page can't be displayed Make sure the web address http://www.superrugby.co.nz is correct. Look for the page with your search engine. Refresh the pa

  • Handling error in data entry screen

    Dear experts, I developed a module pool program which is an entry screen capturing some fields such as matnr,lifnr. Incase there is a failure to store data on to mseg table  using BAPI for movement, i have set a custom message by using the command as

  • Rewrite Location-headers in frontend by weblogic plugin

    Hi! I've got a problem where I've got a Apache 2.2.9 acting as a proxy for a application running on BEA Weblogic. I'm using the plugin from BEA Weblogic as the proxy. Everything works fine except when the weblogicserver makes a redirect, i.e. sends a