where rowid = dbms_rowid.rowid_create(1,49627,7,138,0) : dbms_rowid « System Packages « Oracle PL / SQL






where rowid = dbms_rowid.rowid_create(1,49627,7,138,0)

 
SQL>
SQL> CREATE TABLE EMP(
  2      EMPNO NUMBER(4) NOT NULL,
  3      ENAME VARCHAR2(10),
  4      JOB VARCHAR2(9),
  5      MGR NUMBER(4),
  6      HIREDATE DATE,
  7      SAL NUMBER(7, 2),
  8      COMM NUMBER(7, 2),
  9      DEPTNO NUMBER(2)
 10  );

Table created.

SQL> update emp
  2   set sal = sal * 1.1
  3   where hiredate < to_date('08/SEP/1981','DD/MON/YYYY');

0 rows updated.


SQL>
SQL> select *
  2   from emp
  3   where rowid = dbms_rowid.rowid_create(1,49627,7,138,0);

SQL>
SQL> drop table emp;

Table dropped.

   
  








Related examples in the same category

1.DBMS_ROWID.ROWID_BLOCK_NUMBER(RowID)
2.DBMS_ROWID.ROWID_RELATIVE_FNO(RowID)
3.DBMS_ROWID.ROWID_RELATIVE_FNO(RowID),DBMS_ROWID.ROWID_BLOCK_NUMBER(RowID)
4.DBMS_ROWID.ROWID_ROW_NUMBER(RowID)
5.DBMS_ROWID.ROWID_TO_RESTRICTED(RowID,0)
6.dbms_rowid.rowid_block_number(rowid) and ora_rowscn