Re: Right Justify amounts
From: Allan Mitchell (allan_at_no-spam.sqldts.com)
Date: 04/09/04
- Next message: Allan Mitchell: "Re: returning a value in stored procedure for dts lookup to use"
- Previous message: Allan Mitchell: "Re: using Yukon DTS with SQL server 2000"
- In reply to: Sue Hoegemeier: "Re: Right Justify amounts"
- Next in thread: DTJ: "Re: Right Justify amounts"
- Reply: DTJ: "Re: Right Justify amounts"
- Reply: Sue Hoegemeier: "Re: Right Justify amounts"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 9 Apr 2004 08:26:16 +0100
In addition to Sue's comments I would add that because you are using FW text
files then maybe you can pad the strings as they go to text file so
Source val = 1234
Destination val needs to be 1234
I would convert to string and then pad the length at the start with " "
until I reached the length of my column
-- -- 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 "Sue Hoegemeier" <Sue_H@nomail.please> wrote in message news:dbrb70hi5acpc3re0cnuv85r12td6ub83k@4ax.com... > Jim, > Basically, you don't. Justification of data is a controlled > through whatever client tool you use to view the data. You > would control display behavior through a client app, not on > a transformation. > > -Sue > > On Thu, 8 Apr 2004 16:22:28 -0500, "Jim Covington" > <jim@firstbankms.com> wrote: > > >I am using DTS in SQL 2000 to download data to a text file. (Fixed Width > >Columns) > > > >All works well but the numbers are all left justified. > > > >How to I right justify in Transformations? > > > >Jim > > >
- Next message: Allan Mitchell: "Re: returning a value in stored procedure for dts lookup to use"
- Previous message: Allan Mitchell: "Re: using Yukon DTS with SQL server 2000"
- In reply to: Sue Hoegemeier: "Re: Right Justify amounts"
- Next in thread: DTJ: "Re: Right Justify amounts"
- Reply: DTJ: "Re: Right Justify amounts"
- Reply: Sue Hoegemeier: "Re: Right Justify amounts"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|