> BTW in FB default UDF pack is ascii_char and ascii_val function. Why > not to use it for getting values from DB. > > Note.: Depends on your needs and performance issues.
Finally, you tell me how, and I thank you profundly. ascii_val sounds promising. I have been using my own UDF and didn't look into FB's standard UDF package. I'm porting socket-server apprecations from Win32/C++ to .NET. In those fields, you often have no choice but going down to bytes. You usually have no control over what is sent to your server. Sometimes you need to read binary protocol. Although this is not socket, a third party apprecation writes a byte into char(1) field in DB and I need to read it, willy-nilly. Thank you for your help. I'm still wondering why .net provider does not support direct byte read in FbDataAdapter's Fill method, though. Regards, Nobuya ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider