Skip to main content

ODBC and Database Designer not seeing rows in a table !


scoulibaly
Hi thre, I've created a new table and inserted one row, so select * from newtable yields 1 row. However, when I use ODBC, or when I start Database Designer, they both tell me the table is empty. Any clue ?

3 replies

Ravi_Gupta
  • New Participant
  • April 8, 2013
have you committed that session?

scoulibaly
  • Author
  • Participating Frequently
  • April 8, 2013
Hmm, committed it. Seems ok now ! Thank you Ravi. I thought autocommit default value was 'on' (since an uncommited CREATE TABLE made the table to appear in the tables catalog).

Ravi_Gupta
  • New Participant
  • April 8, 2013
If autocommit is ON, then data is not committed automatically until you leave the session. DDLs internally do commit and are immediately visible to all sessions because it is catalog change.