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 meant by nl2br()? : Sql dba

558


How do you delete data from a table?

531


what is table? : Sql dba

568


which tcp/ip port does sql server run on? : Sql dba

506


What are the query optimization techniques?

527






What is the purpose of normalization?

530


What is lexical units in pl sql?

565


what is oltp (online transaction processing)? : Sql dba

525


How many sql are there?

503


How run sql*plus commands that are stored in a local file?

511


What is a sql trace file?

540


GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?

2566


Explain the difference between sql and mysql.

554


What is auto increment in sql?

577


write an sql query to find names of employee start with 'a'? : Sql dba

571