Is it possible to use LONG columns in WHERE clause or ORDER
BY?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What are the types pl/sql code blocks?
What are all types of user defined functions?
what is a primary key? : Sql dba
What is a join?Explain the different types of joins?
6 Answers Bank Of India, CitiGroup, Google, ICICI, Saama Tech, SkyTech, TCS,
What are different types of sql commands?
What is lexical units in pl sql?
What is the maximum number of triggers, you can apply on a single table?
Begin For j in 4403201000 .. 4403202000 Loop If mod (j, 100) = 0 then Dbms_output.put_line (j); End if; End loop; End; what will be the output of this question
What are the packages in pl sql?
What is dense_rank?
What is %type in pl sql?
What is a boolean in sql?