Viewing 15 posts - 1 through 15 (of 111 total)
Sorry for the late response guys. Jonathan, this is exactly what I needed thank you very much
January 13, 2020 at 8:49 am
the rules are you take the last 4 digits and the preceeding numbers before the string of zeros. so if account is 12340500080076 , I need 123405 concatenated with 0076...
January 3, 2020 at 12:46 pm
Hi gvoshol,
you are correct 8 should not be included. Jonathan's answer work's well until I get to accounts that have the variation like 8 on the last account.
January 3, 2020 at 12:31 pm
Hi Ben, thanks for the response. I have since found out that the last 4 digits are the same in both tables, the variations come from the left side of...
January 3, 2020 at 7:47 am
Hi Johnathan,
you are right the values are of variable length so it is very difficult for me to use the left right functions as they only get me the partial...
December 27, 2019 at 9:09 am
Hi John,
thank you for the feedback. Fixing the data is not an option available to me. So I tried your solution but it runs too long as I'm applying it...
December 23, 2019 at 11:55 am
Thanks John, I was hoping that there is an alternative approach but it looks like I will have to follow your process.
January 25, 2017 at 5:30 am
Thank you that is exactly what I was looking for
April 23, 2014 at 12:08 am
Thanks for the feedback guys.
April 22, 2014 at 6:25 am
HI Guys,
Thanks for the feed back. the max server memory on it is 2147483647. I will try and reduce it and let you know
January 24, 2014 at 3:05 am
Thanks a mil guys for your help. both your answers helped me a lot both on reporting services and on query side as well. I can even use this method...
November 14, 2013 at 10:15 pm
Hi,
Col1 is DT_STR
flat file = 1252 (Ansi - latin I),
Delimited
Header row delimiter {CR}{LF}
non-Unicode
May 14, 2013 at 3:58 am
Hi, here's the full detail
CREATE TABLE [dbo].[Table1](
[Category] [nvarchar](max) NULL,
[EXCO] [nvarchar](max) NULL,
[UNIT Number] [float] NULL,
[Staffcount] [float] NULL
)
Insert Into Table1 ([Category],[EXCO],[UNIT Number], [Staffcount])
Values ('AD', '08', 4514, 60)
Insert Into Table1 ([Category],[EXCO],[UNIT Number], [Staffcount])
Values...
May 14, 2013 at 3:43 am
Yes, that's exactly where the problem is. Those characters have to be part of the output. I believe they are used as delimeters for the system to which I am...
May 14, 2013 at 3:38 am
Hi John,
Source = OLE DB Source
Query =
SELECT
'Category, ' + 'EXCO, ' +'UNIT Number, ' +'Staffcount' as col1
union
SELECT
CAST([Category] AS CHAR(6)) +
CAST([EXCO] AS CHAR(2)) +
CAST([UNIT Number]...
May 14, 2013 at 3:23 am
Viewing 15 posts - 1 through 15 (of 111 total)