title: How to SELECT whole table with OTL, and save it to file?
body: <p>Here is the problem, I dont know how many attributes or which type are the attributes in table and I need simple select statment like: SELECT * FROM TABLE1; to write down to file.</p>
  
  <p>And this need to be done with otlv4 wrapper.</p>
  
  <p>Please help.</p>
  
  <pre><code>otl_stream i(50, // buffer size             
       "select * from test_tab where f1&gt;=:f&lt;int&gt; and f1&lt;=:f*2",                 // SELECT statement           
       db // connect object      
       );     
  int ac=0;
       char bc[64];
       memset(bc, 0, 64);
  
       while(!i.eof())
       {
  
          i &gt;&gt; ac &gt;&gt; bc;
          cout &lt;&lt; "Boooo " &lt;&lt; ac &lt;&lt; "  " &lt;&lt; bc &lt;&lt; endl;
       }
  </code></pre>
  
  <p>This is example where I know how many attributes are there and which type are there. But what if I dont know that??</p>