Hello:
I don't understand the sentence. :( The second part is weird.
In GDS implementations before the value of a char/varchar parameter is written to the socket the lenght of the string value gets compared with the lenght of the field if it's greater an exception get thrown:

if ((param.Length % param.Charset.BytesPerCharacter) == 0 &&
                               svalue.Length > param.CharCount)
                           {
                               throw new IscException(335544321);
                           }

Or another question. Is there any advantage if I specify the size?

That depends but generally yes, as that way the parameter descriptor could be done without making a request to the server.



--
Carlos Guzmán Álvarez
Vigo-Spain

http://carlosga.blogspot.com/

"When you don't code, you tend to become one of those architects who thinks 
everything is possible" ( Anders Hejlsberg )



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to