Get last part of strings

Hello,
I have a table like bellow
id group_name
1 TW Product Analyst PE
2 TW Tech Support Analyst SP
3 TW Tech Support Manager CE
4 TW Manager SP
5 Another Group Without End With 2 Characters
6 TW Product Coodinator MG
I would like to get just the last part of strings that ends with 2 characters(these 2 characters are states in Brazil).
The query answer need to seems like bellow
id group_name
1 PE
2 SP
3 CE
4 SP
6 MG
I appreciate any kind of help.
Thanks

user5495111 wrote:
Another way
with d as (
Select 1 id, 'TW Product Analyst PE' group_name from dual union all
Select 2, 'TW Tech Support Analyst SP' from dual union all
Select 3, 'TW Tech Support Manager CE' from dual union all
Select 4, 'TW Manager SP' from dual union all
Select 5, 'Another Group Without End With 2 Characters' from dual union all
Select 6, 'TW Product Coodinator MG' from dual
select id, substr(group_name, -2)
from d where id not in(select id from d where trim(substr(group_name,-3,1)) is not null)
This will not work if the fifth row id is null
with d as (
Select 1 id, 'TW Product Analyst PE' group_name from dual union all
Select 2, 'TW Tech Support Analyst SP' from dual union all
Select 3, 'TW Tech Support Manager CE' from dual union all
Select 4, 'TW Manager SP' from dual union all
Select null, 'Another Group Without End With 2 Characters' from dual union all
Select 6, 'TW Product Coodinator MG' from dual
select id, substr(group_name, -2)
from d where id not in(select id from d where trim(substr(group_name,-3,1)) is not null)
no rows selectedInstead or NOT IN use IN Clause
with d as (
Select 1 id, 'TW Product Analyst PE' group_name from dual union all
Select 2, 'TW Tech Support Analyst SP' from dual union all
Select 3, 'TW Tech Support Manager CE' from dual union all
Select 4, 'TW Manager SP' from dual union all
Select null, 'Another Group Without End With 2 Characters' from dual union all
Select 6, 'TW Product Coodinator MG' from dual
select id, substr(group_name, -2)
from d  a where id in  (
     select id from d b where trim(substr(group_name,-3,1)) is null)
        ID SU
         1 PE
         2 SP
         3 CE
         4 SP
         6 MG
5 rows selected.SS

Similar Messages

  • User defined function for getting last string in the line

    Hi Experts,
    I am not java expert, can anyone give me user defined function for getting last string in the line.
    for example if the source field is "NEW ARBOUR SQUARE"  i want to pass to target field only last string that is "SQUARE"
    please help me out of this.
    Kind Regards.
    Praveen.

    You don't even need a UDF for this. In the graphical editor look for the standard functions and once you do a scroll over on 'text functions; you will find what you are looking for.
    Just a piece of advice, try keeping UDF's to minimum unless really required or it is complicated without it.
    regards

  • The theme/background (AWESOME futuristic space scene) shown in the last part of "Getting Started video available for download?

    In the last part of the video "Getting Started" right after I downloaded Firefox 4, there was a background scene of an awesome page that showed some futuristic space scene that has the mozilla theme (fox) in the picture. I would like to know if it is available for download and/or it's name. I searched through the themes, but they don't show enough of the theme to actually see what the background would be once downloaded. Thank you in advance for any help you can offer.
    Gina Taylor

    Maybe you like this video as well:
    * http://vocamus.net/dave/?p=1233 Flight of the Navigator
    * http://videos.mozilla.org/serv/mozhacks/flight-of-the-navigator/
    * http://blog.vlad1.com/2010/12/21/webgl-in-firefox-4-beta-8/

  • Get part of string

    I have the following string:
    jdbc:odbc:dbName
    I wish to get "dbName" from the string?

    I have the following string:
    jdbc:odbc:dbName
    I wish to get "dbName" from the string?Parse it. :)
    If the string always is constructed as follows:
    <string>:<string>:<string>
    Then you can just split it with regular expressions or with the stringtokenizer:
      String dbName = "jdbc:odbc:dbName".split(":")[2];

  • Can't figure out last part of a powershell script

    Hey guys,
    First time posting here. I have a powershell project for school that I'm trying to figure out. I don't have a lot of experience with powershell, but I've gotten most of my project done. I am having issues with this last part. Here is the part of the assignment
    I can't seem to get working properly:
    Process the items in the <localgroupManagement> node.
    Find all non-domain controller computers in the domain
    Add the domain global group specified in the <members><group> node(s) to each discovered computer’s local group specified by the
    <name> node.  If the local group does not exist create it.
    Here is the code I currently have:
    param([string]$filename)
    Function createOU($OU) {
        if ( !(Get-ADOrganizationalUnit -filter {name -eq $OU}) ) {
            Write-Host "Creating new OU: $OU"
            New-ADOrganizationalUnit -Name $OU -Path $ADDomainName
        else {
            Write-Host "OU already exists: $OU"
    Function addUser($account, $fn, $ln, $desc, $pwd, $OU, $ADDomainName, $ADgroup) {
        if ( !(Get-ADUser -Filter {name -eq $account}) ) {        
            Write-Host "Adding user: $account"
            New-ADUser $account -GivenName $fn -Surname $ln -Description $desc -Enabled 1 `
            -DisplayName ($fn + " " + $ln)  -AccountPassword $pwd -ChangePasswordAtLogon $true `
            -Path "OU=$OU,$ADDomainName"
        else {
            Write-Host "User already exists: $account"
    Function addGroup($ADgroup, $ADDomainName, $OU) {
        if ( !(Get-ADGroup -Filter{name -eq $ADgroup}) ) {          
            Write-Host "Adding group: $ADgroup"
            New-ADGroup -Name $ADgroup -GroupCategory Security `
            -GroupScope Global -Path "OU =$OU,$ADDomainName" 
        else {
            Write-Host "Group already exists: $ADgroup"
    ### MAIN PROGRAM
    if( !$filename ) {
        # prompt the user to select a file to process
        [System.Reflection.Assembly]::LoadWithPartialName("system.windows.forms")
        $dialog = New-Object System.Windows.Forms.OpenFileDialog
        $dialog.Filter = "XML Files (*.xml)|*.xml|All Files(*.*)|*.*"
        $dialog.Title = "Select an XML file to import“
        $result = $dialog.showdialog()
        if ( $result -eq "ok" ){
            $filename = $dialog.Filename
    $userfile = [xml](Get-Content $filename)
    $ADDomainName = (Get-ADDomain).DistinguishedName
    foreach( $user in $userfile.root.userManagement.user ) {
        $account = $user.account
        $fn = $user.firstname
        $ln = $user.lastname
        $desc = $user.description
        $pwd = ConvertTo-SecureString -AsPlainText $user.password -force
        $mgr = $user.manager
        $OU = $user.ou
        Write-Host
        Write-Host $account
        Write-Host $fn
        Write-Host $ln
        Write-Host $desc
        Write-Host $user.password
        Write-Host $mgr
        Write-Host $OU
        createOU $OU $ADDomainName
        foreach( $groupmem in $user.memberof.group ) {
            $ADgroup = $groupmem
            addGroup $ADgroup $ADDomainName $OU
            addUser $account $fn $ln $desc $pwd $OU $ADDomainName $ADgroup
            Add-ADGroupMember $ADgroup -Members $account      
    #Local Management
    $computers = Get-ADComputer -Filter * | where {-not($_.distinguishedname -like "*OU=Domain Controllers*")}| `
    foreach{$_.name}
    Write-Host "Computers that already exsist on the Network:"
    foreach($computer in $computers) {
    $DomainName =(Get-ADDomain).NetBIOSName
    $localgroups = $userfile.root.localGroupManagement.localGroup
        foreach($lg in $localgroups.name) {
            try {   
                $newgrp = [adsi]::Exists("WinNT://$computer/$lg,group")
                if($newgrp -eq $true) {
                    Write-Host "$lg Already Exists!"
                else {
               $ds=[adsi]("WinNT://$computer,computer")
               $group=$ds.create("group",$lg)
                    $group.setinfo() 
            catch [Exception] {
    write-host "Exception"
    I have tried other methods, but this is the one I receive the least amount of errors on. The script starts to have issues here:   $newgrp = [adsi]::Exists("WinNT://$computer/$lg,group")
    I have looked information up about WinNT Exists and it appears it has some issues. I have been trying to figure out how to add the domain groups to the local computer's groups. The tricky part is that the script has to run without knowing the computer's
    name so it can run on any domain. If anyone could help me out with this last part I would be very grateful.

    The script should be using WinNT to find computers on the domain and add domain group to each of those computers local group. I have provided portions of the xml file and instructions to help clarify.
    Here is the portion of the xml file I'm having issues with
    <localGroupManagement>
    <localGroup>
    <name>Power Users</name>
    <members>
    <group>Marx Brothers</group>
    </members>
    </localGroup>
    <localGroup>
    <name>Musicians</name>
    <members>
    <group>GGMusicians</group>
    </members>
    </localGroup>
    </localGroupManagement>
    </root>
    Here is what the assignment is assuming.
    Assumptions
    The computer the script is running on will be in the domain that you wish to manage. 
    The computer running the script will have the Active Directory PowerShell module installed.
    The user running the script will have rights to do all required tasks

  • Getting filename from a string including filepath and filename

    How I can get a filename from a string which includes both
    filepath and filename? The filepath is not always the same. For
    example, the variable could include a "C:\temp\test.doc" or
    "C:\files\docfiles\test.doc" and I need to get the filename
    "test.doc" and save it to another variable. Thanks in
    advance.

    on getFilenameFromPath vPath
    oldDelim=the itemDelimiter
    the itemDelimiter=the last char of the moviePath
    iFilename=the last item of vPath
    the itemDelimiter=oldDelim
    return iFilename
    end
    Put that into a movie script. Then you can call the function
    any time
    to retrieve the last part of the path- like this:
    put getFilenameFromPath("C:\temp\test.doc")
    -- "test.doc"
    As an added bonus, it is cross-platform so it will work on a
    Mac as well
    as a PC.

  • Introduction to regular expressions ... last part.

    Continued from Introduction to regular expressions ... continued., here's the third and final part of my introduction to regular expressions. As always, if you find mistakes or have examples that you think could be solved through regular expressions, please post them.
    Having fun with regular expressions - Part 3
    In some cases, I may have to search for different values in the same column. If the searched values are fixed, I can use the logical OR operator or the IN clause, like in this example (using my brute force data generator from part 2):
    SELECT data
      FROM TABLE(regex_utils.gen_data('abcxyz012', 4))
    WHERE data IN ('abc', 'xyz', '012');There are of course some workarounds as presented in this asktom thread but for a quick solution, there's of course an alternative approach available. Remember the "|" pipe symbol as OR operator inside regular expressions? Take a look at this:
    SELECT data
      FROM TABLE(regex_utils.gen_data('abcxyz012', 4))
    WHERE REGEXP_LIKE(data, '^(abc|xyz|012)$')
    ;I can even use strings composed of values like 'abc, xyz ,  012' by simply using another regular expression to replace "," and spaces with the "|" pipe symbol. After reading part 1 and 2 that shouldn't be too hard, right? Here's my "thinking in regular expression": Replace every "," and 0 or more leading/trailing spaces.
    Ready to try your own solution?
    Does it look like this?
    SELECT data
      FROM TABLE(regex_utils.gen_data('abcxyz012', 4))
    WHERE REGEXP_LIKE(data, '^(' || REGEXP_REPLACE('abc, xyz ,  012', ' *, *', '|') || ')$')
    ;If I wouldn't use the "^" and "$" metacharacter, this SELECT would search for any occurence inside the data column, which could be useful if I wanted to combine LIKE and IN clause. Take a look at this example where I'm looking for 'abc%', 'xyz%' or '012%' and adding a case insensitive match parameter to it:
    SELECT data
      FROM TABLE(regex_utils.gen_data('abcxyz012', 4))
    WHERE REGEXP_LIKE(data, '^(abc|xyz|012)', 'i')
    ; An equivalent non regular expression solution would have to look like this, not mentioning other options with adding an extra "," and using the INSTR function:
    SELECT data
      FROM (SELECT data, LOWER(DATA) search
              FROM TABLE(regex_utils.gen_data('abcxyz012', 4))
    WHERE search LIKE 'abc%'
        OR search LIKE 'xyz%'
        OR search LIKE '012%'
    SELECT data
      FROM (SELECT data, SUBSTR(LOWER(DATA), 1, 3) search
              FROM TABLE(regex_utils.gen_data('abcxyz012', 4))
    WHERE search IN ('abc', 'xyz', '012')
    ;  I'll leave it to your imagination how a complete non regular example with 'abc, xyz ,  012' as search condition would look like.
    As mentioned in the first part, regular expressions are not very good at formatting, except for some selected examples, such as phone numbers, which in my demonstration, have different formats. Using regular expressions, I can change them to a uniform representation:
    WITH t AS (SELECT '123-4567' phone
                 FROM dual
                UNION
               SELECT '01 345678'
                 FROM dual
                UNION
               SELECT '7 87 8787'
                 FROM dual
    SELECT t.phone, REGEXP_REPLACE(REGEXP_REPLACE(phone, '[^0-9]'), '(.{3})(.*)', '(\1)-\2')
      FROM t
    ;First, all non digit characters are beeing filtered, afterwards the remaining string is put into a "(xxx)-xxxx" format, but not cutting off any phone numbers that have more than 7 digits. Using such a conversion could also be used to check the validity of entered data, and updating the value with a uniform format afterwards.
    Thinking about it, why not use regular expressions to check other values about their formats? How about an IP4 address? I'll do this step by step, using 127.0.0.1 as the final test case.
    First I want to make sure, that each of the 4 parts of an IP address remains in the range between 0-255. Regular expressions are good at string matching but they don't allow any numeric comparisons. What valid strings do I have to take into consideration?
    Single digit values: 0-9
    Double digit values: 00-99
    Triple digit values: 000-199, 200-255 (this one will be the trickiest part)
    So far, I will have to use the "|" pipe operator to match all of the allowed combinations. I'll use my brute force generator to check if my solution works for a single value:
    SELECT data
      FROM TABLE(regex_utils.gen_data('0123456789', 3))
    WHERE REGEXP_LIKE(data, '^(25[0-5]|2[0-4][0-9]|[01]?[0-9]{1,2})$') 
    ; More than 255 records? Leading zeros are allowed, but checking on all the records, there's no value above 255. First step accomplished. The second part is to make sure, that there are 4 such values, delimited by a "." dot. So I have to check for 0-255 plus a dot 3 times and then check for another 0-255 value. Doesn't sound to complicated, does it?
    Using first my brute force generator, I'll check if I've missed any possible combination:
    SELECT data
      FROM TABLE(regex_utils.gen_data('03.', 15))
    WHERE REGEXP_LIKE(data,
                       '^((25[0-5]|2[0-4][0-9]|[01]?[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]{1,2})$'
    ;  Looks good to me. Let's check on some sample data:
    WITH t AS (SELECT '127.0.0.1' ip
                 FROM dual
                UNION 
               SELECT '256.128.64.32'
                 FROM dual            
    SELECT t.ip
      FROM t WHERE REGEXP_LIKE(t.ip,
                       '^((25[0-5]|2[0-4][0-9]|[01]?[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]{1,2})$'
    ;  No surprises here. I can take this example a bit further and try to format valid addresses to a uniform representation, as shown in the phone number example. My goal is to display every ip address in the "xxx.xxx.xxx.xxx" format, using leading zeros for 2 and 1 digit values.
    Regular expressions don't have any format models like for example the TO_CHAR function, so how could this be achieved? Thinking in regular expressions, I first have to find a way to make sure, that each single number is at least three digits wide. Using my example, this could look like this:
    WITH t AS (SELECT '127.0.0.1' ip
                 FROM dual
    SELECT t.ip, REGEXP_REPLACE(t.ip, '([0-9]+)(\.?)', '00\1\2')
      FROM t
    ;  Look at this: leading zeros. However, that first value "00127" doesn't look to good, does it? If you thought about using a second regular expression function to remove any excess zeros, you're absolutely right. Just take the past examples and think in regular expressions. Did you come up with something like this?
    WITH t AS (SELECT '127.0.0.1' ip
                 FROM dual
    SELECT t.ip, REGEXP_REPLACE(REGEXP_REPLACE(t.ip, '([0-9]+)(\.?)', '00\1\2'),
                                '[0-9]*([0-9]{3})(\.?)', '\1\2'
      FROM t
    ;  Think about the possibilities: Now you can sort a table with unformatted IP addresses, if that is a requirement in your application or you find other values where you can use that "trick".
    Since I'm on checking INET (internet) type of values, let's do some more, for example an e-mail address. I'll keep it simple and will only check on the
    "[email protected]", "[email protected]" and "[email protected]" format, where x represents an alphanumeric character. If you want, you can look up the corresponding RFC definition and try to build your own regular expression for that one.
    Now back to this one: At least one alphanumeric character followed by an "@" at sign which is followed by at least one alphanumeric character followed by a "." dot and exactly 3 more alphanumeric characters or 2 more characters followed by a "." dot and another 2 characters. This should be an easy one, right? Use some sample e-mail addresses and my brute force generator, you should be able to verify your solution.
    Here's mine:
    SELECT data
      FROM TABLE(regex_utils.gen_data('a1@.', 9))
    WHERE REGEXP_LIKE(data, '^[[:alnum:]]+@[[:alnum:]]+(\.[[:alnum:]]{3,4}|(\.[[:alnum:]]{2}){2})$', 'i'); Checking on valid domains, in my opinion, should be done in a second function, to keep the checks by itself simple, but that's probably a discussion about readability and taste.
    How about checking a valid URL? I can reuse some parts of the e-mail example and only have to decide what type of URLs I want, for example "http://", "https://" and "ftp://", any subdomain and a "/" after the domain. Using the case insensitive match parameter, this shouldn't take too long, and I can use this thread's URL as a test value. But take a minute to figure that one out for yourself.
    Does it look like this?
    WITH t AS (SELECT 'Introduction to regular expressions ... last part. URL
                 FROM dual
                UNION
               SELECT 'http://x/'
                 FROM dual
    SELECT t.URL
      FROM t
    WHERE REGEXP_LIKE(t.URL, '^(https*|ftp)://(.+\.)*[[:alnum:]]+(\.[[:alnum:]]{3,4}|(\.[[:alnum:]]{2}){2})/', 'i')
    Update: Improvements in 10g2
    All of you, who are using 10g2 or XE (which includes some of 10g2 features) may want to take a look at several improvements in this version. First of all, there are new, perl influenced meta characters.
    Rewriting my example from the first lesson, the WHERE clause would look like this:
    WHERE NOT REGEXP_LIKE(t.col1, '^\d+$')Or my example with searching decimal numbers:
    '^(\.\d+|\d+(\.\d*)?)$'Saves some space, doesn't it? However, this will only work in 10g2 and future releases.
    Some of those meta characters even include non matching lists, for example "\S" is equivalent to "[^ ]", so my example in the second part could be changed to:
    SELECT NVL(LENGTH(REGEXP_REPLACE('Having fun with regular expressions', '\S')), 0)
      FROM dual
      ;Other meta characters support search patterns in strings with newline characters. Just take a look at the link I've included.
    Another interesting meta character is "?" non-greedy. In 10g2, "?" not only means 0 or 1 occurrence, it means also the first occurrence. Let me illustrate with a simple example:
    SELECT REGEXP_SUBSTR('Having fun with regular expressions', '^.* +')
      FROM dual
      ;This is old style, "greedy" search pattern, returning everything until the last space.
    SELECT REGEXP_SUBSTR('Having fun with regular expressions', '^.* +?')
      FROM dual
      ;In 10g2, you'd get only "Having " because of the non-greedy search operation. Simulating that behavior in 10g1, I'd have to change the pattern to this:
    SELECT REGEXP_SUBSTR('Having fun with regular expressions', '^[^ ]+ +')
      FROM dual
      ;Another new option is the "x" match parameter. It's purpose is to ignore whitespaces in the searched string. This would prove useful in ignoring trailing/leading spaces for example. Checking on unsigned integers with leading/trailing spaces would look like this:
    SELECT REGEXP_SUBSTR(' 123 ', '^[0-9]+$', 1, 1, 'x')
      FROM dual
      ;However, I've to be careful. "x" would also allow " 1 2 3 " to qualify as valid string.
    I hope you enjoyed reading this introduction and hope you'll have some fun with using regular expressions.
    C.
    Fixed some typos ...
    Message was edited by:
    cd
    Included 10g2 features
    Message was edited by:
    cd

    Can I write this condition with only one reg expr in Oracle (regexp_substr in my example)?I meant to use only regexp_substr in select clause and without regexp_like in where clause.
    but for better understanding what I'd like to get
    next example:
    a have strings of two blocks separated by space.
    in the first block 5 symbols of [01] in the second block 3 symbols of [01].
    In the first block it is optional to meet one (!), in the second block it is optional to meet one (>).
    The idea is to find such strings with only one reg expr using regexp_substr in the select clause, so if the string does not satisfy requirments should be passed out null in the result set.
    with t as (select '10(!)010 10(>)1' num from dual union all
    select '1112(!)0 111' from dual union all --incorrect because of '2'
    select '(!)10010 011' from dual union all
    select '10010(!) 101' from dual union all
    select '10010 100(>)' from dual union all
    select '13001 110' from dual union all -- incorrect because of '3'
    select '100!01 100' from dual union all --incorrect because of ! without (!)
    select '100(!)1(!)1 101' from dual union all -- incorrect because of two occurencies of (!)
    select '1001(!)10 101' from dual union all --incorrect because of length of block1=6
    select '1001(!)10 1011' from dual union all) --incorrect because of length of block2=4
    select '10110 1(>)11(>)0' from dual union all)--incorrect because of two occurencies of (>)
    select '1001(>)1 11(!)0' from dual)--incorrect because (!) and (>) are met not in their blocks
    --end of test data

  • Got last letter in String

    HI all ,
    how to got the right part of my string in java?
    String Name =req.getParameter("Horst");in sql i can use
    SELECT right(Name, 2) to got the last letter in string , but when I modify the code as Syear="SELECT right('"+Name+"', 2)"; I got error . is java have function to got last letter in string??
    thank you!

    String s1 = "HELLO";
    String s2 = s1.substring(s1.length() - 1);

  • Last element in string

    Hello all
    I am having a string like this:
    55.000000; 10.000000; 0.100000; 1.000000; 1.000000; 0.100000; 0.000000; 0.000000; 1.000000; 1.000000; 22.000000; 0.100000; 6144.000000;
    The length of the string is not always same. What i want is to have the last element. i.e in this case  6144
    One way is to get the string length and using string subset to get the last element. But for this, the length must be always constant.
    Is there any other way to get the last element independant of the string length
    thanks
    Nghtcwrlr
    ********************Kudos are alwayzz Welcome !! ******************
    Solved!
    Go to Solution.

    Since you have the extra semicolon at the end, I actually grabbed the second-to-last element of the array after the spreadsheet string to array.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Get last element.png ‏13 KB

  • BPM xpath issue with last-index-within-string

    Hey all,
    I have a script task in BPM that updates a field by using multiple xpath functions. I have narrowed the issue down to the oraext:last-index-within-string function.
    If I do something like oraext:last-index-within-string('ora/in/ok/d', '/').....I get 9 like expected.
    But if I base it off the request data like so:
    oraext:last-index-within-string(bpmn:getDataObject('Request')/ns:document/ns1:dDocAccount, '/')........when I go to em I have an internal xpath error.
    I'm assuming it has something to do with using bpmn:getDataObject as a parameter. But I'm not sure what. If I use the getDataObject as a parameter in substring like so:
    substring(bpmn:getDataObject('Request')/ns:document/ns1:dDocAccount, 8)....it works as expected.
    What is it about the combination with last-index-within-string that is giving me an issue??
    Thanks
    John

    Got it. Apparently, sometimes with xpath, you have to concatenate the variable with an empty string to change it into a string....sometimes, but not all the time...yay.... I'm guessing the xpath inbuilt functions already know to convert the variable passed in into a string, whereas the oraext functions don't. I could be completely wrong on that though...:-P . Anyway, this works:
    oraext:last-index-within-string(concat(bpmn:getDataObject('Result')/ns:document/ns1:dDocAccount, ''), '/')
    Thanks,
    John

  • Need FM to get Last change date of Objects in package

    Hi All,
      Is there any Function module to get Last changed date of all Objects in a package .
      How to get the last change date of class,methods,function module.....
      I can get last change date of programs from TRDIR....UDAT....Similarly how can I get for Function Module and Class Methods. 
    With Thanks,
    Dina.
    Message was edited by: Dinamol Sasidharan

    Go/double click on the affected cubes you want to see the time stamp.
    click the Extras(tab on the upper of part of SAP) or simply 'Ctrl + F5'.
    Box will appear.
    Click on Logs for Save/Activate so you will see the linfo for the users who used this cube.
    Then put time restriction for From and To(always the current day and time).
    Then execute, all of the users who changed then saved/activated that cube will appear on that timeframe you view.
    Hope this help.

  • Why is the last part of the Word Press install not working?

    I am installing Word Press to work in Dreamweaver. I have installed MAMP and everything is working fine, I assume. The location of the files are /applications/MAMP/htdocs/wp-content/themes/twentyten.
    I have installed PHP/MySql on my machine and have set up the wordpress database as instructed. The last part of the process has me bogged down. In following step one of the process, I get a blank screen. Here's the url: http://localhost/wp-admin/install.php and the instructions to complete the process.
    With the WordPress files copied to the correct location in the htdocs folder, the web server installed, and a database created, open a browser and browse to http://localhost/wp-admin/install.php.
    A screen telling you to create a configuration file will appear. Click the Create a Configuration File button.
    Click the Let’s Go button to go to a page that allows you to enter your database information.
    Type your database name, wordpress.
    Type your MySQL user name and password (usually the user name and password are both admin, unless you changed them in the database).
    For the Database Host type localhost.
    Click Submit
    Can anyone help?
    Thank for your help,
    GWalton55

    I'm stuck installing virtualhosts in DW and using Wordpress templates, but I may be a few steps further than you are, so I'll try to help. I'm also using Windows, so who knows?
    I'm assuming you are not using a virtual host, just a local host; therefore, I went to the section that has instructions for the steps you are on in David Powers' "Adobe Dreamweaver CS5 with PHP: Training from the Source" and right after he has you launch the browser and open "wordpress/wp-admin/install.php" in "your [site name here] site." He goes on to write:
         The URL depends on how you set up your testing environment:
    Virutal host: http://[site name here]/wordpress/wp-admin/install.php
    Localhost: http://localhost/[site name here]/wordpress/wp-admin/install.php
    NOTE: if you are using the MAMP default ports on a Mac, add :8888 after [site name here] for a virual host, or after a localhost.
    So perhaps that's what you're missing, I really don't know.
    Good luck!

  • Pull out part of string

    I have program that gives me the following data:User[type=Call Manager User,id=usersname,authenticated=true]I need to pull out just the part that is "usersname"
    The length of this part is variable, the rest is not.
    I don't normally program and am not very java familiar at all all.
    Thanks in advance!!

    Assuming the data you have is a String, and as you have said, it will always be the same apart from the id part, you could use the split method followed by the substring method to isolate the part you need. Something like:
    String[] arr = yourString.split(",");
    String id = arr[1].substring(3);Basically, you split the string into an array, using the commas as the delimeter, which will put "id=usersname" in the 2nd element of the array. Then, use the substring method to get the part of the string after the first 3 characters, "id=". Hope that helps.

  • What is the syntax to get last date of Quarter ?

    Hi ,
    We are planning to have Bom effective date functionality. Presently BOM Disable date is coming in between the Quarter. Is there any funtion or syntax to get last date of quarter for the bom disable date. similar to "$begin" to get the last date.
    Thanks

    Hi,
    To get this done you can do the following.
    1. Create the Result Source.
    2. Create the display template using the design manager and copy the existing template make the req. changes on the template and publish it to the document library and give the manage property that you req. for this concatenation functionality. Manage Property
    like the domain etc.
    3. Create search center and add the new page modified the core result web part and give the result source and custom template that created in step 2.
    4. Publish the page.
    5. Create the Search vertical and give the name and use the same page the created in step3. 
    http://sharepointfordeveloper.blogspot.in/2013/09/sharepoint-2013-result-source.html
    http://sharepointfordeveloper.blogspot.in/2013/09/sharepoint-2013-result-types.html
    http://sharepointfordeveloper.blogspot.in/2013/06/sharepoint-2013-design-manager.html

  • How Get last five quarters data using ssrs expression

    Hi All,
    i have an ssrs report where i have to get last five quarters data  and also last five months data when i select quarterly/monthly parameter.....
    is there any possibilty that we can get this using ssrs expression
    any help please.........

    Hi Mr.SMK,
    According to your description, there is an SSRS report, you want to create a parameter, when you select quarterly, data of last five quarters will be displayed. If you select monthly, data of last five months will be displayed. If that is the case, please
    refer to the following steps:
      1. In design surface, in Report Data pane, right-click Parameters and click Add Parameter.
      2. Type parameter name and prompt, set Data Type to Date/Time.
      3. Click Available Values in left pane, select Specify values.
      4. Click Add button, in Label text box, type Quarterly, then click (fx) button and type the expression like below:
    =DateAdd("q",-5,Today())
      5. Click Add button, in Label text box, type Monthly, then click (fx) button and type the expression like below:
    =DateAdd("m",-5,Today())
      6. Right-click the dataset used to retrieve data for the report and open Dataset Properties dialog box.
      7. Click Filters in left pane, click Add button, select Data from Expression drop down list, set Operator to >=, in Value text box, type [@ParameterName].
    The following screenshots are for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

Maybe you are looking for

  • Model number?

    I have an Apple PowerBook G4, 1.33GHz, 60 MB, 512 RAM. How can I find my specific model # and build date (generation)? From what I have seen, it looks like a 2004-2005 unit, but I have yet to locate anything specific on the laptop. Thanx in advance

  • HT201317 PhotoStreaming and iCloud

    My iPhone was recently stolen and my photo's weren't Streamed to teh iCloud and I hadn't backed my phone up in a month so needless to say I lost to many memories.  So my question is 2 parted.  1.  If I Photo Stream my photo's from my iPhone to the iC

  • Two icloud accounts- probs

    I've got two iCloud accounts, poss even three, not done intentionally but historically through ignorance of how the whole iCloud, Apple ID, iTunes, iMessage thing works. My Mac is signed in to one account but my iPhone is signed into another. I want

  • How to copy a selection in channel mode?

    I have photoshop cs6, and I was just wondering how to save a selection in channel mode. So for example (below), If i wanted to only copy the part of this picture that has white and the plant in the picture how would i do this? I've tried colour range

  • How do i restore my notes

    They were deleted when I deleted a gmail account, i didn't realize it was connected to an email account....help!!