Top of case does not work
Hi allWhy not this wor? I received .csv gall foreign and loaded in oracle which is B_SECOND.
< pre >
create table A_PRIME)
username varchar2 (50).
number of planner_id);
create table B_SECOND)
username varchar2 (50).
number of planner_id);
insert into A_PRIME
values ("janet jackson", 1);
insert into A_PRIME
values ("lisa priestley', 2");
insert into B_SECOND
values ("Janet Jackson", 45);
insert into B_SECOND
values ("Lisa PRIESTLEY", 50 ");
update of A_PRIME one
Set planner_id =
(select planner_id from B_SECOND b WHERE UPPER (B.USERNAME) = UPPER (A.USERNAME))
where EXISTS (select planner_id from B_SECOND b WHERE UPPER (B.USERNAME) = UPPER (A.USERNAME));
< / pre >
The above work in oracle (table and data create din oracle) but does not work with the B_SECOND table laoded .csv. of SQLLOADER
How to find all the spaces or any other problem with the data?
< pre >
update of A_PRIME one
Set planner_id =
(select planner_id from B_SECOND b WHERE UPPER (B.USERNAME) = UPPER (A.USERNAME))
where EXISTS (select planner_id from B_SECOND b WHERE UPPER (B.USERNAME) = UPPER (A.USERNAME));
< / pre >
Does not work with Lisa PRIESTLEY of the csv, but works well with create data in Oracle.Even when I put trim upper front, does not work.
Published by: CrackerJack on November 15, 2009 17:16
Oops, it should be + no * (* if the result is a space between each character). Use:
update A_PRIME a
set planner_id = (
select planner_id
from B_SECOND b
WHERE UPPER(TRIM(REGEXP_REPLACE(B.USERNAME,CHR(160) || '+',' '))) = UPPER(TRIM(REGEXP_REPLACE(A.USERNAME,CHR(160) || '+',' ')))
)
where EXISTS(
select planner_id
from B_SECOND b
WHERE UPPER(TRIM(REGEXP_REPLACE(B.USERNAME,CHR(160) || '+',' '))) = UPPER(TRIM(REGEXP_REPLACE(A.USERNAME,CHR(160) || '+',' ')))
);
For example:
SQL> select username,planner_id,dump(username) from a_prime
2 /
USERNAME PLANNER_ID
-------------------------------------------------- ----------
DUMP(USERNAME)
------------------------------------------------------------------------------------------------------------------------------------
david lim 1
Typ=1 Len=9: 100,97,118,105,100,32,108,105,109
david diamond 2
Typ=1 Len=13: 100,97,118,105,100,32,100,105,97,109,111,110,100
SQL> select username,planner_id,dump(username) from b_second
2 /
USERNAME PLANNER_ID
-------------------------------------------------- ----------
DUMP(USERNAME)
------------------------------------------------------------------------------------------------------------------------------------
David Lim 45
Typ=1 Len=14: 68,97,118,105,100,160,160,160,76,105,109,160,160,160
David Diamond 50
Typ=1 Len=18: 68,97,118,105,100,160,160,160,68,105,97,109,111,110,100,160,160,160
SQL> update A_PRIME a
2 set planner_id = (
3 select planner_id
4 from B_SECOND b
5 WHERE UPPER(TRIM(REGEXP_REPLACE(B.USERNAME,CHR(160) || '+',' '))) = UPPER(TRIM(REGEXP_REPLACE(A.USERNAME,CHR(160) || '+',' ')))
6 )
7 where EXISTS(
8 select planner_id
9 from B_SECOND b
10 WHERE UPPER(TRIM(REGEXP_REPLACE(B.USERNAME,CHR(160) || '+',' '))) = UPPER(TRIM(REGEXP_REPLACE(A.USERNAME,CHR(160) || '+',' ')))
11 );
2 rows updated.
SQL> select * from a_prime
2 /
USERNAME PLANNER_ID
-------------------------------------------------- ----------
david lim 45
david diamond 50
SQL>
SY.
Tags: Database
Similar Questions
-
There is no audio coming from my my lap top my microphone does not work as well?
my sound system does not work
Hello
1. What is the brand and model of the microphone?
2. what exactly happens when you try to play the sound?
3. what operating system is installed on the computer?
I suggest you follow the steps from the link below.
No sound in Windows:
http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows
Hope this information is useful.
-
What is the faulty drive, or the software that is missing
Hello
What happens if you close all programs and then insert the disc?
-------------------------------------------------------------------------
If you have problems with CD/DVD drive:
Try this - Panel - Device Manager - CD/DVD - double-click on the device - driver tab - click
Update the drivers (this will probably do nothing) - then RIGHT click the drive - UNINSTALL - REBOOT
This will refresh the default driver stack. Even if the reader does not appear to continue below.
Then, work your way through these - don't forget the drive might be bad, could be a loose cable or
slight corrosion on the contacts (usually for a laptop) and other issues.Your CD or DVD drive is missing or is not recognized by Windows or other programs
http://support.microsoft.com/kb/314060 - a Mr FixitThe CD drive or the DVD drive does not work as expected on a computer that you upgraded to Windows Vista
http://support.Microsoft.com/kb/929461When you insert a CD or a DVD, Windows Vista may not recognize the disc
http://support.Microsoft.com/kb/939052Your CD or DVD drive cannot read or write media - A Mr Fixit
http://support.Microsoft.com/GP/cd_dvd_drive_problemsCD/DVD drive does not appear in Windows Vista, or you receive this error during the installation of Windows Vista after booting from the DVD (AHCI)
http://support.Microsoft.com/kb/952951
Drive CD - R or CD - RW Drive is not recognized as a recordable device
http://support.Microsoft.com/kb/316529/Hardware devices not detected or not working - A Mr Fixit
http://support.Microsoft.com/GP/hardware_device_problemsAnother possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
ends. Remove and replace, do not just tight. For laptops, you can often clean power and
contacts data with a pencil eraser.Hope these helps.
Rob - bicycle - Mark Twain said it is good.
-
Led of ThinkPad logo red on top I even does not work on my t430s
Normal LED on the cover of the thinkpad is a red dot that appears on the top I. This point does not light. Am I missing something to make it i on the logo flashes again.
T430s, T430, X 230, X230t, T530, W530 does NOT use a RED LED on the dot i.
-
Exit on the top-level shape does not work.
Hi I have 10g deployed forms on the web.
On the top-level form, there is an exit to this topic button.
And for this form, under ALERTS, I have two alerts: QUIT_ALERT and BANNER_ALERT.
Now when I press the EXIT button on the form, nothing happens. Prompting the ALERT and close the FORM.
Where and what could be the problem?
I have the following code for the exit button
And the function G$ _DISPLAY_ALERT a following codeIF G$_DISPLAY_ALERT('QUIT_ALERT','Do you really wish to quit?') = ALERT_BUTTON1 THEN
EXIT_FORM;
END IF
Published by: Charlie on March 30, 2011 14:01FUNCTION G$_DISPLAY_ALERT(ALERT_NAME IN VARCHAR2,
MSG_STRING IN VARCHAR2) RETURN NUMBER IS
ALERT_ID ALERT;
AL_NAME VARCHAR2(30);
ALERT_BUT NUMBER;
BEGIN
IF ALERT_NAME IS NULL THEN
AL_NAME := 'G$_WARNING_ALERT';
ELSE
AL_NAME := ALERT_NAME;
END IF;
ALERT_ID := FIND_ALERT(AL_NAME);
IF ID_NULL(ALERT_ID) THEN
RAISE FORM_TRIGGER_FAILURE;
END IF;
SET_ALERT_PROPERTY(ALERT_ID, ALERT_BUT, MSG_STRING);
ALERT_BUT := SHOW_ALERT(ALERT_ID);
RETURN ALERT_BUT;
END;Hello
What happens if you changeSET_ALERT_PROPERTY (ALERT_ID, ALERT_BUT, MSG_STRING);
for this
SET_ALERT_PROPERTY (ALERT_ID, ALERT_MESSAGE_TEXT, MSG_STRING);
?
-Clément
-
Need help my e-mal cases. reset password does not work.
How can I case my email I tried to reset password does not work. I forgot my password and it is entered repeatedly. I want to be to my e-mail or deleate my account. Help, please.
Hello
Is Hotmail or Windows Live Mail email? If this is not the case, contact the mail provider.
HotMail has its own Forums, so you can ask your questions there.
Windows Live Solution Center - HotMail - HotMail Forums Solutions
http://windowslivehelp.com/Hotmail - Forums
http://windowslivehelp.com/forums.aspx?ProductID=1Hotmail - Solutions
http://windowslivehelp.com/solutions.aspx?ProductID=1How to contact Windows Live Hotmail Support
http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htmWindows Live Hotmail Top issues and Support information
http://support.Microsoft.com/kb/316659/en-usCompromised account - access unauthorized account - how to recover your account
http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41Hotmail hacked? Take these steps
http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx------------------------------------------------
Windows LiveMail has its own Forums, so you can ask your questions there.
Windows Live Mail - Forums
http://windowslivehelp.com/forums.aspx?ProductID=15Windows Live Solution Center - Solutions mail - Mail Forums
http://windowslivehelp.com/Windows Live Mail - mail Solutions
http://windowslivehelp.com/solutions.aspx?ProductID=15I hope this helps.
-
Side scroll bar to the top does not work
My high side scroll bar does not work with the arrow pointing upwards. I manually enter the box scroll and pull it upwards. I updated Firefox uninstalled and reinstalled and it still does not work. It worked on my laptop but not on my desktop.
This problem can be caused by that extended the Yahoo! toolbar or extension of Babylon also well down and covers the top of the browser window and therefore links and buttons in this part of the screen not clickable.
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.org/KB/safe+mode
-
The top of page 1 1/4 inch has no response when you click it. As in this page, sign in or register and other app does not work. in English
This problem can be caused by that extended the Yahoo! toolbar or extension of Babylon also well down and covers the top of the browser window and therefore links and buttons in this part of the screen not clickable.
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.org/KB/safe+mode
-
my button is not the top of my list of contacts - when I start typing a name, a list does not appear, for me to choose and my spell checker does not work
Hi Lynn,
What mail client do you use?Using Windows Live Mail or Outlook?
For Windows Live Mail:
The best place to ask your question of Windows Live is inside Windows Live help forums. The experts he specialize in all things, Windows Live and I would be happy to help you with your questions! Please choose a product below to be redirected to the appropriate community:
Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums at www.windowslivehelp.com.
For Outlook:
If you are not using one of the people then please let us know what you use so that we can help you further. -
Re Windows XP: At the opening of the hearts, the window is very small. How can I increase the window to fill the screen. Double click on the top panel does not work.
Hi Rosa,.
The size of the window for Hearts is actually design in Windows XP.
However, there is a solution. You can follow these steps:
Step 1a. first of all, copy the game.
b. click Start, all programs, games.
c. right-click on the game of hearts .
d. Select Properties from the list.
e. press the button find the target on the next window.
f. right click on the highlighted file and select copy.
g. then paste the copy on your desktop.
h. right click on your desktop.
i. Select Paste from the list.
Step 2
Finally, we will change the resolution for the game setting:
a. right click on the game you just pasted on your desktop.
b. Select Properties from the list and click the Compatibility tab.
c. put the check box marked "run in 640 x 480 screen resolution.
d. now whenever you want to play, click on that game on your desktop and it opens in mode full screen using the widest possible cards and numbers.
Hope the helps of information.
-
E-mail on the Start Menu of Windows Vista top icon does not work
Icon of e-mail on the top of the Start Menu of Windows Vista does not work. It displays a generic icon and when clicked shows an error message that reads as follows: "Explorer.EXE - Application not found. What I want to do is to launch Windows Live Mail (version 2009). The application works normally at the start of the Menu start Windows Live Group. I can not select Windows Live Mail as the default mail in the window client Customize Start Manu, because it does not appear there at all. There is an entry under the name "Windows Live Mail", but it defines the mail client by default for the site Web of Windows Live Mail, not the program. I tried to reinstall and repair Windows Live Essentials, but neither helped.
Here are a few screenshots illustrating the question:
http://img838.imageshack.us/img838/9311/windowsvistastartmenu.jpg
http://img580.imageshack.us/img580/4641/errormessageh.jpg
http://img695.imageshack.us/img695/6503/customizestartmenu.jpgPlease help me solve this problem.
I managed to fix it!
I completely removed the registry HKEY_LOCAL_MACHINEentry-SOFTWARE-Clients-Mail\Windows Live Mail and then repaired Windows Live Essentials.
Thank you all for your time and effort,
Veselin -
When I use my touchpad for the pointer while having my laptop sitting on top of the table it does not work, and when I'm sitting at the laptop on my lap, it works very well is it annoyin so everyone knows what I can do to fix this issue? It is a dell computer, if that helps? anyone?
HY!
It seems that you have a hardware failure. No laptop does turn off touchpad, while he sits on a desk. If you have a USB mouse, plug it into the laptop and verify that it works correctly.You can also go to Panel of--> mouse--> the pointer options and pay attention to something like "Turn off automatically" or something similar.If the doen't even touchpad works, answer me with a little more specific infromation on your computer (Windows version, exact model laptop etc..). -
Case of pocket torch blackBerry Smartphones does not work for Bold 9780
Nice day
I bought a BlackBerry Torch 9800 (ACC32838301) Pocket case, TELUS, but it useless for my flashlight. I want my wife to use this case for his Bold 9780 but the magnet does not work by putting the camera in mode 'sleep'. Why is this? The case is a little big, but still fits well on the Bold 9780. Is the magnet misaligned a very little bit for the "BOLD"?
I use an old case of leather case that has worked for my old Curve 8330, Bold 9780 and Torch 9800. So why not this new business. Y at - it something wrong with my case specifically, or if it is not designed to work for the "BOLD"?
Thank you.
M.
Hello
The placement of the magnet is different for different models of BBs. Some are interchangeable, the more I think are not. Therefore, it is always best to use a case that is made for the specific model of BB.
Good luck!
-
Case change keyboard shortcut does not work in the PL/SQL Editor
I use the keyboard shortcut CTRL - SHIFT-"quite a bit to change the case of the code. I'm in the latest version of EA and this shortcut does not work for me in the PL/SQL Editor, but still does not work in SQL Editor. You do not know if this is normal or not, but miss me it.
Unset for the Code Editor and spreadsheet and together for other category - then it will run in a SQL worksheet and an editor of proceedings
The PPE of the cpu, if necessary, take a jstack and start a new thread.
-
The icon of my creative cloud that appears on top of the MAC, the box and when you open the application is displayed in white. It does not work. What should I do? Thank you
Please visit:creative cloud is empty window why?
Re: Empty opening creative cloud app
I hope this helps.
Concerning
Megha Rawat
Maybe you are looking for
-
It's 2016: we can still easily get Mainstage 3 sounds in Garageband?
Hello. I use GarageBand 10.1.1. I downloaded the additional content in Mainstage 3 - my computer is not so huge, so I downloaded only a few games, such as World Music Jam Pack. Now how do these in GarageBand? I was advised to do so by various online
-
When I start the update that are not up to date and progressbar isn't in the future.
When I start my windows update there are 3 update: 1. Update for the Microsoft visual studio 2008 pack 1 ATL for smart service of... 2. Security Update for Microsoft visual studio 2008 service pack 1 3. Update for Microsoft visual studio 2008 service
-
Windows vista home prenium finds secpol.msc in my computer that I do
Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem
-
HP PAVILION G7-2210 sm 8 GB of RAM, Win 7 x 64 graphics problems switchable.
Can't run games on ATI Radeon graphics, absolutely tried everything, please help, I'm out of ideas... Thank you
-
Website widget OTA Installation error 'media type is not supported.
Hello I copied the .jad & .cod files on server. When I access .jad files he claims donwload & said this media type is not supported. We need to copy any additional files to this place? In a forum, they said adding the .htaccess file that contains the