Re: Column size

Talia <[email protected]>
Newsgroups gmane.comp.db.oracle.toad.free
Message-ID <3311609.333991320059211187.JavaMail.SYSTEM@alvqcfw02>
 Message from: TL_TL 

OK, seems like the table was refreshed during the night, because today I&#39;m getting all the text from that field.
Please someone tell me what I have to do to&nbsp; save changes / refresh&nbsp;it by my self...

Thank You,
TL.

_______________________________________

Historical Messages 


Author: Talia
Date: Mon Oct 31 04:06:20 PDT 2011
OK, seems like the table was refreshed during the night, because today I&#39;m getting all the text from that field.
Please someone tell me what I have to do to&nbsp; save changes / refresh&nbsp;it by my self...

Thank You,
TL.
__

Author: Talia
Date: Sun Oct 30 12:01:18 PDT 2011
Hello,
I have a column (varchar2) that was 15 bytes and later I changed it to 30 bytes.
When I open the &quot;columns&quot; tab, I see that the size of the column is 30.
BUT, When I&#39;m trying to retrieve data from this table from my application, I get the first 15 chars of the text that stored in that field, and not the complete text.
Seems like I need to refresh the table structure somewhere...

Please any help...

Just in case it will help, there is the code I use to retrieve the data (C#): 

 String  strQuery2 =  String .Format( &quot;SELECT * FROM tblSourcesScheduler WHERE strSourceName=&#39;{0}&#39;&quot; , strSrcName);
 OracleConnection  oraConn =  new   OracleConnection (strConnString);
 try { oraConn.Open();
 cmd =  new   OracleCommand (strQuery2, oraConn);cmd.CommandType =  CommandType .Text;   dr = cmd.ExecuteReader(); dr.Read(); if  (dr.HasRows)   { setSchedulerValues( dr[ &quot;strWeekDays&quot; ].ToString(),   dr[ &quot;strHours&quot; ].ToString(),dr[ &quot;strMinutes&quot; ].ToString()   ); } } catch  ( Exception  exp)   { } finally { oraConn.Close(); }


Thanks, TL.
__
_______________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.