select 10 from dual; y its showing all the rows with 10?
Answer / honey
1.
As we know that Implicitly Cursor 'SQL' is opened.
when it is pin pointing the 1st row in the dual, cursor
found that one record exists.
2.
since there are no conditions (i.e., where,group by,..),
directly 'select' clause will be executed.
3.
Internally Oracle identifies numbers, so 10 number will be
displayed.
| Is This Answer Correct ? | 1 Yes | 3 No |
Is sql difficult?
why not null constraint showing its constraint type as 'c'
Are stored procedures compiled?
What is pl/sql table? Why is it used?
What is the difference between drop and truncate commands?
What is procedure explain with program?
what is the difference between pragma exception_init and raise_application_error
1 Answers Aetins, State Street,
What are the different types of joins and explain them briefly.
what is cursor procedure
Is a view faster than a stored procedure?
How do I access sql anywhere database?
What is %s in sql?
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)