I run this query to get the result like below, but even though my query is running fine I dont get the expected result.
I am looking for only column compare for making my target table same as source table.
My query:
select case when column_name_s is null and column_name_t is not null
then 'alter table GRADE_CONVERSION drop ' || column_name_t || ';'
when column_name_s is not null and column_name_t is null
then 'alter table GRADE_CONVERSION add ' || column_name_s || ' ' || data_type_s ||';'
else 'alter table GRADE_CONVERSION modify ' || column_name_t || ' ' || data_type_t ||';'
end alterations
from (select s.column_name column_name_s,t.column_name column_name_t,
s.data_type data_type_s,t.data_type data_type_t
from (select column_id,column_name,data_type
from all_tab_cols@database
where owner = 'erhan'
and table_name = 'GRADE_CONVERSION'
) s
full outer join
(select column_id,column_name,data_type
from all_tab_cols@database
where owner = 'sarigul'
and table_name = 'GRADE_CONVERSION'
) t
on s.column_name = t.column_name
Tables:
Target table: GRADE_CONVERSION table in sarigul@database
LETTER_GRADE
VARCHAR2(2)
GRADE_POINT
NUMBER(3,2)
MAX_GRADE
NUMBER(3)
MIN_GRADE
NUMBER(3)
Source table: GRADE_CONVERSION table in erhan@database
LETTER_GRADE
VARCHAR2(2)
GRADE_POINT
NUMBER(3,2)
MAX_GRADE
NUMBER(3)
MIN_GRADE
NUMBER(3)
CREATED_BY
VARCHAR2(30)
CREATED_DATE
DATE
MODIFIED_BY
VARCHAR2(30)
MODIFIED_DATE
DATE
want to see the result similar to this *(please ignore the column names here this is just a plain exemple:)
Alter table Target_table modify BOOK_ID Varchar2 (4);
Alter table Target_table add ISBN_10 Varchar2(13), null;
Alter table Target_table drop TITLE;
I am looking for only column compare for making my target table same as source table.
My query:
select case when column_name_s is null and column_name_t is not null
then 'alter table GRADE_CONVERSION drop ' || column_name_t || ';'
when column_name_s is not null and column_name_t is null
then 'alter table GRADE_CONVERSION add ' || column_name_s || ' ' || data_type_s ||';'
else 'alter table GRADE_CONVERSION modify ' || column_name_t || ' ' || data_type_t ||';'
end alterations
from (select s.column_name column_name_s,t.column_name column_name_t,
s.data_type data_type_s,t.data_type data_type_t
from (select column_id,column_name,data_type
from all_tab_cols@database
where owner = 'erhan'
and table_name = 'GRADE_CONVERSION'
) s
full outer join
(select column_id,column_name,data_type
from all_tab_cols@database
where owner = 'sarigul'
and table_name = 'GRADE_CONVERSION'
) t
on s.column_name = t.column_name
Tables:
Target table: GRADE_CONVERSION table in sarigul@database
LETTER_GRADE
VARCHAR2(2)
GRADE_POINT
NUMBER(3,2)
MAX_GRADE
NUMBER(3)
MIN_GRADE
NUMBER(3)
Source table: GRADE_CONVERSION table in erhan@database
LETTER_GRADE
VARCHAR2(2)
GRADE_POINT
NUMBER(3,2)
MAX_GRADE
NUMBER(3)
MIN_GRADE
NUMBER(3)
CREATED_BY
VARCHAR2(30)
CREATED_DATE
DATE
MODIFIED_BY
VARCHAR2(30)
MODIFIED_DATE
DATE
want to see the result similar to this *(please ignore the column names here this is just a plain exemple:)
Alter table Target_table modify BOOK_ID Varchar2 (4);
Alter table Target_table add ISBN_10 Varchar2(13), null;
Alter table Target_table drop TITLE;
Similar Messages
-
when I get a message my iphone 4s only vibrates even though all sounds are on and when someone calls the sound works perfectly normal.
Try a reset. To reset the iPhone, press and hold the home and sleep/wake buttons until you see the Apple logo (ignore the slide to power off prompt). If that doesn't work, perform a Restore via iTunes (from backup).
-
After updating my iPad to IOS 8.1.2, I am unable to access the Cloud with my password, even though it worked on my Macmini. I changed the password and it still does not work on the iPad. What can I do to get iPad to recognize my Apple ID/password account?
I would be helpful to know what those "basic steps" you have already tried are, but lacking that information:
Settings app > iTunes & App Stores - sign out of your AppleID
Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.
Sign back into your AppleID (same location as noted above) -
Excel 2010: I get the error message "This file can't be previewed because of an error in the Microsoft Excel previewer." even though Advanced Properties is set to Save Thumbnails for all Excel Documents and I've run Repair on Microsoft Office.
I don't know what else to try.
Any help would be appreciated. Thanks.A hotfix request has already been submitted for this issue and we have also documented it here
http://support.microsoft.com/kb/983097
Thanks.
Tony Chen
TechNet Community Support -
When trying to logout, I keep getting "the application safari canceled logout" even though I am not in Safari. This only recently started happening and I'm wondering if it is a setting issue or bug. Can someone tell me what to do?
You don't have to be "in" Safari for it to cancel logout.
You have several different Applications open, and any one of them may cancel logout if conditions are just right.
Quit the Applications you are no longer using and your Mac will run better and faster. And it will logout instead of cancelling. -
I updated my IOS on my iPhone 4S and it locked up. I had to restore my phone and now iTunes will not go past the setup your phone screen even though the phone as been restored. How do I get iTunes to go past this screen so I can sync my phone again?
Depending on what iPhone you have when you get to the connect to wifi you should be able to activate your device over cellular data. Try doing a hard reset by holding the home circle button an power button until an apple pops up and the go through the setup again and when you get to the wifi part a option should be setup with cellular data iPhone 4 and above should give this option sometimes doesn't like showing up that's why u have to do a hard reset first
-
When using my new nano 7 with nike+, my music stops after the 30 minute voice alert even though I have set my run/workout for over 30 minutes. It also cancels/deletes that run/workout. This has happened several times. How can I keep this from happening?
If possible I would arrange for a good service center to go over it. Hopefully they have a variety of parts in stock. They can test and verify all is working. The previous attempts are based on guesses by the person at the other end of the phone without diagnostic tests to assess the culprit. It is extremely unlikely for a webcam to fail & for it & a Mic to fail together should be an indicator to a good technician it is something else. EG Motherboard
Take it to a servicing dealer and wait for it.
T520 Model 4239 Intel(R) Core(TM) i7-2860QM CPU @ 2.50GHz
Intel Sandy Bridge & Nvidia NVS 4200M graphics Intel N 6300 Wi-Fi adapter
Windows 7 Home Prem - 64bit w/8GB DDR3 -
I have just purchased a compilation album but some of the songs haven't downloaded, even though I have paid for them. Why is this and when will i get the songs that I have paid for?
Hi there cortleavis90,
You may be able to download the purchases from the Past Purchases section of the iTunes Store. Take a look at the article below for more information.
Downloading past purchases from the iTunes Store, App Store, and iBooks Store
http://support.apple.com/kb/ht2519
-Griff W. -
My iPad has been hacked I cannot get into hotmail through mail also I get the apple message ,incorrect password even though this is correct what can I do
From your description it sounds like your Hotmail account was compromised. Does anyone else know the password and could they have changed it?
-
Dears ..
I 'm playing clash of clans ,wheen whene I bay from App store The operation is successful but whene I try to by pile of gems I get this maseg (your purchase could not be completed ) plz your advise
best Regards
<Email Edited by Host>As these are public forums (most of us on here are fellow users) I've asked the hosts to remove your email address from your post.
If you are also getting a message to contact iTunes support then you can do so via this page and ask them why the message is appearing (on these forums we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption -
I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???
In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
'''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.''' -
I've got an iPad and iPhone 4S, both of which are set up for facetime. When someone calls me, both the iPad and phone ring, even though the phone is set to receive facetime calls on the number and the iPad is set for an email account.
How can I change the setup so on the email only the iPad rings and on the phone number only the phone rings?No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that. -
Hello, I just bought a 2013 Mac mini and I cannot get the sound to output to my Dell U2713HM monitor. I went to sound output but even though my Dell shows up there when I select it there is no sound output to it. I am using a mini DP to DP cable...Any ideas? Thanks
Hi Alxx911, and John Hammer1. After reading John's reply - " You can plug something into it's headphone jack. though" . I thought i'd try out of curiosity. I plugged in some headphones. I didn't expect anything to happen and nothing happened. The audio jack is for the Dell soundbar which is optional.
Here's a direct copy and paste from the users manual: Section About Your Monitor.
Attaching the Soundbar AX510 / AX510PA (Optional) CAUTION: Do not use with any device other than the Dell Soundbar. NOTE: The Soundbar power connector (+12 V DC output) is for the optional Dell Soundbar AX510/AX510PAonly. To attach the Soundbar: 1. Working from the back of the monitor, attach the Soundbar by aligning the two slots with the two tabs along the bottom of the monitor. 2. Slide the Soundbar to the left until it snaps into place. 3. Connectthe Soundbar with the DC power connector. 4. Insert the mini stereo plug from the back of the Soundbar into the computerís audio output jack. For HDMI/DP, you can insert the mini stereo plug into the monitorís audio output port. If there is no sound, check your PC if the Audio output is configured to HDMI/DP output.
This monitor has no speakers. (Like John Hammer1 mentioned). The no speakers feature was one of the reasons I chose this monitor.
Good Luck ! -
When I attempt to apply a lens profile in the Develop module the only choices are for the Fujifilm X100/S/T even though in the Library module the EXIF data correctly shows the camera as the X-T1 and the precise lens used to take the picture. How do I get the right profile available?
First, the required profile needs to be present. LR 5.4 supports the X-T1 in terms of understanding its Raw format, but will not come with a profile for every lens which can be mounted onto that.
A profile is made for each specific lens, as mounted on a certain camera. It can also be used with pictures taken on a different (reasonably similar) camera body than the one originally used during profiling. This is subject to the sensor format: you can employ a given lens profile made for full frame, on an image from a crop sensor behind the same lens - but not vice versa.
Next, the image type needs to correspond to the image type which has been built into the profile: Raw, or non-Raw.
Lightroom offers only profiles of the right type for the image(s) concerned. There are many more provided for correcting camera Raw, than for correcting camera JPG. That is also the case with additional profiles, e.g. those accessed via the Adobe lens profile downloader utility.
Finally, in the event that there simply is no profile out there for a given lens, it is not particularly difficult (though a little tedious) for the end user to generate one, using a further Adobe utility which is downloadable as a package, including a range of checkerboard calibration targets, each of which needs to be printed at a stated physical size. -
I have an iphone 3GS and suddenly am getting a "storage almost full message" even though I have 1.4 GB of free space. Now I cannot text. How do I trouble shoot this? I recently upgraded to version 6.1.3 if that helps.
When you sync using iTunes on your computer, do you see a lot of "Other" at the bottom of the iTunes Summary Page for your iPhone? If you do, try a "Restore iPhone ...". That should help.
Hopefully that would do it for you. If not, the next (more drastic) step would be to restore again as above, but choose "Restore as New" and then manually sync. Omit any apps that might be suspcious in their space use (primarily Game Center apps).
Maybe you are looking for
-
How do I transfer a voice-over from one project to another?
I cannot COPY the voice-over from Project #1 and PASTE it onto Project #2. I've got to believe this is possible without re-recording the voice-over. Any suggestions?
-
I have an SSRS 2012 report and SSAS Cube in 2008. My report criterion requires filtering on measures. So Created measures as dimensions . The report requires >= functionality on the measures. But in the Query designer of the report there is =, IN, W
-
Updated to 10.5.5 - now beachball freeze forcing hard restart
A week ago I ran the update to 10.5.5 through Software update, along with several other things (security, itunes). I started getting the spinning beachball, and it's not letting me quit application or force quit anything, I have to do a hard restart.
-
Problem with Family Protection blocking
I have an ongoing problem with Family Protection blocking allowed websites from my daughter. I checked her account settings which are the same as her brother's and he has no problems. I then removed her account and created a new one and copied the
-
Column that is not bound to a view object on a treeTable
Hi, Is there a way to have a column on a tree table, that does not correspond to the binding for any of the tiers/vo's involved? Here's my use case, I would like to have an action on the second tier of the tree table, and would like to put a button i