My query is missing, the alter number and by default... How can I fixed.
USER_ A
create table TBL_A (FIELD_A1 number not null,
FIELD_A2 varchar2 (50).
Date of FIELD_A3,
FIELD_A4 number (5.2) default 0,
FIELD_A5 varchar2 (10) not null
);
USER_B
create table TBL_A (FIELD_A1 number not null,
FIELD_A2 varchar2 (20).
FIELD_A4 number (5.2) not null,
FIELD_A5 varchar2 (10),
FIELD_A6 number (2) not null
);
I see the result as below after running under query only the error is the second line, and the rest is correct, then how can I correct second line? :
ALTER table TBL_A change FIELD_A5 VARCHAR2 (10) not null
alter table TBL_A change FIELD_A4 ISSUE 5, 2) null / / want to see only this one as alter table TBL_A change FIELD_A4 NUMBER (5.2), default value 0, the rest is OK!
ALTER table TBL_A change FIELD_A2 VARCHAR2 null (50)
change the table TBL_A FIELD_A6 fall
ALTER table TBL_A add DATE of FIELD_A3
MYQUERY:
with the CBC as
(
Select src.table_name src_table_name, src.column_name src_col_name, src.data_type src_data_type, src.data_length src_data_len, src.data_precision src_data_precision, src.data_scale src_data_scale,
CBC. Nullable src_nullable, decode (T.Constraint_Type, 'P', 'Primary Key', 'U', 'Unique', ") as src_cons
all_tab_columns CBC
left join (select Cc.Column_Name, Uc.Constraint_Type
of user_cons_columns cc, uc user_constraints
where Cc.Constraint_Name = Uc.Constraint_Name
and Cc.Table_Name = Uc.Table_Name) t
on T.Column_Name = Src.Column_Name
where table_name = 'TBL_A' and owner = 'USER_A '.
),
As TGT
(
Select tgt.table_name tgt_table_name, tgt.column_name tgt_col_name, tgt.data_type tgt_data_type, tgt.data_length tgt_data_len,
TGT.data_precision tgt_data_precision, tgt.data_scale tgt_data_scale, tgt.nullable tgt_nullable,
Decode (T.Constraint_Type, 'P', 'Primary Key', 'U', 'Unique', ") as tgt_cons
from all_tab_columns tgt
left join (select Cc.Column_Name, Uc.Constraint_Type
of user_cons_columns cc, uc user_constraints
where Cc.Constraint_Name = Uc.Constraint_Name
and Cc.Table_Name = Uc.Table_Name) t
on T.Column_Name = TGT. Column_Name
where table_name = 'TBL_A' and owner = 'USER_B '.
),
col_details as
(
Select src.src_table_name, nvl (tgt.tgt_table_name, first_value (tgt_table_name) more (order of nulls last tgt_table_name)) tgt_table_name;
SRC.src_col_name, src.src_data_type, src.src_data_len, src.src_data_precision, src.src_data_scale, src.src_nullable, src_cons,
TGT.tgt_col_name, tgt.tgt_data_type, tgt.tgt_data_len, tgt.tgt_data_precision, tgt.tgt_data_scale, tgt.tgt_nullable, tgt_cons
the CBC
outer join full tgt
on)
SRC.src_col_name = tgt.tgt_col_name
)
)
Select *.
de)
Select the case sensitive option
When tgt_data_type! = src_data_type or tgt_data_len! = src_data_len or tgt_data_precision! = src_data_precision or tgt_data_scale! = src_data_scale or tgt_nullable! = src_nullable
then 'alter table ' | tgt_table_name | 'Edit ' | tgt_col_name | ' ' || src_data_type | ' ' ||
-case when src_data_type null ('DATE') then
on the other
case
When src_data_type in ('VARCHAR', 'VARCHAR2')
then ' (' |) NVL (to_char (src_data_len), ' ') | ') '
otherwise decode (nvl (src_data_precision-1),-1, null, nvl (to_char (src_data_precision), ' ') |) ', ' || NVL (to_char (src_data_scale), ' ') | ')')
end
end
||
cases where src_nullable = 'Y' then 'null '.
of another end 'not null '.
|| tgt_cons
When tgt_col_name is null
then 'alter table ' | tgt_table_name | 'Add ' | src_col_name | ' ' || ' ' || ' ' || src_data_type | ' ' ||
-case when src_data_type null ('DATE') then
on the other
case
When src_data_type in ('VARCHAR', 'VARCHAR2')
then ' ('| nvl (to_char (src_data_len), ' ') |) ') '
otherwise decode (nvl (src_data_precision-1),-1, null, nvl (to_char (src_data_precision), ' ') |) ', ' || NVL (to_char (src_data_scale), ' ') | ')')
end
end
|| tgt_cons
When src_col_name is null
then 'alter table' | tgt_table_name: ' drop '. tgt_col_name
end alter_statement
of col_details
)
where alter_statement is not null;
DBMS_METADATA_DIFF is first 11.1.0.7 available version. Your version is 11.1.0.6
You cannot install this package to your version, because this package is packed.
You can do this:
1. export the diagrams with EXPDP without data.
2 import the schemas to the new database version 11.2.
3. use the DBMS_METADATA_DIFF package for your condition.
4. take change script and use the database version 11.1
Concerning
Mr. Mahir Quluzade
Tags: Database
Similar Questions
-
When I click on color chart or color in the upper right corner, it's just in the background color and foreground color, how can I fix it?
Make sure that the foreground is selected in your color Panel, not the color of background as shown here.
-
I have stopped using Firefox because of the appalling number of ads. How can I fix?
There are too many ads when using Firefox. If this cannot be resolved, I'll switch to another browser.
Hello
I used to have the same problem, until I started using modules like "Adblock more ' and"Ads Removal"and now I rarely see ads...Hope your problem
Bobby
-
The form is a form IRS, if that matters. I need to complete for a new employer. When I try to type, there is a slider, but nothing happens. Any kind of 'field' doesn't seem to be there.
The series 1099 forms require specisl ink and is not available as a fill-in. Have you read the first page of the form on the IRS site?
-
I need a serial number to download the edition of Acrobat Pro DC schoolgirl and her teacher for MAC (download). All I have is a product key. I need the serial number to activate. How can I get a serial number? I bought the product download on amazon.com
Hello??
Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
-
Missing "Libraries" in the drop-down window after the 2015.1.2 exit. How can I fix it? Thank you.
Hi penn,.
Please try and reset the Photoshop preferences to default.
To re-create the Photoshop preferences files, start the application while pressing Ctrl + Alt + Shift (Windows) or command + Option + shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop settings file?"
In addition, let us know the version of operating system that you are using now.
Let us know if that helps.
Kind regards
Mohit
-
I uninstalled PSElements 13 after transfers of items 8 catalogues to ruin. Download of a re - install is not an option on the Adobe Web site. Always have the serial number #s etc. How can I get a re - download?
PES 10, 11, 12, 13 - https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-downloads.html
You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.
Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.
Photoshop/Premiere Elements 13: http://prodesigntools.com/photoshop-elements-13-direct-download-links-premiere.html
-
My screen shows only 1/4 of the image. I can scroll to get up and down. How can I fix?
Hello
- You did changes to the computer before the show?
- The problem occurs with a particular application or any application?
- If this happens with a particular application, then what is the name of the application?
Method 1:
Check if the Magnifier is enabled on your computer. Check out the link and follow the steps to change the size of the screen. Check whether the problem is resolved.
Turn on and adjust the Magnifier
http://Windows.Microsoft.com/en-us/Windows-XP/help/turn-on-MagnifierMethod 2:
This problem may also cause if a computer monitor or the screen resolution is changed. Check out the link and follow the steps to change the resolution. Check if the problem persists.To change the screen resolution, see the link:
Change your screen resolution
http://Windows.Microsoft.com/en-us/Windows-XP/help/change-screen-resolutionTo change the monitor resolution, see the link:Change the resolution of your monitor
http://Windows.Microsoft.com/en-us/Windows-XP/help/Setup/change-monitor-resolution -
On the forms send us and receive in return, data in the form of fields will be not print. We can view the data, but the fields to print Virgin. How can I fix it?
OK, it's different. These text boxes are (at least engineering point of view) not considered form data, they are annotations (or markup). On your print dialogue box, you will see a group of "Comments & Form". Make sure that the first control is set to "Document and annotations:
After this change, you should see the markup of your impressions.
-
After you change the raw file in CS6, jpeg looks dull and has weird tinge to it. I tried all color adjustments, but the result is the same throughout, jpegs of LR5 and 13 elements looks nice and consistent. How can I fix it?
Make sure the jpg has embedded sRGB profile.
In what application you view jpg files?
The symptoms you describe are typical of images with Adobe RGB or ProPhoto read in an application that does not support color management.
-
Hello!
Only, I bought the 10 dollar a month option and has started downloading. It gets about a quarter of the former way through, said "try to connect to the server" and freezes there. I restarted the load down 3 times. How can I fix?
Thank you!
Ali
Hello
Please see the Sign in errors, activation or connection. CS5.5 and later, Acrobat DC
I hope this helps.
Kind regards
Vivet
-
The RPC server is unavailable. How can I fix it?
I have Windows XP SP3 and I try to install a Dell 964 all-in-one printer and every time it almost finished installing it stops and I get a message that says the server RPC is unavailable. How can I fix it? I don't know I asked this question in the right place, but please, someone helped me. Thank you, too, my CD player stopped working. I can fix this? I had to go to Dell and download the installation of the printer, but I also have the CD that came with the printer. And I had to use you same cable to connect the printer to my Dell PC that I used with my HP printer, but it broke and I am trying to replace it. Thanks again.
Cindy
Hi Lucinda,
Thanks for posting your question on the Forums of community of Microsoft.
You did changes to the computer before the show?
Here are some ways you can follow to resolve the problem:
Method 1:
The Remote Procedure Call (RPC) Service service must be started and startup type must be set to automatic.
Steps to follow:
a. Click Start, type services in the start search box and press ENTER.
(b) in the Services window, find a remote and made procedure call a right click on it to select Properties.
c. under the general tab, make sure the startup type is automatic and the Service status is started.Method 2:
Disable security programs antivirus or other software installed on the computer and check.
Important note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.Method 3:
Check out the link and follow the steps:
Solve printer problems
For the problem with the CD drive, see the link:
Your CD or DVD drive is missing or is not recognized by Windows or other programshttp://support.Microsoft.com/kb/982116
Hope this solves the problem.
-
In Entourage, all the incoming mails are doubled. How can I fix this?
In Entourage, all the incoming mails are doubled. How can I fix this?
Entourage is not an Apple product and there are very few users Entourage here. I do part, but never encountered the problem you describe. You the best chance for a quick resolution is to post your question forums Office: Mac from Microsoft here:
Everyone he's a Mac user AND a user desktop, something you can't say about Apple forums. You will get the quickest help there and I think you'll find contributors more useful.
When you post here, do not forget to include your Office version and your version of Mac OS x.
-
How to fix error 0xC0002751
When you try to download an Overdrive audio ebook, the 0cC0002751 error message appeared. How can I fix it?Hello Ellen,.
Please take a look at the following Microsoft article which seems to answer your specific question:You can also try to download and run this specific update for Windows XP that should solve the problem you are experiencing: -
original title: user profile
I can't connect on the profile of the main user, the computer indicates that the profile cannot be loaded. How can I fix?
Hello
You can try to fix it with Safe Mode - repeatedly press F8 as you bootup. The ADMIN account in trunk
Mode has no default password (unless someone has changed the password so it should be available).Some programs such as the updated Google (if you added the toolbar Google, Chrome or Google Earth)
has been known to cause this problem.Error message when you log on a Windows Vista-based or Windows 7 using computer a
Temporary profile: "the user profile Service has no logon. Unable to load the user profile.
http://support.Microsoft.com/kb/947215How to fix error "the user profile Service has no logon. User profile cannot be loaded. »
http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.htmlHow to fix error "your user profile was not loaded correctly! You have been connected with a
temporary profile. "in Vista
http://www.Vistax64.com/tutorials/135858-user-profile-error-logged-temporary-profile.htmlBE VERY CAREFUL IF YOU USE THIS ONE:
DO NOT USE THE ACCOUNT HIDDEN ON A DAILY BASIS! If it corrrups you are TOAST.
How to enable or disable the real built-in Administrator account in Vista
http://www.Vistax64.com/tutorials/67567-administrator-account.htmlUse the Admin account hidden to lower your user account APPLY / OK then wear again to
ADMIN. This allows clear of corruption. Do the same for other accounts if necessary after the
above message.You can use the hidden - administrator account to make another account as an ADMINISTRATOR with your same
password (or two with the same password) use a test or difficulty to another.You can run the Admin account hidden from the prompt by if necessary.
This tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxIf you cannot access your old account, you can still use an Admin to migrate to another (don't forget
always leave to an Admin who is not used except for testing and difficulty account).Difficulty of a corrupted user profile
http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspxI hope this helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
Maybe you are looking for
-
Shortcut for the new window with several tabs
Is it possible to have a shortcut on the desktop to launch a new window with several tabs? For example - home page is set to "www.google.com", but the shortcut opens new window with tabs "www.cnn.com" and "www.youtube.com". Then far,.../firefox.exe-n
-
Tecra M11 has a trap door for access to the hard drive?
Can someone tell me if the Tecra M11 is equipped with a door to provide access to the hard drive? Previous Tecras have such a door, but I can't say for some photos of the site Web or the M11 manual if this still applies. I need to know before orderin
-
Where can I download for my HP Pavilion dv6 HP TOOLS?
I want to reinstall windows. Windows 7 64 bit, i7 processor 1.6 - 2.8 GHz, 6 GB RAM, 640 GB 7200 RPM HDD, ATI Radeon 1 GB video. And I need HP tools for my laptop HP Pavilion dv6... 6000, I think it'sThanks in advance!
-
MacBook Pro in early 2011. El Capitan later. All updates current. I received a message that my boot drive was full. I began to delete files and I fear I might have inadvertinately deleted something essential. When I turn on my laptop now, I get the u
-
On screen indicator Volume missing hp G56
When I reinstalled my windows 7 osafter dyed my hard disk I lost the on screen volume indicator, how do I get back there on the hope of the screen can you help