Solved

oracle- 10.2.04

Posted on 2016-08-31
3
49 Views
Last Modified: 2016-08-31
Can we combine the following in one script

Updating oracle table from values taken from another table and also alter the table to make that column not null?

Help Appreciated.
0
Comment
Question by:anumoses
3 Comments
 
LVL 47

Accepted Solution

by:
schwertner earned 250 total points
ID: 41778168
I will recommend to use the MERGE statement if the whole row should be inserted from the source table.
0
 
LVL 4

Assisted Solution

by:Abhimanyu Suri
Abhimanyu Suri earned 250 total points
ID: 41778176
Please note, UPDATE and ALTER are two distinctive commands, DML and DDL respectively.

They can not be put together as one sql statement unless a procedure/package
0
 
LVL 6

Author Closing Comment

by:anumoses
ID: 41778405
thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
report returning null 21 94
Wrap Oraccle SQL*Plus executable Command 4 84
Oracle dataguard 5 30
Oracle collections 15 22
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question