Viewing 15 posts - 271 through 285 (of 347 total)
I have done that using substring function.
Thanks,
PSB
January 27, 2011 at 10:47 am
If I use this string below
DECLARE @TestStr VARCHAR(MAX)
SET @TestStr=' 5305 ...
January 27, 2011 at 8:03 am
I will confirm that if I can add persisted columns. Can you please explain how to do that ?
January 26, 2011 at 4:24 pm
I was not the one to create the tables.
January 26, 2011 at 3:43 pm
Thanks All ! It worked.
I used this SP
ALTER PROCEDURE [dbo].[usp_PreInsertRowCountStaging]
AS
BEGIN
DECLARE @RowCount INT
SET @RowCount = ( SELECT COUNT(*) FROM dbo.Staging WHERE DATALENGTH(TransRecord) != 100 )
SELECT @RowCount AS [RowCount]
END
And then mapped it...
January 26, 2011 at 8:40 am
Sometimes I might have this
TRITONRL5000 LRL5114070400714 ...
January 25, 2011 at 2:08 pm
Thanks. When I execute your query, I get two columns for date and then one for description.
I want just onle column for date. Also I is the character and not...
January 25, 2011 at 2:01 pm
Thanks. That worked !
Is there any other way to make the flat file name dynamic ? That is not do any of these and just pick up any file...
January 25, 2011 at 11:51 am
I have to make the filename for the flat file dynamic of the given format. I will have it every hour. Is there a better idea to do that ?
January 25, 2011 at 7:44 am
If you use a XML Sourec editor , you will notice there is a output name drop down in the editor. There you will notice Banking center and AssociateInfo as...
December 8, 2010 at 11:31 am
LEN([Phone]) == 10 ? (DT_STR,12,1252)SUBSTRING([Phone],1,3) + "-" + SUBSTRING([Phone],4,3) + "-" + SUBSTRING([Phone],6,4) : LTRIM(RTRIM([Phone]) worked for me .
Thanks a lot
November 11, 2010 at 2:37 pm
LEN([Phone]) == 10 ? (DT_STR,12,1252)SUBSTRING([Phone],1,3) + "-" + SUBSTRING([Phone],5,3) + "-" + SUBSTRING([Phone],9,4) : LTRIM(RTRIM([Phone]) is inserting as 803-887-84
instead of 803-788-7884 from the number 8037887884
November 11, 2010 at 2:20 pm
Viewing 15 posts - 271 through 285 (of 347 total)