Re: Sending dbnumeric in dbrpcparam

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Damien Churchill wrote:
> 'The incoming tabular data stream (TDS) remote procedure call (RPC)
> protocol stream is incorrect. Parameter 1 ("@idecimal"): Data type
> 0x6A has an invalid data length or metadata length.'
> 
> 
> Here is the code that I've tried: http://pastebin.com/f69a761d7

http://manuals.sybase.com/onlinebooks/group-cnarc/cng1110e/dblib/@Generic__BookTextView/34413;pt=39614

	"The value of type indicates the datatype of *value. See "Types" for more
information. For types that have no C equivalent, such as SYBDATETIME,
SYBMONEY, SYBNUMERIC, or SYBDECIMAL, use dbconvert_ps to initialize
*value."

HTH.  

--jkl
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.