JAEHYLEE , Error FRM 40654 While Updating Few Supplier Sites 시 공백 제거 방법

PURPOSE
Error FRM 40654 While Updating Few Supplier Sites , 공백 제거 방법
Workaround
N/A
Solution Description
trailspace.sql:
CREATE OR REPLACE PROCEDURE CHK_TRAIL_SPACE (p_table_name in varchar)
IS
v_table_name varchar(30);
v_column_name varchar(30);
v_column_name_c char(30);
v_space_count number;
v_ret number; -- temp holder for above
v_initial_space_counter number;
dyn_cursor number;
CURSOR TABLE1 IS
SELECT table_name
FROM DBA_TABLES
WHERE table_name = p_table_name;
CURSOR COLUMN1 IS
SELECT column_name
FROM DBA_TAB_COLUMNS
WHERE table_name = v_table_name;
BEGIN
OPEN TABLE1;
LOOP
-- FOR crec1 in TABLE1 LOOP
fetch TABLE1 into v_table_name;
IF (TABLE1%NOTFOUND) THEN
exit;
END IF;
dbms_output.put_line(v_table_name);
dbms_output.put_line
v_initial_space_counter := 0;
OPEN COLUMN1;
LOOP
-- FOR crec2 in COLUMN1 LOOP
fetch COLUMN1 into v_column_name;
IF (COLUMN1%NOTFOUND) THEN
exit;
END IF;
dyn_cursor := DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE
(dyn_cursor,
'SELECT COUNT(*) ' ||
'FROM ' || p_table_name ||
' WHERE ' || v_column_name || ' LIKE ''% ''',
DBMS_SQL.NATIVE);
DBMS_SQL.define_column (dyn_cursor, 1, v_space_count);
v_ret := DBMS_SQL.EXECUTE(dyn_cursor);
if DBMS_SQL.fetch_rows(dyn_cursor) > 0 then
DBMS_SQL.column_value (dyn_cursor, 1, v_space_count);
end if;
DBMS_SQL.CLOSE_CURSOR(dyn_cursor);
IF v_space_count > 0 THEN
v_initial_space_counter := v_initial_space_counter + 1;
END IF;
v_column_name_c := v_column_name;
IF v_space_count > 0 THEN
dbms_output.put_line(' ' || v_column_name_c || to_char(v_space_count));
END IF;
end loop;
close column1;
end loop;
close table1;
END CHK_TRAIL_SPACE;
cause: Trailing Spaces.
fix:
Please run trailspace.sql.
This creates a procedure that will check all VARCHAR2 columns
in a specified table for trailing spaces .
Run the file in SQL*PLUS .
It will return 'Procedure Created'
Then run it using the following:
set serveroutput on
execute chk_trail_space(<table_name to check>);
i.e. (execute chk_trail_space('PO_VENDORS');)
Please can you run this on the following two tables:
PO_VENDORS and PO_VENDOR_SITES_ALL.
Then if there are any trailing spaces as per output,
Then run the following command in TEST:
update <tablename>
set <column_name> = rtrim(<column_name>);
i.e.
update po_vendors
set vendor_name = rtrim(vendor_name);
Reference Documents
234048.1

