SQL to find when a field was set to previous value

Hi all
new to the forums and SQL
I am not even sure this is possible. I want to display the value of Fields!modified_by_name.Value when Fields!status.Value = "Compleate"
Fields!status.Value will have a value of either open, closed or complete, I need to find the name of the person that completed the job after is has been closed
any help greatly appreciated
cheers David

Hi David,
So it is not the VS IDE issue, am I right?
If it is related to the SQL Server, maybe you could select the correct forum here:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver
If not, maybe you could share me more detailed message about it, so I could help you find a better/correct forum.Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I've just redeemed a $25 gift card but when the process was completed, the previous credit I had on my account (about $3) had disappeared and the total credit I now have is only $25. How can I retreive the $3? Thanks for your help.

    I've just redeemed a $25 gift card but when the process was completed, the previous credit I had on my account (about $3) had disappeared and the total credit I now have is only $25. How can I retreive the $3? Thanks for your help.

    Contact Support and explain your issue.
    Mac App Store Support -
    http://www.apple.com/support/mac/app-store/

  • SQL*Loader and "Variable length field was truncated"

    Hi,
    I'm experiencing this problem using SQL*Loader: Release 8.1.7.0.0
    Here is my control file (it's actually split into separate control and data files, but the result is the same)
    LOAD DATA
    INFILE *
    APPEND INTO TABLE test
    FIELDS TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"'
    first_id,
    second_id,
    third_id,
    language_code,
    display_text VARCHAR(2000)
    begindata
    2,1,1,"eng","Type of Investment Account"
    The TEST table is defined as:
    Name Null? Type
    FIRST_ID NOT NULL NUMBER(4)
    SECOND_ID NOT NULL NUMBER(4)
    THIRD_ID NOT NULL NUMBER(4)
    LANGUAGE_CODE NOT NULL CHAR(3)
    DISPLAY_TEXT VARCHAR2(2000)
    QUESTION_BLOB BLOB
    The log file displays:
    Record 1: Warning on table "USER"."TEST", column DISPLAY_TEXT
    Variable length field was truncated.
    And the results of the insert are:
    FIRST_ID SECOND_ID THIRD_ID LANGUAGE_CODE DISPLAY_TEXT
    2 1 1 eng ype of Investment Account"
    The language_code field is imported correctly, but display_text keeps the closing delimiter, and loses the first character of the string. In other words, it is interpreting the enclosing double quote and/or the delimiter, and truncating the first two characters.
    I've also tried the following:
    LOAD DATA
    INFILE *
    APPEND INTO TABLE test
    FIELDS TERMINATED BY '|'
    first_id,
    second_id,
    third_id,
    language_code,
    display_text VARCHAR(2000)
    begindata
    2|1|1|eng|Type of Investment Account
    In this case, display_text is imported as:
    pe of Investment Account
    In the log file, I get this table which seems odd as well - why is the display_text column shown as having length 2002 when I explicitly set it to 2000?
    Column Name Position Len Term Encl Datatype
    FIRST_ID FIRST * | O(") CHARACTER
    SECOND_ID NEXT * | O(") CHARACTER
    THIRD_ID NEXT * | O(") CHARACTER
    LANGUAGE_CODE NEXT 3 | O(") CHARACTER
    DISPLAY_TEXT NEXT 2002 VARCHAR
    Am I missing something totally obvious in my control and data files? I've played with various combinations of delimiters (commas vs '|'), trailing nullcols, optional enclosed etc.
    Any help would be greatly appreciated!

    Use CHAR instead aof VARCHAR
    LOAD DATA
    INFILE *
    APPEND INTO TABLE test
    FIELDS TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"'
      first_id,
      second_id,
      third_id,
      language_code,
      display_text    CHAR(2000)
    )From the docu:
    A VARCHAR field is a length-value datatype.
    It consists of a binary length subfield followed by a character string of the specified length.
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76955/ch05.htm#20324

  • Where do I find when my macbook was made

    Where can I find when macbook was made

    You'll need the serial number which you can find in the System Profiler located in /Applications/Utilities
    Under Contents select Hardware. Serial # is on the right.
    Click here >  http://www.appleserialnumberinfo.com/Desktop/index.php
    When you see the results of the serial number search, look under Misc Information / Introduction.

  • Garageband how do i find when a file was recorded

    Is there a way of finding when i recorded a file into garageband i.e what date and time?
    Thanks

    Depends what you mean by "file". Every GB project has a creation date and a "modified" date. If you have recorded real audio tracks inbetween and want to know their exact recording date, you can look into the project package: in the finder, ctrl-click the project, select "Show Package Content", and inspect the Media folder which contains all of your recordings.
    CAUTION: look, don't touch - messing with the files can corrupt your project and make it unusable.

  • SQL Query to find when the data was committed

    Hi,
    In oracle how do we find the when the row as committed into DB(Timestamp):
    Eg:
    If insert 1000 records from the application i want to know what is exact time the data was committed in the DB.
    Regards
    NM

    NM wrote:
    Hi,
    Thanks for your Input.
    The Query returned the following.But I want something like this 7/6/2011 6:43:54.23:32:00000 PM(Includes micro seconds)
    SELECT ora_rowscn,orderid FROM tibex_order  where orderid='0NEC.000OXNVE9JYSNQC' ;
    12541143230,0NEC.000OXNVE9JYSNQC
    SELECT SCN_TO_TIMESTAMP(ORA_ROWSCN) FROM tibex_order where orderid='0NEC.000OXNVE9JYSNQC' ;
    7/6/2011 6:43:54.000000000 PMRegards
    NMIt's already giving it to you in nano-seconds.
    What's with this format:???
    But I want something like this 7/6/2011 6:43:54.23:32:00000 PM
                                            ^ ^  ^  ^^^
                                            | |  |  ||+-- what is this colon for?
                                            | |  |  |+--- hundredths of seconds
                                            | |  |  +---- tenths of seconds
                                            | |  +------- seconds
                                            | +---------- minutes 
                                            +------------ hour

  • Ie8+fp10,1,102,64  fullscreen not working when allowNetworking param was set

    I got SecurityError#2152 when i set fullscreen mode in the MouseEvent.CLICK response function, i didnt set wmode param, and did set the allowFullScreen to true, and still got this error.
    But after i removing this param:<PARAM value="true" name="allowNetworking" />,  the fullscreen mode works fine!!!!
    WHY?? Is this a BUG?

    my fault.....allowNetWorking can't be set to true.....the optional values are all/internal/none.
    so sad...i paid a long time to find this problem....

  • My iCloud account name was inputted incorrectly when my iPhone was set up. I made a new iCloud account but my phone still automatically loads the old and unusable iCloud account. How can I update my phone to load the new and correct account?

    My iCloud account name was inputted incorrectly during initial phone set up. I created another iCloud account name but it is still the old and wrong iCloud account that automatically loads whenever I access the iCloud tab on my phone. How do I replace it my new and correct account name?

    She won't after the change.
    Note you can use the same Apple ID in
    Settings > iTunes & App Store > Apple ID: > here to share purchased music, apps and books.
    Other than that each of you should use your own Apple ID for iMessage, FaceTime, iCloud, Game Center, etc.

  • How do I restore an itunes library when my computer was set back to factory settings?

    Well it all started when my computer got infected by the wins7 virus.So my bro restored my computer to factory settings and ever since then i had to redownload itunes and now that i try to update my iphone it says "Will lose all media if not updated from original compter" but after that it says in order to save media you need original library which i cant locate due to my brother restoring my computer to original factory settings.

    Use your backup copy of your computer to put everything back.

  • Help me to set a wrong value in DateField object

    Hi all,
    I have a DateField object in my View Bean, which is having three seperate drop down for Date,month and year. When user select a wrong input (For Eg: 31 Sep 2006), the Error Action Handler will return with (01 Oct 2006) value as Date object is linient. So is there any hope to set my previouse value in the field.
    Thanks in Advance.

    Are you asking if it's possible to make an incorrect
    date default to the nearest correct date in the same
    month?I meant, I want to set a wrong date object. As Date,Calendar and GregorianCalendar all are lenient in true in default, it will count the date value and go forward to the next date. I dont want to do this. I have to set the selected date as my date object.
    Thanks

  • Cannot set Skillbuilder SuperLOV value

    Hello,
    i have a superlov item, P1_CODE which i am trying to set it's value from javascript.
    $s('P1_CODE', 'AA.001');
    The Enterable field is set to Enterable - Not restricted to LOV but i cannot set the field as it remains null. I can select from the popup list or enter directly a value.
    If i use the same code on a e.g. TextBox it works fine.
    I'm using Apex 4.2.3 and SuperLOV 2.0.2
    Teo
    Thank you.

    It does work. Don't forget that the superlov is built as a fieldset which contains a hidden item ( = return value) and the text item ( = display value). Calling either $s or apex.item.setValue with one value will set the return value of the item.
    JavaScript APIs: apex.item.setValue
    JavaScript APIs: $s
    $s(pNd, pValue, pDisplayValue, pSuppressChangeEvent)
    You can see it working as expected by inspecting the html. When you want to set the display value as well as the return value, then simply provide a third parameter.
    eg
    $s("P18_SLOV", "JAMES", "7900")
    Now, also be aware that the superlov has some interesting methods available, as seen in the documentation:
    The getValuesByReturn and setValuesByReturn methods can be used to programmatically fetch return values and set the item using the return values. getValuesByReturn will return a JSON object with the results from the fetch. setValuesByReturn goes a step further using the return values to set the display and return values for the item. Example(s):
    $('#P1_ITEM_NAME').apex_super_lov('getValuesByReturn', '101');
    $('#P1_ITEM_NAME').apex_super_lov('setValuesByReturn', '999');

  • How to set the initial value of of a poplist dynamical

    Hi,
    I've got a poplist that is populated by a recordgroup. This is done by the following pre-form trigger:
    DECLARE
         l_query_ok NUMBER;
         l_group_id RecordGroup;
         l_it_id     item;
         l_int_value VARCHAR2(2);
    BEGIN
         l_it_id := Find_item('MERGED_ISSUER.product_code');
         l_group_id := FIND_GROUP('RG_PRODUCT_CODE');
         l_query_ok := POPULATE_GROUP(l_group_id);
         -- Populate list 'Product Code'
         CLEAR_LIST (l_it_id);
         POPULATE_LIST(l_it_id,l_group_id);
    END;
    I've tried to set the initial value by adding following lines to the trigger above but I receive the frm-41084 error. This code assigns the first value of the recordgroup to a hidden text item. In the properties of the poplist the value of the hidden text field is set as initial value.
    -- Set initial value
    l_int_value := Get_Group_Char_Cell('RG_PRODUCT_CODE', 1);
    :MERGED_ISSUER.int_value := l_int_value;
    Any help?
    thx

    Hello Ken,
    you can set an initial value for a poplist with the copy command.
    You could use a procedure like this:
    PROCEDURE P_FILL_LBX
         lbx_ITEM_IN                 VARCHAR2,
         grp_DATA_GROUP_IN  VARCHAR2,
         flg_DEL_NULL              BOOLEAN,
         str_WERT_IN               VARCHAR2
    ) IS
      ERROR_ID NUMBER;
    BEGIN
      CLEAR_LIST(lbx_ITEM_IN);
      ERROR_ID := populate_group(grp_DATA_GROUP_IN);
      populate_list(lbx_ITEM_IN,grp_DATA_GROUP_IN);
      IF flg_DEL_NULL = TRUE THEN
        DELETE_LIST_ELEMENT(lbx_ITEM_IN,GET_LIST_ELEMENT_COUNT(lbx_ITEM_IN));
      END IF;
      IF str_WERT_IN IS NOT NULL THEN
        COPY(str_WERT_IN,''||lbx_ITEM_IN||'');
      END IF;
    END;Bernd

  • I received an Iphone 5 as a gift two days ago. The first thing I did was set up ICloud for photos. Itunes would not allow me to add songs to my new phone without restoring it, yet when I did this, it deleted all photos. And I cannot find them anywhere.

    I received an Iphone 5 as a gift two days ago. The first thing I did was set up ICloud for photos. Itunes would not allow me to add songs to my new phone without restoring it, yet when I did this, it deleted all 129 photos of my graduation and friends from the past two days. And I cannot find them anywhere, photo stream, ICloud, nothing. Where can I get back my memories?

    Were the photos taken by your new iPhone?  If so, did you not import them off your phone to your computer (as you would any other digital camera) before the restore?  If not, restoring wiped the data off the phone and your pictures are gone.
    Sounds like a good time to (re)read the User Guide.

  • How to find out when 'enable secret' and username secret' was set/changed

    Hi,
    I was wondering if it is possible to find out when 'enable secret' and username secret' was set or changed last time on an IOS based machine.
    Is there any show command or kind of timestamp or MIB which can be read out?
    tnx Ralf

    Probably your syslog server would give you that info.

  • I lost my Visual Voicemail when upgrading to iphone 5. New phone was set up from itunes backup of iphone4 but my Mac tells me there is an iCloud back up of my phone prior to this date. Will my Vis Voicemail be on this and can I get it on my new phone?

    I lost my Visual Voicemail when upgrading to iphone 5. New phone was set up from itunes backup of iphone4 but my Mac tells me there is an iCloud back up of my phone prior to this date. Will my Vis Voicemail be on this and can I get it on my new phone?

    I see.  Apple's documentation on what is included in the iCloud backup doesn't explicitly say that it contains voicemails, but that doesn't mean it does not.  You would just have to try restoring the backup to find out. 
    To restore to your iCoud backup you have to start by erasing the phone.  Go to Settings>General>Reset and tap Erase All Content and Settings.  Then go through the setup screens on the phone and when given the option, choose Restore from iCloud backup.  You will then sign into your iCloud account, accept the terms and conditions, then choose the backup you wish to restore from.  To see an older backup, you may need to tap "Show older backups" (see image below).  Be sure your phone is connected to wifi and your charger as this may take some time to finish.
    If this does not recover your voicemails, you can check to see if you have an older iTunes backup that may contain them.  Available backups are shown in iTunes Preferences>Devices on the Backups list.
    If all else fails, you could try contacting your carrier.  Voicemail is a carrier feature and they may have an archive you could access.

Maybe you are looking for

  • How do I get to see the procedures that are running?

    Good afternoon. How do I get to see the procedures that are running? Thanks. Daniel Sousa

  • From which table Gross amount can be picked

    Hi, From which tables the gross amount of line item of sales order can be picked. Please give me the table names to fetch gross amount. Regards, Krishna

  • Process and Form version question

    a few questions related to the versions of Forms and Processes: 1) in WorkSpace, launch a process, then put the form in "Draft". then modify its XDP, the form gets a new version in the repository. what's going to happen to my Draft? when I launch the

  • Creating an array without using "auto-indexing"

    Hello, it is terrible! I'm new in working with LV5.0 (Evaluation) and I can't find any examples how to write data into an array without using the function "auto-indexing" of the "WHILE" or "FOR"-loops.. The values do not appear all at the same time,

  • Why is the 'stills' section blank?

    when ever i go onto the stills section on my iphone it apears to be blank for what i dont know but i tried to restore the software but it still didnt work so what can i do?