Questions tagged [rowid]
210 questions
1
vote
2 answers
PL/SQL invalid ROWID for update
I try update salary, but get error:
invalid ROWID
Cause: A ROWID was entered incorrectly. ROWIDs must be entered as
formatted hexadecimal strings using only numbers and the characters A
through F. A typical ROWID format is…

Юлія Нечипорук
- 47
- 1
- 8
1
vote
2 answers
The ROWID values between schemas
Rowid is a unique identifier of a row of a table in database(oracle). I wanted to know if the rowid can repeat between tables in different schemas in the same database and different schemas in different databases ?
For example -
Database (D1) has…

FirstName
- 377
- 2
- 6
- 21
1
vote
2 answers
How to generate jQuery DataTables rowId client side?
The jQuery DataTables reference shows an example of setting the rowId option to a column from the data source (server side). This setting is used for the "select" extension and retaining row selection on Ajax reload.
Is there any way to generate the…

reformed
- 4,505
- 11
- 62
- 88
1
vote
2 answers
Keep the last 20 records and delete other records in oracle sql
I want to keep the last 20 records in VMR table and delete all other records. The VMR table has 5000000 records and its growing. I also have create_date column which has date datatype in VMR table and it has non unique index. I tried using rownum to…

Andrew
- 3,632
- 24
- 64
- 113
1
vote
2 answers
How does order by row id work in Oracle?
I have a table called points. I executed the following query and expected a list of lexicographicaly sorted list of ROWIDs but that did not happen. How does Order by rowid sorts the row?
select rowid from points order by rowid
I had rows like…

Farsan Rashid
- 1,460
- 4
- 17
- 28
1
vote
3 answers
How to find the partition by ROWID in oracle?
I created the partitions for the table (test) by Hijri months (date) ,
How to match a particular partition by ROWID in oracle?

mohsen.nour
- 1,089
- 3
- 20
- 27
1
vote
2 answers
Oracle Join View - which rowid is used
CREATE VIEW EVENT_LOCATION ("EVENT_ID", "STREET", "TOWN") AS
SELECT A.EVENT_ID, A.STREET, A.TOWN
FROM TBLEVENTLOCATION A
JOIN TBLEVENTS B
ON A.EVENT_ID = B.EVENT_ID
WHERE B.REGION = 'South';
if I run
SELECT ROWID,…

Richard
- 2,994
- 1
- 19
- 31
1
vote
1 answer
Django CharField primary key doesn't work, creating rowid primary key automatically
I am using Django models for a SQLite database.
I defined CharField primary key (for example the name of attribute A) but the physical database synced by Django shows another primary key rowid instead of A.
I tried dropping the table and re-sync a…

SangminKim
- 8,358
- 14
- 69
- 125
1
vote
0 answers
Convert SQLite ROWID to primary key
I have a large table without a primary key. Instead, I've been using the built-in ROWID as one.
Problem: now I can't VACUUM my database, because:
The VACUUM command may change the ROWIDs of entries in any tables that do not have an explicit INTEGER…

Vladimir Panteleev
- 24,651
- 6
- 70
- 114
1
vote
1 answer
Sqlite: Are updates to two tables within an insert trigger atomic?
I refactored a table that stored both metadata and data into two tables, one for metadata and one for data. This allows metadata to be queried efficiently.
I also created an updatable view with the original table's columns, using sqlite's insert,…

bright
- 4,700
- 1
- 34
- 59
1
vote
2 answers
SQL server 2005 :Updating one record from 2 identical records
I have 2 records in a table in SQL Server 2005 db which has exactly same data.
I want to update one record.Is there anyway to do it?Unfortunately this table does not have an identity column and i cant use a direct update query because both will be…

Shyju
- 214,206
- 104
- 411
- 497
1
vote
0 answers
getting the rowId of an item in the listView from sqlite database
hope you could help me with this problem. i want to get the rowId of a selected item in a listview from sqlite so that i can pass the value to another activity.
i already fed the listview with info from my sqlite table and use onClickedItem in the…

user3907236
- 21
- 2
1
vote
2 answers
SQLITE problem in rowid
I am using SQLite C# library and as per my requirement, before going to add I am retreving the rowid of that table. It is working fine but hetting error when table is empty. Once we add any data(a row) then it’s working fine .
mDbCon =…

CrazyC
- 1,840
- 6
- 39
- 60
1
vote
1 answer
Tune a query with ROWID and ORA_ROWSCN
I have a following query which is taking lot of time as table is very big, this query also fetching pseudo columns ROWID and ORA_ROWSCN.
select ROWID, ORA_ROWSCN, t.C1, t.c2, t.c5, t.c7, t.c9 from tab t
I tried using hint ALL_ROWS and ran the stats…

Sid
- 582
- 3
- 7
- 28
1
vote
1 answer
jqGrid AddRowData rowId has wrong value
if i add local data (one row) to an existing jqgrid, the autogenerated value by $.jgrid.randId() seems to be wrong. I need the new row id for further actions.
var mydata = [
{id: '12', thingy: "abc"},
{id: '34', thingy:"def"},
{id:…

fr4nk
- 176
- 1
- 13