![]() Related Questions TABLESVIEWSINDEXESSYNONYMSSEQUENCESTABLESPACES etc Latest Answer : The different Oracle Database objects are: Table View Index Synonym TableSpace ... A view is stored procedure based on one or more tables, it’s a virtual table. Latest Answer : A view is a subset of tables. View is not stored as physical in database. ... SQL*PLUS is a command line tool where as SQL and PL/SQL language interface and reporting tool. Its a command line tool that allows user to type SQL commands to be executed directly against an Oracle database. Latest Answer : SQL keywords cannot be abbrevated but SQL*PLUS keywords can be abbrevated. ... delete from table_name where rowid not in (select max(rowid) from table group by duplicate_values_field_name); ordelete duplicate_values_field_name dv from table_name ta where rowid Latest Answer : DELETE FROM table_name a WHERE rowid > (SELECT min(rowid) FROM table_name b WHERE a.column_name=b.column_name) ... EXISTS is more faster than IN because EXISTS returns a Boolean value whereas IN returns a value. Latest Answer : EXISTS is more faster than IN operator because 'IN' operator is used to find any matches of values in column where as exists is used for boolean condition. ... A bad answer is count them (SELECT COUNT(*) FROM table_name)A good answer is :-'By generating SQL to ANALYZE TABLE table_name COUNT STATISTICS by querying Oracle System Catalogues (e.g. USER_TABLES Latest Answer : If you want to find the number of Rows in table SELECT COUNT(*) FROM EMP;This is valid query ... Oracle does not allow a user to specifically locate tables, since that is a part of the function of the RDBMS. However, for the purpose of increasing performance, oracle allows a developer to create a Latest Answer : Clustering is a method of storing tables that are intimately related and often joined together into the same area on disk. For example, instead of the BOOKSHELF table being in one section of the disk and the BOOKSHELF_AUTHOR table being somewhere else, ... Oracle uses work area to execute SQL statements and store processing information PL/SQL construct called a cursor lets you name a work area and access its stored information A cursor is a mechanism used Latest Answer : Oracle ueses the private area for excute SQL statements and store processing information. The private area is called as CONTEXT AREACURSOR: cursor is a handle or pointer to the context area. ... PL/SQL declares a cursor implicitly for all SQL data manipulation statements, including quries that return only one row. However,queries that return more than one row you must declare an explicit cursor Latest Answer : Ref:- sidharthBEGINFOR x IN (select * from amp)LOOP...............................;...............................;END LOOP;END;Is an Explicit cursor because for queries that return more than one row we use explicit cursor to access the rows individually. ... Cursor For Loop is a loop where oracle implicitly declares a loop variable, the loop index that of the same record type as the cursor's record. Latest Answer : A cursor for loop can be used instead of explicit cursors. A cursor for loop implicitly opens, fetches rows, closes a cursor. ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||