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

How to define an oracle cursor variable?

781


What happens to the current transaction if a ddl statement is executed?

779


What are ddl statements in oracle?

794


How to rename an index?

810


What is an anonymous block?

916


How to assign a tablespace to a users in oracle?

796


What are the parameters that we can pass through a stored procedure?

826


How to connect ms access to oracle servers?

744


Explain the blob datatype?

810


what is the scenario where you take the database to NoArchivelog mode?

2068


Is there any function in oracle similar like group_concat of mysql?

814


What is connection pool in oracle?

752


Differentiate between pre-select and pre-query?

843


What are the varoius components of physical database structure of oracle database?

771


What are the different pseudo commands? Explain in general?

811