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)
 uint16 coversion

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-07-26 : 09:12:17
bill writes "ok... well in my dts vb scripted thingy to use WMI to get processer info... the properties are described as uint16 and uint32. if I wanted to create a field to handle this then what would that type be.... or .. if I wanted to pass these values to a stored proc - what would I defined as my parameter types??"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-07-26 : 09:14:10
These stand for unsigned integers. SQL Server only handles signed integers. For uint16 you can use a regular SQL Server int data type, but the uint32 will require SQL Server 2000's bigint data type in order to avoid possible overflow errors.

Go to Top of Page
   

- Advertisement -