Re: [sqlite] table or record size without reading the entire table/record?

2005-08-21 Thread Kervin L. Pierre
D. Richard Hipp wrote: Are you trying to estimate the size of a table, or a single row in that table? Your words say the table but the context suggest you really want the size of a row. I need the table. But I thought if I could have the row, calculating the total for the table wouldn't

Re: [sqlite] table or record size without reading the entire table/record?

2005-08-21 Thread D. Richard Hipp
On Sun, 2005-08-21 at 13:43 -0400, Kervin L. Pierre wrote: > Hello, > > I am trying to figure out a way to return > the actual or approximate table size in a > database. > > Basically, in my application a table relates > to an object and I need to calculate the > approximate size of an object. >

[sqlite] table or record size without reading the entire table/record?

2005-08-21 Thread Kervin L. Pierre
Hello, I am trying to figure out a way to return the actual or approximate table size in a database. Basically, in my application a table relates to an object and I need to calculate the approximate size of an object. There is the sqlite3_column_bytes(), but I understand that that function