adspace


Explian rowid, rownum?

Answer Posted / Prem Pal

ROWID is a system-generated unique identifier for each row in a table. It's physically stored with the data itself and can be used to directly access a row without using a primary key. ROWNUM is a pseudocolumn that returns the sequential number of a row within the result set of a SQL query. It starts from 1 by default, but it can be reset if ORDER BY clause is used.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is collation? : Sql dba

1242


If a cursor is open, how can we find in a pl/sql block?

1252


what are all the common sql function? : Sql dba

1141


Can we rollback truncate?

1083


Do we need to rebuild index after truncate?

1152


How do I remove duplicates in two columns?

1202


Is inner join faster than left join?

1287


Can delete statement be rollbacked?

1065


how to use regular expression in pattern match conditions? : Sql dba

1125


Does group by remove duplicates?

1120


how to escape special characters in sql statements? : Sql dba

1124


what are aggregate and scalar functions? : Sql dba

1142


What is the best sql course?

1063


Can we use distinct and group by together?

1146


what is sql server agent? : Sql dba

1188