dbTalk Databases Forums  

Smallmoney data type size? DTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Smallmoney data type size? DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Will_2112
 
Posts: n/a

Default Smallmoney data type size? DTS - 10-13-2003 , 03:14 PM






To all gurus I have a text file getting in via dts into sql server there
are 43 columns in the create table statement with 15 being of the type
small money. How many spaces does smallmoney take ???

Will

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Smallmoney data type size? DTS - 10-13-2003 , 04:08 PM






In article <ejKoMackDHA.2404 (AT) TK2MSFTNGP12 (DOT) phx.gbl>, Will_2112
<anonymous (AT) devdex (DOT) com> writes
Quote:
To all gurus I have a text file getting in via dts into sql server there
are 43 columns in the create table statement with 15 being of the type
small money. How many spaces does smallmoney take ???

Will

From Books Online, smallmoney-

Monetary data values from - 214,748.3648 through +214,748.3647, with
accuracy to a ten-thousandth of a monetary unit. Storage size is 4
bytes.

It doesn't take any spaces. If you are importing a fixed width file,
then it is up to you to specify the "width".

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.