Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Input parameters & Insert SP???

Author  Topic 

jamiegirl764
Starting Member

30 Posts

Posted - 2001-11-01 : 16:32:08
Hi all,
I have question regarding one of my insert SPs. One of the parameters is of Decimal datatype and I'm using ADO to append and create these parameters in a command object.


CmdObj.Parameters.Append CmdObj.CreateParameter _
("SequenceNum", adDecimal, adParamInput, ???, strSeqNum)


Would anyone know what I would need to place in the '???' area so that VB knows that it needs to take that parameter and insert it as a decimal datatype with a PRECISION of 7 and a SCALE of 4??? I assumed that I'd place a 7 there, but I think that's what's causing my error. Any tips would be appreciated, thanks!!!



Jay
   

- Advertisement -