Help: Substring of a field

Hello people,
I have a field called note that includes data as follows. "Note added by JILL BOMSTAD at 03/06/2010". I need to enter only the name of the person i.ee JILL BOMSTAD. I tried the substring but his does not work. Is there a way that I can look only for the name. Appreciate your help.

Thank you very much

If your answer to the question of John is true, then you can try:

WITH t AS
     (SELECT 'Note Added by JILL BOMSTAD at 06/03/2010' str
        FROM DUAL UNION ALL
      SELECT 'Note Added by ABDADADADAADASD4RE B at 06/03/2010' str
        FROM DUAL UNION ALL
      SELECT 'Note Added by JILL at 06/03/2010' str
        FROM DUAL)
--
SELECT SUBSTR(str, INSTR(str, 'by') + 3,
              (INSTR(str, 'at') - 1) - (INSTR(str, 'by') + 3)) NAME
  FROM t;

Tags: Database

Similar Questions

  • HELP/lack of Corrupt field...

    Hi all.

    Using Vista 32 bit. Week last someone dropped my laptop and now it does not start correctly.

    Returns with...

    File: CLFS. SYS

    Status: 0xc00000e9

    Required field is missing or damaged.

    Have tried to get into the bios etc and fix but laptop says no, laptop repair keeps saying load disc that windows cannot load normally... did not have my installation disc, but contact the manifac today. In the meantime if anyone can help then please do!

    Thnks a lot, a lot.

    It is probably a hardware problem. Contact technical support of computer laptop mftr. for the repair. If it is under warranty, test the hard drive and if any of the tests fail, replace it. Hope that the motherboard is not too damaged.

    http://www.elephantboycomputers.com/page2.html#Hardware_Tshoot

    MS - MVP - Elephant Boy computers - don't panic!

  • Help with the hidden field formula

    I have a table in the Acrobat document:

    1 box = data of registration of the user

    Box 2 = user registration data

    Box 3 = user registration data

    Box 4 = (box 1 * Box2 * Box3)

    Box 5 = the user's registration data

    Box (box 4 - box of 5) (6)

    The problem:

    During this table opens in the document all the fields must be blank for printing purposes.

    However, all fields are for a person to enter data, and then print to convenvience.

    What I need help on, creates a script that allows the box 4 and 6 box remain empty but also to fulfill their function and display a value of 0 if the service is validated as true.

    Example:

    Zone 1 = 2

    Area 2 = 2

    Zone 3 = 0

    Box 4 = (box 1 * Box2 * Box3) = 0

    Box 5 = 0

    Box 6 = (box 4 - box of 5) = 0

    Can someone help me with this? Let me know if other explanation or screenshots are needed.

    Thank you.

    You say that you only want to show a zero value in the computed fields if all entry fields are not empty, and the calculation result is zero? If so, a custom for the first calculation script could be something like:

    (function () {}

    Get the values of field as strings

    var v1 = getField("Box_1").valueAsString;

    var v2 = getField("Box_2").valueAsString;

    var v3 = getField("Box_3").valueAsString;

    If (v1 & v2 & v3) {}

    Perform the calculation

    Event.Value = v1 * v2 * v3;

    } else {}

    Event.Value = "";

    }

    })();

    The script for one another might be:

    (function () {}

    Get the values of field as strings

    var v1 = getField("Box_4").valueAsString;

    var v2 = getField("Box_5").valueAsString;

    If (v1 & v2) {}

    Perform the calculation

    Event.Value = v1 - + v2;

    } else {}

    Event.Value = "";

    }

    })();

  • Help with a date field script

    Sorry if this is a repeat. I was interrupted and found that my browser crashed when I'm new so I don't know if the question arises.

    I need a script for a date (mm/dd/yyyy) field where the user can fill only a date that is between 12/31/1899 and the current date (no matter what the date when the form is open). I'm getting to write this but I could not with this one. Any help would be greatly appreciated.

    Thank you!

    I have a feeling that I already answered this question some time ago... Anyway, you can use this code as a script custom validation of the field:

    var minDate = util.scand("mm/dd/yyyy", "12/31/1899");
    var maxDate = new Date();
    event.rc = true;
    if (event.value) {
        var d = util.scand("mm/dd/yyyy", event.value);
        if (dmaxDate) {
            app.alert("Error! The entered date must be between " + util.printd("mm/dd/yyyy", minDate) + " and " + util.printd("mm/dd/yyyy", maxDate));
            event.rc = false;
        }
    }
    
  • Need help to make the field required, based on the drop-down menu ' YES/NO' other please field

    field 'A' - drop down, YES/No.  Field 'B' must be entered if 'A' = 'YES '.  If 'A' = 'NO', then 'B' as a default of 0. If "A" = "-", then "B" is "-".

    Really, I hope someone can help, Ive tried java, etc. action buttons.

    Thank you

    To set the property of the EmployeeID field B use the following that the validation of your menu script drop-down:

    this.getField("B").required = (event.value == "YES");

    As noticed TSN, the required field only comes into play when the record is submitted (and only when it is done using the built-in command to submit, do not use a script).

    However, it is possible to use a script to inform him that the use that the file is not correctly filled in when the file is printed/saved and even to reset the form entirely in this case.

  • Please help with dynamic form field names in cfloop

    Hello

    I need to create a form with day, date, month, year and time for 12 months

    Instead of coding them 12 times, I create fileds day, date, month, year and hour in my form 1 time, then I use cfloop from = "1" to "12" = index = 'i' to these fields in form loop 12 times.

    I gave each form field name such as: < input type = "text" name = "' ScheduleDate_ # I #" value ="" > this way, each of these fields will be named differently: ""

    ScheduleDate_1, ScheduleDate_2, ScheduleDate_3, ScheduleTime_1, ScheduleTime_2, etc.

    I am facing problem when this form is sent, I think that the error has something to do with the number sign (#) when it comes to update the back-end

    I use MS SQL

    He doesn't like this:

    < CFLOOP From="1" To="12" index="k">

    < CFIF Len(Trim(Form.MeetYear_#k#)) NEQ 0 AND Len(Trim(Form.MeetTime_#k#)) NEQ 0>

    < cfquery name ='CreateSchedule' datasource =' #DSN # '>

    UPDATE TableSchedule

    The VALUE SchedDay = < cfqueryparam cfsqltype ="cf_sql_varchar" value ='#form. SchedDay_ # k'>.

    SchedMonth =

    < cfqueryparam cfsqltype ="cf_sql_varchar" value =' #form. . "AnnMonth_ # k '>.

    SchedDate =

    < cfqueryparam cfsqltype ="cf_sql_varchar" value =' #form. . "SchedDate_ # k '>.

    SchedYear =

    < cfqueryparam cfsqltype ="cf_sql_varchar" value =' #form. . "AnnYear_ # k '>.

    SchedTime =

    < cfqueryparam cfsqltype ="cf_sql_varchar" value =' #form. . "Anntime_ # k '>

    SchedId = < cfqueryparam cfsqltype ='cf_sql_numeric' value =' #k # '>

    < / cfquery >

    < / CFIF >

    < / CFLOOP >

    Can anyone help please?

    You cannot nest sharps. Do this instead:

    SET SchedDay =

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

  • Help with the protected fields

    Hi all

    I have a form that has several fields. Of those, some are protected fields that are intended only for the administrator, rest are intended for users in general. General users should submit the form by filling out only the fields that are intended for them. After submitting the form, when the administrator opens the form, he should be able to enter data in the protected fields and save. How this can be achieved at best, so that only the administrator can bypass the protected fields.

    Thank you.

    Sidonie.

    Hi Francine,.

    Here's a sample: https://acrobat.com/#d=1sM9qMpJpgo2Miox * YaQNg

    In this I have set up four fields that are locked initially. There is a button which, when clicked will ask the user a password.

    Now while the password is "124", the form uses a hash function to convert a hex code. I can't remember where I got the function, but it was one of the Adobe blogs. It would be unsafe to store the password "1234" in the form, then the hash code is stored instead: "03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4." The entered password is converted to a hex code and then compared to this.

    Once the fields are unlocked, the background is highlighted. Protect the fields the administrator again click on button and input an incorrect password.

    Now in your form, you can take parts of this solution - for example have a textfield for password instead of a button; have a blocking script in the exit of the textfields event, etc.

    Hope that helps, sorry for the delay to return to you,

    Niall

  • Need help with this Vertical field Manager? It scrolls to the low n!

    I created a vertical field Manager

    public class BGManager extends VerticalFieldManager{
        public BGManager() {
            super(VerticalFieldManager.USE_ALL_WIDTH|USE_ALL_HEIGHT);
        }
        public void paint(Graphics graphics)
        {
            graphics.setBackgroundColor(Color.BLACK);
            graphics.clear();
            super.paint(graphics);
        }
    
    }
    

    I added to my screen, then I added fields in addition to this.

    It works fine, but the Manager starts to scroll down when the focus is on the last field and I'm trying to scroll down.

    He does not stop to the last topic.

    How can I fix?

    Take a look at this thread. It addresses exactly your problem with solution:

    http://supportforums.BlackBerry.com/T5/Java-development/VerticalFieldManager-with-fixed-size-scroll-...

  • How to get the substring of the field in the rules file

    Hello

    I use the Hyperion Essbase 11.1.2.3 version and try to build the size of the area. I have the Code area and description of the region in the source file. But the Description of the region is preceded with another character. Example - "AXX - Asia", "NXX - Netherland" and etc. I don't want to exclude "AXX -", "NXX" - during the generation of dimension. Please could you let me know how to remove these characters through rule files. I want to just generate rule with region Code file and description of the region without these extra characters.

    Source file:

    Region code | Region / / Desc

    AP | AXX - Asia

    NL | NXX - Netherland

    Build of contour should be:

    -AP (Alias: Asia)

    -NL (Alias: Netherland)

    Thank you

    Michel K

    Deker suggestion (using find and replace) is useful if you have a list of possible prefixes and that you are happy to have to update the rules file every time that this list is growing. I'm not a fan of this, personally.

    If the prefix length is always three characters then you must separate the first six characters of the code (the three characters and then space, hyphen, space). This creates two fields of the original; you ignore the first one and then use the second as an alias.

    To split a field into a State of charge, see: splitting fields

  • Help with automatic calculation field


    I'm doing a form to include an automatic calculation for feet cubes (Lxwxh/1728).

    Even if this is possible in the simplified field notation I need to automatically round up for and decimal point. I tried to use the custom calculation script, but I have no experience with java.

    Event.Value = Math.ceil (this.getField("LENGTHRow1").value * this .getField ("WIDTHRow1") .value * this 1728/d("HEIGHTRow1")) .getFiel;

    It's like I had with Googling but I believe that there is some sort of error with the calculation. I would be very happy if someone can show me what should be the script.

    You are missing the part 'value' after the second getField command.

  • Primavera P6 R 7 - need help on hide a field based on the role

    I'm on P6R7 Primavera and to hide a gift of basic field rile to a level of activity.

    is this possible?

    You can not put the text. You can have a Code resource field and make them all Secure, but you need to come up with answers possible HR you want to join.

  • Need help to export form fields in Word

    My company has been creating a recipe book & collect recipes from various people in the company. I created a PDF with form fields, THINKING that I could then export the fields in Excel or Word doc, to be merged into my document final to put in shape for a cookbook.  I realize now, I could be wrong. Can anyone give me any suggestions?

    In Acrobat x: Tools - Forms - several Options form - form data management - Export

    Data / merge data files...

  • Help with body text field...

    OK so far, up to...

    I just finished the construction of a complex for my business. In this form, I created a wide page instead of text box field. So, my problem is simple, but I've not being not able to solve.

    When you type in the active form, the txt continues to insist on the first line and not able to scroll or to continue to the second line, he just continue on beyond the frame of the Txt box field...

    Any idea?

    Caleb

    Now I need to see the form... often you send by e-mail to [email protected] and indicate which field is causing you grief.

    Paul

  • Need help, of a text field automatically updated when you select menu drop-down.

    I have difficulties to do something not work for me. First off the coast, I'm a newbie at the APEX and I am teaching with APEX 4.0. I am developing a project management application for my Department. On my page, I have a list drop-down project number and the project name text field. I want the name of project to be completed when I select the project number in the drop down box text. someone knows how to do this?

    OK, you will need to use an alias for the display value and the return value as you can see in my code, this is still once using your code:

    select PROJ_NUM||'--'||PROJ_NAME d, PROJ_NUM return_value
    from PROJ_TASKS
    order by 1
    

    -I just added the alias d because you already have an alias of the value returned

  • Help with breaks of field

    Hi I have a sql query that brings back the 3 lines of data with 3 columns. Normally, I would use a report to represent the data in the page, then it would look like below-

    Address of type name
    --------------------------------------------------------------
    C Ash Road Test 1
    C John 12 trials Avenue
    Space 9 space road

    What I want to do is to make the data as follows

    ------------------------
    C
    Ash
    1Test Road
    --------------------------
    C
    John
    12 avenue of tests
    ---------------------------
    O
    Space
    9 road space
    ---------------------------

    Basically, I want to break into a new line of each column. Is it possible with a report or do I have to use aegis method to represent the data like this and if so, how. Can someone please.

    Concerning
    Ash

    Hi AshPatel2,

    Modify your report-> report of the attributes-> report templates

    Change it to = default: vertical report, watch 2 (exclude null columns).

    It will show you your report vertically.

    Hopefully this will solve your problem.

    Kind regards
    Jitendra

Maybe you are looking for

  • How to export/import mail filters to another computer?

    Hello I have two laptops and export filters of the letter from Mail.app from 1 computer to another. Is this possible? Or do I have to do it manually one by one? In fact, I have too many filters and want to do it automatically.

  • "Update of the platform" (KB971644 for Windows Vista)

    I tried several times to check updates in the Windows Installer "platform update" updates (KB971644 for Windows Vista) and it will not come to the top. Is there a Microsoft site, I can't go manually to download? Or is there anything else I can do so

  • Creative solutions to Cloud membership

    Hi all! I have a problem with the subscription of creative cloud. Everytime I open an application, like InDesign, it will open a warning that your subscription has expired. I would point out that the annual fee that I signed more licenses expiring Oc

  • Updated Windows 10 and no CC apps work.

    I get this error when I try to load one of them:The program cannot start because MSVCR110.dll is missing on your computer. Try reinstalling the program to fix this problem.I uninstalled and reinstalled and I still get the same error.I have already up

  • Laboratory at home - will this work?

    I'm not familiar with ESXi capabilities or it is that I've never experimented with a bare metal hypervisor. I would like to know if what I have in mind will work before investing my time and money into this projectObjectives - build a ZFS NAS bases /