dbTalk Databases Forums  

DTS Column Datatype Property?

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


Discuss DTS Column Datatype Property? in the microsoft.public.sqlserver.dts forum.



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

Default DTS Column Datatype Property? - 05-12-2004 , 12:41 PM






Hi

I have a code like
********************************
Dim loColumn As DTS.Colum
loColumn = loTransformation.SourceColumns.New("Col001",14

loColumn.Name = "Col001
loColumn.Ordinal =
loColumn.Flags = 3
loColumn.Size = 25
loColumn.DataType = 12
loColumn.Precision =
loColumn.NumericScale =
loColumn.Nullable = Tru
*********************************

What should I specify in DataType Property for Varchar, numeric, boolean and double datatypes of SQLServer 2000 as I have different columns with diff. datatypes

any help is greatly appreciated...

Thanks
SV


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

Default Re: DTS Column Datatype Property? - 05-12-2004 , 01:06 PM






In message <50E69743-560F-44F4-82CD-7FCB8AFC74A7 (AT) microsoft (DOT) com>, SVP
<anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
Hi,

I have a code like:
*********************************
Dim loColumn As DTS.Column
loColumn = loTransformation.SourceColumns.New("Col001",14)

loColumn.Name = "Col001"
loColumn.Ordinal = 1
loColumn.Flags = 32
loColumn.Size = 255
loColumn.DataType = 129
loColumn.Precision = 0
loColumn.NumericScale = 0
loColumn.Nullable = True
**********************************

What should I specify in DataType Property for Varchar, numeric,
boolean and double datatypes of SQLServer 2000 as I have different
columns with diff. datatypes?

any help is greatly appreciated....

Thanks,
SVP
If you check out Books Online, or here online
(http://msdn.microsoft.com/library/de.../en-us/dtsprog
/dtsppropde_00dv.asp) it tells you what the reference is for these
values.

Here is the ADO reference mentioned, focus on those with DBTYPE_* in the
description as this is alternative reference above.

http://msdn.microsoft.com/library/de...en-us/ado270/h
tm/mdcstdatatypeenum.asp

--
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
  #3  
Old   
Darren Green
 
Posts: n/a

Default Re: DTS Column Datatype Property? - 05-12-2004 , 01:55 PM



The links work, just make sure you are using the whole link as most
newsreaders will break the link across lines and any embedded link
rendering will not account for this.


In message <648EFCE3-15DD-416D-9217-2597297B0194 (AT) microsoft (DOT) com>, SVP
<anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
Darren, Correct Links are not found. Can u check once?

Thanks,
SVP

----- Darren Green wrote: -----

In message <50E69743-560F-44F4-82CD-7FCB8AFC74A7 (AT) microsoft (DOT) com>,
SVP
anonymous (AT) discussions (DOT) microsoft.com> writes
Hi,

I have a code like:
*********************************
Dim loColumn As DTS.Column
loColumn = loTransformation.SourceColumns.New("Col001",14)

loColumn.Name = "Col001"
loColumn.Ordinal = 1
loColumn.Flags = 32
loColumn.Size = 255
loColumn.DataType = 129
loColumn.Precision = 0
loColumn.NumericScale = 0
loColumn.Nullable = True
**********************************

What should I specify in DataType Property for Varchar, numeric,
boolean and double datatypes of SQLServer 2000 as I have different
columns with diff. datatypes?

any help is greatly appreciated....

Thanks,
SVP
If you check out Books Online, or here online
(http://msdn.microsoft.com/library/de...brary/en-us/dt
sprog
/dtsppropde_00dv.asp) it tells you what the reference is for these
values.

Here is the ADO reference mentioned, focus on those with DBTYPE_*
in the
description as this is alternative reference above.

http://msdn.microsoft.com/library/de...rary/en-us/ado
270/h
tm/mdcstdatatypeenum.asp

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

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



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