Need dissociation street name and street number from one column?

Hi all,
I have one table A with one column with Street name and street number.
And I was adding second column and now need update this second column with street number
and delete street number from first column.
How can unpluging street name and street number from one column?
(street name are 90% char, number is 100 numeric, in 10% street name name
starts with number (1.HEROES 223, 1.HEROES 224...)
Gordan

Hi,
Solution of Mr. Wijk come first, however I like to post (it's very similar and incomplete, I know...). Supose you have a table call address (use position -1 like Mr. Wijk to look backward). It's better in cases like '1.My Street 123' (the space before the number is very important)
SELECT substr(a.street_name,
              1,
              instr(a.street_name,
                    -1) - 1) street_name,
       substr(a.street_name,
              instr(a.street_name,
                    -1) + 1) street_number
  FROM address a;Regards,

Similar Messages

  • TA38622 how do you delete a contact name and phone number from this?  i have deleted it from my regular contacts, but it remains in a text memory when i begin to type the beginning of a name

    How do I delete a contact name and phone number from my texting memory?  I have deleted this contact from my regular contact information; however when I text and begin to text a contact beginning with the 1st letter of the name I had deleted, it brings up the old, deleted contact information in my texting history only.

    You would have to restore as new.

  • Getting host name and port number from application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Getting host name and port number from an application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Procedure to display the employee name and employee number

    Dear All
    can any one has the procedure to display the employee name and employee number from per_all_people_f.
    Regrads
    xyz

    can any one has the procedure to display the employee name and employee number from per_all_people_f. https://forums.oracle.com/forums/search.jspa?threadID=&q=per_all_people_f+AND+last_name+AND+employee_number&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to find proc/func name from package name and line number?

    Hi,
    We are using the pl/sql call stack dump (dbms_utility.format_call_stack) for some debugging purposes. But in the case of a package body execution, the dump does not return the name of the procedure/function that is being executed, but only the name of the package and the line number being executed. So, we have a requirement wherein we need to extract the type and name of a package subunit from the package name and line number.
    e.g.
    From the information package 'A', line number 739
    we should be able to deduce that line 739 is a part of *'function A.f'*
    Does the oracle database provide any native mechanism (PL/SQL packages or otherwise) to support such functionality? If it does not, how can we achieve the desired result?
    Thanks in advance,
    Shashank

    The approach we are currently planning to take up is this :
    1. Write PL/SQL code to parse the entire source (user_source) and build a database table with a structure like this :
    PACKAGE_NAME | UNIT_TYPE | UNIT_NAME | START_LINE | END_LINE
    =============================================
    A | PROCEDURE | P1 | 20 | 345
    A | FUNCTION | F1 | 347 | 629
    etc..
    2. Start PL/SQL package execution.
    3. Keep dumping call stack snapshots whenever a custom debug procedure is called.
    4. Dump the package name and line number to a log file.
    5. Using the package name and line number, query the table built in step 1 and build the final report which shows the control flow in a readable form.
    What we want is to get rid of step 5 and by some means get the logic to extract the unit type and name in step 4 itself.
    Keep them coming..
    Thanks and regards,
    Shashank

  • Hi Everyone,  I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?

    Hi Everyone,  I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?

    I have friends all over Europe, does it matter what number they use to call me? Nope! All incoming calls are free for me.
    The only time you ever have to worry about which number is if you get charged for incoming domestic/international calls.
    You can tag their number (work/home/iphone) and that may show on the CallerID accordingly.
    It should show, John Doe
    underneath,    work/home/mobile
    For example:
    http://shawnblanc.net/images/img-0009-1.png

  • Get PO and Item number from FI Cleared Items

    Hi,
    I need to retrieve PO and item numbers from FI cleared items.
    So I retrieve the records for a particular GR/IR account from table BSIS.  Based on FI document number, item number, fiscal year and company code, I get the PO and item numbers from table BSEG.
    However, I cannot use BSEG in query i.e. SQ01.
    What is the easiest way for me to retrive PO and items numbers?
    Thanks.

    Hi,
    First of all, cleared items live in BSAS. BSIS is for the items that are still open.
    Goto SQ02 and make a direct table read to BSAS; click 'Extras' icon; on the right part of screen click 'Create' icon; give name BSEG and choose 'Additional table' radio button. The keys suggested by the system should be good.
    Regards,
    Ming

  • Vendor name and Vedor number in FAGLL03

    Hi All,
    My Client is running report for GR/IR, T-code FAGLL03, they want to see Vendor name and Vendor number columns in the report. I searched forums and got the answer for Vendor number but not clear
    My questions are
    1. I added field LIFNR in BSEG table in the SPRO and am able to see the vendor colum. If I transport to Test system, will I be able to see the vendor column? (in forums some one mentioned that they are not able to see the vendor column when they transport to Test system) they have been asked to run this program BALVBUFDEL, So I am concerned about this issue and want to know exactly what are the things that need to be done, what programs have to be run before transporting to Test system?
    Also we are using ECC 6.0 and the highest support package present in the system is SAPKGPAD15. So I dont think I need to install the OSS note 1034354, I checked the OSS note and the highest APPL level is 604? but just making sure about this Patch level and OSS note.
    2. Second, how to get the Vendor name cloumn in the report?
    Could someone give me solution? your help will be really appreciated.
    Thanks,
    Harter
    Edited by: Harter21 on Nov 8, 2009 2:57 AM
    Edited by: Harter21 on Nov 8, 2009 2:58 AM

    Hi Sanjay,
    Thanks for the reply. I understood that we get Vendor number from the Function module ITEM_STRUC_EXTENSION and when you run that FM it updates the vendor number in the Structure FAGLPOSYEXT. I want to have Vendor name side to Vendor number field. Can I get vendor name also from the same FM?
    I have tried in BSIS table and other OSS notes that are mentioned in that forum link but none of the OSS notes mentioned about the Vendor name and the vendor name is coming from LFA1 table and that has no connection with FAGLL03 report as far as I understand (correct me if I am wrong).
    If you have any idea please throw some light.
    Thank you very much,
    Harter.

  • Fetch Sales order number and PO number from ship to party and sold to party

    HI,
    I need to get Sales order number and PO number
    from ship to party and sold to party.
    I have only ______sold to party and ship to party and req del date_______ in selection screen as mandatory
    Please let me know
    Sreekanth

    Hi,
    You can do this:-
    SELECT VBELN FROM LIKP
    INTO TABLE T_DELIVERIES
    WHERE KUNNR = SHIP TO PARTY
    AND     KUNAG = SOLD TO PARTY
    AND LFDAT      = DEL DATE.
    You will get a table containing the list of deliveries.
    Use VBFA to get the sales orders from deliveries.
    SELECT VBELV FROM VBFA
    INTO TABLE T_SALESORDERS
    WHERE VBTYP_N = 'J'
    AND     VBELN  = T_DELIVERIES-VBELN.
    T_SALESORDERS WILL give you list of sales orders.
    From Sales Orders you can get Purchase orders through EKKN Table.
    Using EKKN pass T_SALESORDERS-VBELN and get corresponding EBELN.
    Regards,
    SUbhashini

  • Replacing Host Name and Port number throughout Environments

    So I am currently working on a project that have several classes using simple JDBC code. I'm switching all of it to use JNDI instead of what is currently being used. I'm using Weblogic and the plan is to have the code run in a cluster.
    Here is a code Snippet of some of the code.
    Context ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,
    "t3://hostname:port");
    My problem lies in the the "t3://hostname:port" String. I don't want to hardcode that since I know its bad code practice but my question is what is the best way to replace that with the Host Name and Port number as I move environments. Should I have a Class with a Static Variable and just reference that through the other classes or should I put it in some Property file and read the value from there? Any insight into this would be greatly appreciated.
    Thank you.

    would it be something like this?
    Properties properties = new Properties();
              try {
         properties.load(new FileInputStream("src/jndi.properties"));
         String url = properties.getProperty("url");
         System.out.println(url );
         } catch (IOException e) {
         }

  • Add name and page number to document

    Is there a built in way to add your name and page number to each page in a pages document?

    Hi Faynus! You can put it in the header or footer. Use Insert Page number in the menu. You need to have the insert point in the footer if you want it there. you can get the PAges User Guide by going to the menu > Help > Pages User Guide. YOu have the info about headers and footers there

  • Aperture keeps asking for my name and serial number

    Aperture keeps asking for my name and serial number, but only on one of my Macs. This is a new Mac that I restored from my old Mac. It made sense to have to put in the documentation the first time, but the program keeps asking for it. Any thoughts?

    Be sure to enter the serial number, when you are logged in from an account with Administrator priveleges - otherwise the serial number cannot be stored.
    Aperture is installed for all users on your mac, so the serial number is written to the system library, not the user library; this requires read/write access for administrators. Do you enter your serial number using an administrator account?
    SInce you migrated your system from another mac, you still may have an older ProAppSystemID file or Aperture cannot write to the System Library.
    To stop Aperture asking for the serial number, first check, if you still have an old file "ProAppsSystemID" in your System Library.
    Quit Aperture.
    Go to your MacintoshHD and open the folder "Library", then "Application Support", then "ProApps".
    Remove the File "ProAppsSystemID" to the Desktop, if it exist and restart Aperture.
    Reenter your serial number, hopefully for the last time.
    Sometimes Aperture writes this file to a temporary directory, when it cannot write to the Library. If the above does not work, look at the temporary directory /tmp
    Use the Finder's "Go" menu
         Go > Got to folder    and  enter /tmp into the textfield. If you see ProAppsSystemID there, move it to its proper location in /Library/Application Support/ProApps.
    Aperture must be running, and you will have to wait a few minutes to be seeing the file appearing the /tmp directory.
    Regards
    Léonie

  • HT204053 i just got a Mac book pro 13....i need to remove my husbands cell number from my iCloud on this device but don't know how

    I just got a Mac book pro 13 ... I need to remove my husbands cell number from this device but dont know how

    Are you sharing the same iCloud account as your daughter?  If so, that would explain why your contacts are merged.  To fix this, you would need to migrate her device(s) to her own iCloud account.  After doing so, you could then delete her contacts from your Mac without effecting the contacts on her device(s).
    As far as messages, do you have your own iPhone?

  • HT1296 How can I stop and delete facebook names and phone numbers from my iphone

    How can I stop facebook names and phone numbers from being downloaded to my iphone and how can I delete the ones that are already there?

    A better way might be
    Settings > Facebook > Contacts > turn off.
    There are other Facebook settings you might want to leave on. But I also prefer to turn off Calendar there as well to keep every Facebook friends birthday from clogging up my calendar app.

Maybe you are looking for

  • Why does my ipod work with another itunes library

    I was adding some music from my friends computer onto my ipod nano, and I do not know why, but it synced like usual, despite the fact it was a different library. Why is it doing this?

  • Mail Adapter :  Email has blank sender

    I have an interface that creates an email and attaches 2 files.  This all works great in our development environment.  In our production environment, however, the same scenario creates an email with no sender. The "from" attribute in the mail CC is s

  • Protecting SWF files.

    Hi,      Can i know whether there is any way to protect swf files from being decompiling. I have seen that some tools are available for decompiling the swf files. Can anybody help me by providing a tutorial for the same or any ideas. Thank and Regard

  • I'm trying to download CS6 I keep getting a window that says I need to close Bridge. Bridge not open

    I cannot download CS6 because I keep getting a window popping up saying I need to close Bridge. Bridge is already closed. How do I get around this? Do I need to remove bridge altogether from my computer? Thanks for the help.

  • OD Computer Settings

    I am new to OD. I am trying to get SL Server setup on my Mac mini to handle accounts and backups among other custom services that I have running via Apache. I have got the DNS configured and changeip -checkhostname says it is correct. I have promoted