How many LONG columns are allowed in a table?

Answer Posted / harshit varshney

Only one column can have LONG data type. And that column cannot be used in WHERE clause or in ORDER BY clause. Also we cannot add primary key constraint to that column only not to the whole table, that means we will give primary key to any column in the table except the column having the long data type. If we give, we get the error ORA-02269: key column cannot be of LONG datatype.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scalar data type in pl sql?

546


what is isam? : Sql dba

570


What is the use of function in sql?

529


What does the file extension accdb stand for?

545


what is the different between now() and current_date()? : Sql dba

520






What is pl sql in oracle?

573


What is a design view?

518


What are the syntax and use of the coalesce function?

549


Why trigger is used in sql?

525


What is normalization? How many normalization forms are there?

548


what is top in tsql? : Transact sql

537


Can we join 3 tables in sql?

492


What is primary and foreign key?

589


Does truncate remove indexes?

555


What are some emotional triggers?

566