Hi,
I want table structure shown below. How can i create this ?
Num Name Address
Addr1 Addr2


I want Addr1 and Addr2 under Address column.
How can i achive this ? Is it possible ?

Answer Posted / ashok

create table emp(num number(5),name varchar2(14),address
varchar2(15));
insert into emp values('&num','&name','&address');
Enter value for num:
Enter value for name:
Enter value for address: addr1 addr2
old 1: insert into emp values('&num','&name','&address')
new 1: insert into emp values('','','addr1 addr2')

Is This Answer Correct ?    1 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?

903


What are the four Oracle system processes that must always be up and running for the database to be useable?

800


How to install oracle database 10g xe?

801


Select all the employees who were hired in last 2 years and who works in dept where max managers are working.

2739


Can we connect to ORACLE db using Windows Authentication?

965


How to shutdown your 10g xe server from command line?

799


How do I start tns listener?

799


how to clone 9i Database on to 10g Database.

2112


What is oracle latest version?

876


What is the quickest way to fetch the data from a table?

834


What is rowid and rownum in oracle?

800


What is java oracle used for?

801


What language does oracle use?

871


Difference between open_form and call_form in oracle.

911


What is the purpose of tables, private synonyms and public synonyms in Oracle?

835