Home > database >  Consult ocilib use problem
Consult ocilib use problem

Time:09-24

Using ocilib
Environment: : Initialize (Environment: : Default, szlibpath);
The Connection con (" 192.168.2.20/former ", "test", "123");//instance, user name, password
The Statement st (con);
St. Execute (" select * from user_tables ");
The Resultset rs=st. GetResultset ();

Perform all, access to the column name, but the rs. GetCount has always been a 0, access to records, in other tables, too, is what reason,

CodePudding user response:

Test the users below have its own table, user_tables can only see the users table,
  • Related