What is the difference between CHAR and VARCHAR2? If
VARCHAR2 serves the uses of CHAR why CHAR is still used and
not been discarded yet?

Answer Posted / masthan

create table test(aa char):=by using char create the table with out spicifing the lengh(by default it will create lenth 1)default size is 1 byte

by using varchar2 with out spicifing the lengh we cont able to create the table.There is no default size

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between implicit and explicit cursors?

702


How do I create an index in word?

727


Why is partition used in sql?

785


Which are sql * plus commands?

714


What do you understand by exception handling in pl/sql?

754






What is difference between sql function and stored procedure?

679


Can we insert delete data in view?

726


What is the use of prepared statement?

749


How to display the records between two range in Oracle SQL Plus?

868


How will you distinguish a global variable with a local variable in pl/sql?

838


How many types of triggers exist in pl/sql?

730


How insert into statements in sql?

789


Which is better varchar or nvarchar?

732


Can we perform dml in function?

796


What is a scalar value in sql?

804