How many LONG columns are allowed in a table?
Answers were Sorted based on User's Feedback
Answer / 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 |
can we create index on index?
What is delete command in sql?
Mention what does plv msg allows you to do?
what are the differences between char and nchar? : Sql dba
what is the difference between a local and a global temporary table? : Sql dba
Is sql port 1433 encrypted?
how to use like conditions? : Sql dba
how are rank and dense rank being alloted for column with same values over a particular column
can we write stored function in out parameters? how to call through select statement? how to written more than one value plz give the exmple?
What is pragma exception and how, when, where us
Is sql injection illegal?
3. Select sum(a) sum_1,max(a) max_1 ,count(a) count_1 from ( ( select 1 a from dual union all Select to_number(‘2011’) a from dual union all select 1 a from dual) union select 2 b from dual);
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)