Is it possible to use LONG columns in WHERE clause or ORDER
BY?

Answers were Sorted based on User's Feedback



Is it possible to use LONG columns in WHERE clause or ORDER BY?..

Answer / pavan_1981

no its not possible to use long columns in WHERE or ORDERBY
clause.other restrictios on LONG column are
1.there can be only colum of long data type in a table.
2.no constraints can be defined on long column.
3.a long column will not be cpied when u create a new table
from existing table using a subquery.

Is This Answer Correct ?    21 Yes 4 No

Is it possible to use LONG columns in WHERE clause or ORDER BY?..

Answer / lakshmikanthan

while using where or order by clause in long datatype column . error will come LIKE
ORA-00997: illegal use of LONG datatype .

And another points is :
1. only one long data type allowed in a table
2. cannot able to create the constraint in a long data type column in a table
error :
ORA-02269: key column cannot be of LONG datatype.

Is This Answer Correct ?    0 Yes 0 No

Is it possible to use LONG columns in WHERE clause or ORDER BY?..

Answer / bolearner

Long data type can't participate for any operation in SQL.

Only DML queries can be applied.

Can't apply any aggregate function on LONG colum.

Can't apply any analytical function on LONG colum.

Can apply sequence on LONG colum.

Can apply synonym for LONG column table.

Can create view for LONG column table and Mat view is not possible.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is sql engine in oracle?

0 Answers  


What plvcmt and plvrb does in pl/sql?

0 Answers  


What has stored procedures in sql and how we can use it?

0 Answers  


we have a package and we have grants to execute that package inside of that we have table, here we don't have privileges to this table? whether this package will execute or not?

3 Answers   TCS,


If a cursor is open, how can we find in a pl/sql block?

0 Answers  






How to Declare Fixed Length String Value In PL SQL

0 Answers  


Can we write dml inside a function in sql server?

0 Answers  


Do prepared statements prevent sql injection?

0 Answers  


what is the use of set statement in tsql? : Transact sql

0 Answers  


Store procedure will return a value?

4 Answers   eMids,


how to get the third quarter of employee details from emp?

2 Answers   CompuTech,


How to set up sql*plus output format in oracle?

0 Answers  


Categories