Similar Messages

  • A fatal error has occurred while updating your device's software. Please try again.

    when the installation process is finished.. the reboot comes nxt and my BB device working now,, after a few minutes, it was appear that  "A fatal error has occurred while updating your device's software. Please try again" and i disconnected my device.. my question is.. is this error affect the stability or working of my DEVICE?
    I need your answer
    Solved!
    Go to Solution.

    Hi pasakaw
    Have you intrepted the update process in anyway .. maybe something gone wrong while doing this software update.Currently  what is the status of your BlackBerry  is it working properly ? 
    If you feel any problem then you should try an OS reload using desktop software which will fix any software glitchs.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Does anybody know the error code 11 while updating to ios 4.3.3.? thx

    does anybody know the error code 11 while updating to ios 4.3.3. on an ipad1? thx

    but my hard drive is still lot of spaces...still keep on trying to update...

  • Itunes had error and shutdown while updating. when restoring iphone do you lose pics, texts emails etc?

    Itunes had an error and shutdown while updating my iphone 4.  Itune tells me my phone is in recovery mode and I must use restore before im able to use itunes.  I cannot do anything on my phone now.  It shows icons telling me to connect to itunes.  I want to know if I restore my phone do I lose any photos and that were not backed up yet? or What happens to my contacts and phone numbers?

    Itunes had an error and shutdown while updating my iphone 4.  Itune tells me my phone is in recovery mode and I must use restore before im able to use itunes.  I cannot do anything on my phone now.  It shows icons telling me to connect to itunes.  I want to know if I restore my phone do I lose any photos and that were not backed up yet? or What happens to my contacts and phone numbers?

  • HT201263 An error has occured while updating software. Connecting to the server is slow and games etc only run for 60 seconds

    An error has occured while updating software. Connecting to the server is slow and games etc only run for 60 seconds

    Have you tried resetting your iPad? You may have to restore again if there was a problem.
    Try the reset first.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • An error has occurred while updating article layouts. The InDesign file for the layout cannot be...

    When trying to complete the tutorial for indesign I get the following error when trying to add an article to my folio:
    "An error has occurred while updating article layouts. The InDesign file for the layout cannot be found."
    I am able to create the folio then I click into articles. My document "WiFi_v.indd" is open when clicking add article, but I keep getting this error message.
    I am using the following versions of the software (Should be the latest).
    - Folio Builder (Downloaded version Version 1.1.8.0)
    reported version:
    11.4.3.20111129_m672305 7.5.5.17
    Adobe In Design 7.5.2 CS 5.5
    Also tried reinstalling the plugins (uninstall + install)

    If you're on Mac OS with the OS in another language than english the "User" folder might contain a non english character and causing problems.
    I e in Sweden the Mac OS user-folder is called "Användare". When attempting uploading articles from a file locaded anywere this "Användare" is in the file path the Folio producer says Error finding InDesign layout, due to -what i think is-the "ä" in Användare. If you still want to work local you can place the InDesign files directly into the Macintosh HD. In this case the User folder is not used.
    BR
    Henrik

  • Error has occurred while updating iphoto

    error has occurred while updating iphoto

    Thanks for sharing. DId you have a question?
    There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • Error code 0x80240031 while updating to 8.1

    From last 20 days I am facing this error code 0x80240031 while updating to 8.1 sharp at 50%  ...tried almost 50-60times on my ... G500s ... pre-installed os .... I contacted both Microsoft and Lenovo for this issue ... both of them tried to solve it ... Microsoft suggested me to reinstall the whole os. So I contacted Lenovo for the same ...they reinstalled it  ... BUT STILL THE PROBLEM EXISTS....   I don’t know what to do m very frustrated ... should I sue Microsoft for not solving or Lenovo..... Because if this issue won’t get solve... I might have to take some legal source to solve my case ...I tired every option available on the web .....as i cant even get an new windows key or DVD...

    I tried everything on that link... but still facing the error...
    command prompt and type/run: "sfc /scannow" ...no problem
    Dism /Online /Cleanup-Image /RestoreHealth.... no problem
    Antivirus ..uninstalled .....
    i tired the every possible thing on this webiste also
    1.  http://answers.microsoft.com/en-us/windows/forum/w​indows8_1-windows_install/windows-81-update-error-​...
    2.  http://www.thewindowsclub.com/error-code-0x8024003​1-updating-to-windows-8-1

  • ERROR FRM-40735 while migrating from 6i to 9i using FMA

    Hi,
    We have migrated a sample form which is in 6i to 9i using Oracle Forms Migration Assistant. It is compiling without errors and while running hitting the error
    FRM-40735:PRE-FORM trigger raised unhandled exception ORA-06508.
    and not opening up the form...Please post any suggestions on this.
    madhu.

    Thank you very much for the help...I could resolve it by just adding the appropriate pll's in forms90 folder.
    Now, we are trying to implement the calender in forms 9i. As we are moving from Forms 6i C/S to Forms 9i, as a first step I've implemented calender in web forms 6i (using demo's in oracle doc's--using CalenderWidget Bean)
    I tried doing the same for Oracle 9i too but it didn't work..I mean it is deleting the code for the trigger
    WHEN_CUSTOM_ITEM_EVENT which is written for Bean.
    Please suggest me regarding how to proceed with this...
    thank you
    madhu.

  • A fatal error has occured while updating your device's software

    I have a problem I hope you guys can help me.
    Blackberry Model: 8820
    Device Software version: 4.5.0.55
    Desktop Software version: 4.7.0.37
    Carrier: Singapore Telecom Mobile Pte Ltd(https://www.blackberry.com/Downloads/browseSoftware.do)
    Everytime I start up my desktop software, it would prompt me that there are newer versions for some of the applications in my blackberry such as my browser, brickbreaker etc. So I followed through their instructions to install these updates. When it reached step 3/11, an error would occur while it say it was trying to turn on my radio
    Here's the screenshot of the error:
    [URL=http://img199.imageshack.us/i/errortac.jpg/][IMG]http://img199.imageshack.us/img199/761/errortac.th.jpg[/IMG][/URL]
    But I do observed that @ task 1/11, it switched off my radio. @ task 3/11 it tried to switch back on again. thats when the error occured.
    when I unplugged my device after the error, I saw that my mobile connection was off and my blackberry had to re-connect again. I do admit that my area has pretty bad reception, but that cant be the problem right?
    On top of that, maybe I also like to pop another 2 questions:
    1) Why is it I cant set up my email? I followed the instructions here:
    http://na.blackberry.com/eng/support/blackberry101/setup.jsp#tab_tab_email
    but my setup wizard dont have the option to select "I want to create or add an email address"
    I only gives me the option of the enterprise mail
    2) I tried to browse to to te blackberry website using my blackberry, but its says my device is not supported. Any way to solve this?
    Message Edited by howb21 on 07-09-2009 12:44 AM

    does this help ?
    http://www.blackberry.com/btsc/KB02696
    Unable to complete loading operation. Fatal error occurred when updating handheld
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Error ORA-01779 while updating view

    I am using oracle 9i version is 9.2.0.1.0, While updating i am getting error,which i mention below.
    ORA-01779:cannot modify a column which maps to a non key-preserved table
    In this view there is no any group function.
    Help me please.

    ORA-01779:
         cannot modify a column which maps to a non key-preserved table
    Cause:      An attempt was made to insert or update columns of a join view which map to a non-key-preserved table.
    Action:      Modify the underlying base tables directly.

  • I got a error message 1602 while updating to 6.1.3., now my 4s is dead! only the battery load symbol!! what to do?

    Total disaster again, 6.1.2. destroyed my battery life, this update my total phone! It locked up while updating, by giving me error code 1602. All the USB crap tha apple indicates is non applicable for me! new cable on a a powerbook, lates itunes version etc. Waht to do now, obviously there is no software anymore on the phone, and Itunes does not recognize the phone anymore!!!!

    Error 1604
    This error is often related to USB timing. Try changing USB ports, using a different dock connector to USB cable, and other available USB troubleshooting steps (troubleshooting USB connections. If you are using a dock, bypass it and connect directly to the white Apple USB dock connector cable. If the issue persists on a known-good computer, the device may need service.
    If the issue is not resolved by USB isolation troubleshooting, and another computer is not available, try these steps to resolve the issue:
    Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode,put it into Recovery Mode.
    Restore and wait for the error.
    When prompted, click OK.
    Close and reopen iTunes while the device remains connected.
    The device should now be recognized in Recovery Mode again.
    Try to restore again.
    If the steps above do not resolve the issue, try restoring using a known-good USB cable, computer, and network connection.
    Error 1600, 1601, 1602
    Follow the steps listed above for Error 1604. This error may also be resolved by disabling, deactivating, or uninstalling third-party security, antivirus, and firewall software. See steps in this article for details on troubleshooting security software.
    Error 1603

  • Error code A12E1 while updating Creative Cloud

    Hello,
    The title of this topic says enough, I think. While updating Creative Cloud I get an error code A12E1. What is this and how can I fix this problem?
    Thanks!

    Hi Niels Joormann,
    Please follow these steps to fix this issue.
    Please launch task manager and check whether any Adobe updater or Acrotry process is running. If yes please close them before you perform these steps.
    Download and run Adobe Creative Cloud Cleaner Tool. You can download it from this Website
    http://www.adobe.com/support/contact/cscleanertool.html
    Once done please rename OOBE Folder to OOBE.old  from the mentioned location.
    C:\Program Files (x86)\Common Files\Adobe
    Download and Install Creative Cloud Desktop App from this Location
    https://creative.adobe.com/products/creative-cloud
    If none of the above steps work then please create another Admin user Account and try to install Creative Cloud Desktop app there.
    Please let us know if it helps.
    Regards,
    Abhijit

  • Installation error occured(20) while updating i touch need help

    I am having iTunes version 8 and was trying to update my ipod who's version is 1.1.5 to 1_1.1 but while updating every time got an erro message that "The ipod could not be updated as an unknown error occured(20).
    because of this problem iam unable to update my itouch. Please give me some solution.

    That means you have a jailbroken iphone - per the tos of the forum, you can't get any help here.

  • ERROR CODE 8024404 WHILE UPDATING WINDOWS SERVER 2008 ENTERPRISES EDITION SP1

    Hi ,
    i am getting error while updating windows updates i have tried disable Escan anti virus i tried again to update windows but same error showing 

    Hi,
    Based on current situation, please run this Fix tool. Then check if this issue still persists.
    Fix the problem with Microsoft Windows Update that
    is not working
    If still exists, please refer to the following KB and reset Windows Update components. Then monitor the result.
    How do I reset Windows Update components?
    Meanwhile, you can also use the System Update Readiness tool and then reinstall the update again. For more
    details, please refer to this KB.
    In addition, regarding to going further analysis, we can check the WindowsUpdate.log file. It may provide more
    details. For detailed operations, please refer to the following KB.
    How to read the Windowsupdate.log file
    Hope this helps.
    Best regards,
    Justin Gu

Maybe you are looking for