Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

rowid

How to get ROWID in SQLite?

November 17, 2023 by Tarik

SELECT rowid, * FROM tbl1 WHERE letter=”B”

Categories sql Tags database, rowid, sql, sqlite, tablecolumn Leave a comment

Using text as a primary key in SQLite table bad?

August 2, 2023 by Tarik

Is it bad to have text as a primary key in an SQLite database? I heard that it’s bad for performance reasons, is this true? From correctness point of view, TEXT PRIMARY KEY is all right. From performance point of view, prefer INTEGER keys. But as with any performance issue, measure it yourself to see … Read more

Categories android Tags android, database, primary-key, rowid, sqlite Leave a comment

ROWID (oracle) – any use for it?

July 24, 2023 by Tarik

ROWID is the physical location of a row. Consequently it is the fastest way of locating a row, faster even than a primary key lookup. So it can be useful in certain types of transaction where we select some rows, store their ROWIDs and then later on use the ROWIDs in where clauses for DML … Read more

Categories database Tags database, oracle, rowid Leave a comment

Equivalent of Oracle’s RowID in SQL Server

June 27, 2023 by Tarik

From the Oracle docs ROWID Pseudocolumn For each row in the database, the ROWID pseudocolumn returns the address of the row. Oracle Database rowid values contain information necessary to locate a row: The data object number of the object The data block in the datafile in which the row resides The position of the row … Read more

Categories sql Tags row-number, rowid, sql, sql-server, tsql Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa