sql query to get zero records from a table having n no of
records
Answers were Sorted based on User's Feedback
Answer / mallik
select * from table_name where rownum < n -(n-1)
--where 'n' is no of rows.
| Is This Answer Correct ? | 3 Yes | 1 No |
Create a procedure to delete certain records from a table and display the total number of records deleted in this process. (Condition for deletion can be of ur choice, for instance delete all records where eid='')
What is a 'instead of trigger'?
Is grant a ddl statement?
Can dml statements be used in pl/sql?
Is progress software supports to ( pl/sql )?
Why cannot I use bind variables in ddl/scl statements in dynamic sql?
What are character functions?
what is an associative array with example?
What is a null value?
While inserting/updating million of records into a database table, how do I came to know how many records has been inserted or updated successfully so far?
how to use myisamchk to check or repair myisam tables? : Sql dba
How do I start sql from command line?
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)