Viewing 6 posts - 1 through 6 (of 6 total)
yes these files are genterated by DTS package to a .txt file
it is generating the file from one table with two column's in it
in that one column is a...
July 2, 2008 at 1:15 pm
iam using something like this but would like to know if there is a better way of doing it
DECLARE @ele money
SET @ele = 98.7670
select REVERSE(SUBSTRING(REVERSE(CONVERT(VARCHAR(50),convert(decimal(25,4),@ele))), PATINDEX('%[1-9]%', REVERSE(CONVERT(VARCHAR(50),convert(decimal(25,4),@ele)))),50))
February 26, 2008 at 11:28 am
let me put it this way
T1 T2 T3
90 9 5
90 0 3
90 1 8
90 2 2
91 3 4
91 4 1
91 5 6
91 6 7
91 8 2
92
92...........
output should be
OUTPUT:
OUTPUT:
T1 T2 T3
90...
February 20, 2008 at 8:55 am
thanks for your response i did post the query againg as v2
July 9, 2006 at 6:14 pm
Viewing 6 posts - 1 through 6 (of 6 total)