Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Right(Column)?? - RESOLVED
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Brittney10
Posting Yak Master

USA
154 Posts

Posted - 11/14/2012 :  13:41:42  Show Profile  Reply with Quote
I have a column of data that I'm trying to import into a SQL field that has a length of 1000. However, the data that is being sent may have columns with 1000+ characters....which would cause truncation. Since this is a note field, what i need to be able to do is only take the most recent 1000 characters going from Right to Left. How do i do this in SSIS? Thanks for the help/suggestions ahead of time.

Edited by - Brittney10 on 11/14/2012 14:31:03

Brittney10
Posting Yak Master

USA
154 Posts

Posted - 11/14/2012 :  14:30:46  Show Profile  Reply with Quote
At first i wasn't getting the right results...human error i believe, but a simple RIGHT([COLUMN], 1000) works.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000