Does MWB 9.0.2.1.7 migrate LOBs correctly???
Hi all,
just one question: will the new MWB migrate LOBs columns correctly? Our current version doesn�t (that�s a bug, told me by one of the developers) and after migrating all the tables from the source DB, we still have to use a Java program after that to connect to the source and target DB, make a join between the original and migrated tables, and open two streams to get and copy the LOB column... you get the picture.
If only MWB could do this in this new version , it would be a HUGE time saver for us...
Waiting for the answer (with great hope) ;-)
Luis Derani
DBA - Sysadmin
ALESP - SP
Brazil
Hello,
Unfortunately the problems regarding the migration of LOBS has not been resolved in the 92017 release. If you migrate using the OMWB, the LOBS may be migrated in the wrong order.
In order to migrate offline (using SQL*Loader), we folow a process whereby:
1. We migrate the database schema using the OMWB and we change the mapping of the LOB in question to a CLOB field in Oracle.
2. We then generate SQL*Loader scripts and BCP extraction scripts using the OMWB.
3. We then extract the data from the source database into data files.
4. Now, we use the generated SQL*Loader scripts to load the data into the tables in Oracle.
5. We then create a new BLOB field in the target Oracle database table - this will be used to store the correct LOB value when it is generated from the extracted CLOB field.
6. Next we use an inhouse PL/SQL procedure to convert the CLOB back to a BLOB - this is done in small pieces (50 hex pairs).
7. Finally, we remove the CLOB column.
This offline process reads worse than it actually is to implement! I have provided a piece of the conversion script that contains the inhouse PL/SQL procedure to convert a CLOB to a BLOB below. If you would like me to forward you the entire set of scripts, please let me know.
I hope this helps,
Tom.
CREATE OR REPLACE PROCEDURE CLOBTOBLOB
AS
inputLength NUMBER; -- size of input CLOB
offSet NUMBER := 1;
pieceMaxSize NUMBER := 50; -- the max size of each peice
piece VARCHAR2(50); -- these pieces will make up the entire CLOB
currentPlace NUMBER := 1; -- this is where were up to in the CLOB
blobLoc BLOB; -- blob locator in the table
clobLoc CLOB; -- clob locator pointsthis is the value from the dat file
-- THIS HAS TO BE CHANGED FOR SPECIFIC CUSTOMER TABLE AND COLUMN NAMES
CURSOR cur IS SELECT filebinary_clob clob_column , filebinary blob_column FROM /*table*/tblFiles FOR UPDATE;
cur_rec cur%ROWTYPE;
BEGIN
OPEN cur;
FETCH cur INTO cur_rec;
WHILE cur%FOUND
LOOP
--RETRIVE THE clobLoc and blobLoc
clobLoc := cur_rec.clob_column;
blobLoc := cur_rec.blob_column;
currentPlace := 1; -- reset evertime
-- find the lenght of the clob
inputLength := DBMS_LOB.getLength(clobLoc);
-- loop through each peice
LOOP
-- get the next piece and add it to the clob
piece := DBMS_LOB.subStr(clobLoc,pieceMaxSize,currentPlace);
-- append this peice to the BLOB
DBMS_LOB.WRITEAPPEND(blobLoc, LENGTH(piece)/2, HEXTORAW(piece));
currentPlace := currentPlace + pieceMaxSize ;
EXIT WHEN inputLength < currentplace;
END LOOP;
FETCH cur INTO cur_rec;
END LOOP;
END CLOBtoBLOB;
Similar Messages
-
Does jms distributed queue support automatic service migration?
As the migration document of Weblogic mentioned, the jms distributed queue can be manually migrated, but the document doesn't talk about automatic migration of jms distributed queue. Does jms distributed queue support automatic service migration? Anybody can help me? Thanks a lot.
When you look at configuring JMS, you do something like:
Create a JMS server that will contain one or more JMS destinations and will live on a particular server instance.
Next you create a JMS module and target it to a cluster. Within the module you create a distributed queue (destination).
Note that it is the JMS server which is the so-called pinned service. For pinned services you can configure migratable targets
the way you want it (http://download.oracle.com/docs/cd/E13222_01/wls/docs81/jms/config.html#1056368) -
I'm wanting to migrate certain applications from my MacBook Pro over to my newer Mini, but Migration Assistant doesn't allow doing this by choosing which applications to migrate-how can I pick only certain ones?
You only bought it four months ago, so it's still under warrantly.
Call Applecare or call your nearest Applestore to make an appointment. Tell them your mac has serious technical issues, describe them shortly. -
What does an Apple Retail Store charge to migrate files from an old laptop to a new one?
I'm about to buy a new MacBook Pro. What does the Apple Retail Store charge to migrate my files from the old laptop to the new one?
If the old laptop is a Mac, the Apple store will sell you a Firewire cable that will allow you to transfer the data from the old one to the new.
Ciao. -
I have an ipod touch 64gb. Lately, I discovered an error message on the lockscreen that says "Runtime Error Info.plist not found". What is this, will it effect my ipod, how does it effect my ipod and how do I correct the error? (I see the error message when I power up my ipod and when I reboot).
Follow this article:
How to restart the Apple Mobile Device Service (AMDS) on Windows -
In the context of restoring a drive from a backup, i copied /etc/sudoers from my backup. Now it does not work due to the permissions not being correct (even though it was copied via sudo cp -rp)
Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
Apple's iWork suite (Pages, Numbers, and Keynote.)
Open Office (Office 2007-like suite compatible with OS X.)
NeoOffice (similar to Open Office.)
LibreOffice (a new direction for the Open Office suite.) -
my kids enter wronge passwords several times until the ipad says"connect to iTune" but the ipad does not appear on the iTune.I know the correct password.
You've connected the iPad via cable to your computer, and your computer's iTunes is up-to-date ? If it's icon isn't showing then try one of these troubleshooting pages :
PC : iPhone, iPad, or iPod not recognized in iTunes for Windows - Apple Support
Mac : If you don't see your connected device in iTunes for Mac - Apple Support
If the iPad is disabled then you'll need to reset the iPad back to factory defaults, after which you can restore to your backup -
I have an Apple network utility that with the previous printer (Canon PIXMA iP 5000) found the printer on the Network for use on a wi fi system but a newish printer (Canon MG6150) does not show up as Bonjour. Is that correct?
paul.kellyHi Steve,
No expert, but since nobody else has piped in...
Did you setup the DNS Server IP? -
Firefox does not display the e with acute accent character correctly from a javascript alert box when my browser language settings are fr_ca or fr_fr. However, it does it correctly when my browser language setting is fr. How do i get it to display e with acute accent and other iso8859 characters correctly in a javascript alert box when my browser language settings are fr_fr and fr_ca?
== This happened ==
Every time Firefox openedUse Unicode (UTF-8) for those characters.
Then you will always be sure that they are displayed correctly. -
Does photoshop elements have an airbrushing tool for skin corrections?
does photoshop elements have an airbrushing tool for skin corrections?
You can also try out a guided edit made just for that. Choose Guided Edit >Perfect Portrait.
-
Does Mac have an app that will check and correct spelling
Does Mac have an app that will check and correct spelling
Spell Check has been built into Mac OS X for years, including the ancient version listed in your profile. You don't need a separate app.
Mac OS X 10.4 Help
Checking spelling as you type
In many Mac OS X applications, you can have the application automatically check your spelling as you type. When you mistype or misspell a word, it's underlined in red so you can quickly spot errors and correct them.
Open the application that you want to use and choose Edit > Spelling > "Check Spelling as You Type."
If you don't see this item in the Edit menu, the application doesn't provide the Mac OS X spell-checking feature. The application may have its own spell-checker. Look in the application's preferences or menus for a spell-checker. -
I have been at my buisness for 8 years and the address does not show up as an address in apple maps on any of my devices. How can I fix this? My address is 1351 summit drive jasper al 35501.
@Kilgore-Trout, there is no "contact us" at the bottom of the Apple Map. All I get is report the problem...move the pin, which I have done numerous times. Google maps gets it right & due to that fact, we have to tell vendors to NEVER use Apple Maps when getting directions for deliveries. I love apple, own all their products and now my BMW i3 is using their maps & I would love to have them be responsive.
-
everything that needs to be done on the keyboard is effected - letters, numbers, backspace, directionals, delete, home, end, page up, page down, '''all keys that are pressed more than once''' It does not matter what webpage I am on.
PLEASE HELP
this is very frustratingYou may have switched on an accessibility feature called FilterKeys by keeping the Shift key pressed for too long.
* http://www.microsoft.com/enable/products/windowsxp/default.aspx
*http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/access_filterkeys_turnon.mspx?mfr=true -
AR 8.1.2 does not print larger pdf's to smaller paper correctly
I am using Reader 8.1.2 on Solaris 10 (sparc) and attempting to print via
the print GUI a D (34x22) size print to a B (17x11) size sheet. Reader
8.1.2 does not shrink enough and the resultant print is missing entities
that are close (within approximately .4") to the edge. The preview as
show in the printing GUI appears okay.
Acrobat Reader 7.0.8 works fine for this case.
For an example D size print with some more documentation see:
http://www.greatplainsmfg.com/ptc/acroread_test.pdf
For my printing settings see:
http://www.greatplainsmfg.com/ptc/acroread-8.1.2_print_dialog.png
A scanned page printed from Reader 8.1.2:
http://www.greatplainsmfg.com/ptc/print_results_ar-8.1.2.pdf
A scanned page printed from Reader 7.0.8
http://www.greatplainsmfg.com/ptc/print_results_ar-7.0.8.pdf
Thanks
Randy Jones
Systems Administrator
Great Plains Mfg., Inc.
1525 E North St
PO Box 5060
Salina, KS USA 67401
email: [email protected]
Phone: 785-823-3276
Fax: 785-667-2695Randy,
Cups does not change the PS file that is created. However acroread creates a different PS when printing to a particular printer as opposed to using "Custom".
The CUPS api are used to get the list of printers available on a particular system (and the cups daemon needs to be running for that to work). The reason Rishi asked you to try selecting a printer instead of choosing "Custom" is because when a printer is specified the PostScript generated in that case is PPD dependent, taking care of the margins of the printer that it is being printer to. That does not happen when printing using the "custom" option, which is why the way content close to the margins would be handled would differ from printer to printer.
Therefore you should be able to get better results if you ask acroread to create a PS that would be sent to a particular printer (by selecting a printer name from the drop down). However, since as you mentioned you dont have Cups installed acroread wouldn't be able to list the printers for you.
You could consider installing cups on your system. If, however that is not an option for you, you would still be able to use the reader, but printing files with content very close to the margins would be an issue.
Sincerely,
Neha -
I have a simple accounts table and when I add the row using sum function it is always 1p out, what am I doing wrong, or what is numbers doing wrong?
M,
Since we can't see your situation we can't be sure what is going on. The most usual reason for unexpected sums is that there fractional parts that we can't see. This will happen on calculations, not directly entered data. So, if you have a list of calculated values and you add them up, the result of the addition of the displayed values may differ from our expectation by a small amount, maybe 1p.
You can prevent this by using the ROUND function in each of the individual calculations that make up the list.
If you are computing Pounds to two places, you would write:
=ROUND(YourOriginalExpression, 2)
Doing that eliminates any unseen value beyond the second decimal place.
Regards,
Jerry
Maybe you are looking for
-
F110 - each item in each payment document for the same vendor
Hi Guru, When i use F110 to do auto payment run for one vendor, each item is paid by each payment document although the document currency is the same, do you know why it appear like this, by right, all the vendor open items should be paid in one paym
-
How Do I Send an E-mail to a Group of People
Hello. I would like to set up a list of e-mail address's of a group I belong to. This would be about 50 address's. I then periodically want to send all of them a message with Blind Copy to them all. Can someone please go through the steps I must go t
-
How do I export from Premiere Pro CC to Final Cut Pro X?
Here are my system specs: iMac (late 2012) Fusion Drive Processor 3.1 GHZ Intel COre i7 Memory 16GB 1600MHZ DDR3 OSX 10.9.1 Running Premiere Pro CC 7.2.1 and FCP X 10.1 Hello there, I have a fairly complex 3:00minute sequence that I want to export fr
-
Where is the file downloaded from WEB browser (e61...
I'm using e61i (web) to surf web sites. When I downloaded a zip file, ZIP MANAGER launched but I dont know where is the downloaded zip file path. Thank you.
-
Excel 2013 freezes,hangs
Hi, One of our Accounts team member's Excel freezes,hangs ( freezes suddenly when he is in middle of something) and has to close excel and reopen it. Cursor moves but few areas of the excel freezes and cannot click anything on the excel sheet. Did an