![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I want to export data from SQL server 2000 to text file. I am using Transform Data Task for the same. I am facing peiculiar problem in exporting columns which have 'bit' data type. In text files, the values for these columns appear as True/False |
|
How can I ensure presence of 0/1 instead of False/True for columns with bit datatype in destination text file? Thanks, Ajit |
#3
| |||
| |||
|
|
Hi I want to export data from SQL server 2000 to text file. I am usin Transform Data Task for the same I am facing peiculiar problem in exporting columns which have 'bit' dat type. In text files, the values for these columns appear as True/Fals |
|
How can I ensure presence of 0/1 instead of False/True for columns wit bit datatype in destination text file Thanks Aji |
#4
| |||
| |||
|
|
Yes, converting helps. Only problem is for every bit field, select query needs to be modified. I was wondering if DTS gives control so that you make change at one place and bit fields get exported as 0/1 only. Thanks Allan for your reply. Regards, Ajit ----- Allan Mitchell wrote: ----- How about converting to integer or string first? -- ---------------------------- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) 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 "Ajit" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:3B49DFCB-2410-4330-AD59-A1BDE9D8BFB1 (AT) microsoft (DOT) com... Hi, I want to export data from SQL server 2000 to text file. I am using Transform Data Task for the same. I am facing peiculiar problem in exporting columns which have 'bit' data type. In text files, the values for these columns appear as True/False instead of 1/0. How can I ensure presence of 0/1 instead of False/True for columns with bit datatype in destination text file? Thanks, Ajit |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |