What are the differences between “row_number()”, “rank()” and “dense_rank()”?
Answer / Sandeep Kumar Shukla
Row_number() assigns a unique number to each row in a result set, regardless of any duplicates. Rank() assigns a rank to each distinct value, with ties assigned the same rank and a sequence number added to distinguish them. Dense_rank() is similar to rank(), but it does not have gaps in the sequence numbers when there are ties.
| Is This Answer Correct ? | 0 Yes | 0 No |
Tell me about normalization in DBMS.
What the different components of Replication and what is their use?
What do you mean by data integrity?
how to take backup bcp out for a column in table in sql server?
What command do we use to rename a database?
What is Peer to peer Replication?
1 Answers CarrizalSoft Technologies, HCL,
How is table type constraint applied to a table?
How to use the inserted and deleted pseudo tables?
There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?
Which are the important points to note when multilanguage data is stored in a table?
When setting replication, is it possible to have a publisher as 64 bit sql server and distributor or subscribers as a 32 bit sql server?
What is the diff between Static Queries and Dynamic queries give me some examples
Oracle (3253)
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)