Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Business Intelligence
»
ssis space problem
ssis space problem
Rate Topic
Display Mode
Topic Options
Author
Message
asranantha
asranantha
Posted Wednesday, January 23, 2013 9:26 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 4:28 AM
Points: 162,
Visits: 3,824
Hi friedns i have small doubt in ssis plese tell me how to solve this issuse
i have source table and that table contains data like
id , name , sal
1000 , ravikumar ,20000
120 , venu ,24000--- this row id contains starting 1 space
1400 , ravikuram ,14000 ------this row id contains starting 2 spaces
24 , kamal ,2500 -------thie row id contins staring 4 spaces
so this records data load into another table .how to avoid spaces in ssis .
i use rtrim in derived columns but its not solved . plese tell me how to solve this issue in ssis packages
Post #1410676
Koen Verbeeck
Koen Verbeeck
Posted Thursday, January 24, 2013 12:34 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 2:11 AM
Points: 9,378,
Visits: 6,473
You can use the REPLACE function to replace every space with nothing.
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1410937
RSuman
RSuman
Posted Tuesday, February 12, 2013 12:29 AM
Grasshopper
Group: General Forum Members
Last Login: Monday, February 18, 2013 6:39 AM
Points: 19,
Visits: 74
RTRIM only clears off spaces on the right side of the text. So, you better use LTRIM(RTRIM(ID)) in your source query itself.
Post #1418772
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.