dbTalk Databases Forums  

DTS Data Types

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


Discuss DTS Data Types in the microsoft.public.sqlserver.dts forum.



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

Default DTS Data Types - 03-05-2004 , 08:26 AM






I have written some vb based on the code created by SQL Server 2000 which loops via an xml file containing column info and does imports to several different tables in my database. The problem is, I now need to generate the XML file using SQL
I have worked out what most of the information DTS needs to do the import but I don't know what the Flags property of a column is for
Eg oColumn.Flags = 3

Can someone please explain this to me

Also, the integer values of the datatype don't match up with the values used in syscolumns. Does anyone have a list of these and how they map to the SQL datatypes

Thanks a lot...

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Data Types - 03-05-2004 , 08:37 AM






You can find information about the Flags property of the column object by
looking at BOL

Columns Objects | Column Object (DTS Programming) | Properties

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Gary Ewen" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have written some vb based on the code created by SQL Server 2000 which
loops via an xml file containing column info and does imports to several
different tables in my database. The problem is, I now need to generate the
XML file using SQL.
Quote:
I have worked out what most of the information DTS needs to do the import
but I don't know what the Flags property of a column is for.
Eg oColumn.Flags = 32

Can someone please explain this to me?

Also, the integer values of the datatype don't match up with the values
used in syscolumns. Does anyone have a list of these and how they map to the
SQL datatypes?
Quote:
Thanks a lot...



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.