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)
 LEFT Function?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Brittney10
Posting Yak Master

USA
154 Posts

Posted - 04/17/2013 :  10:59:22  Show Profile  Reply with Quote
Apparently SSIS 2005 doesn't have a LEFT function, but it has a RIGHT function? I'm trying to remove the last digit of a string. For example I need to remove the asterisk from an example value of 1a35423*, so it would become 1a35423.

Thanks for the help in advance.

robvolk
Most Valuable Yak

USA
15732 Posts

Posted - 04/17/2013 :  11:20:22  Show Profile  Visit robvolk's Homepage  Reply with Quote
You can use the SUBSTRING() function with 1 as the start position. If you need to remove all asterisks, you could also use REPLACE().
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.03 seconds. Powered By: Snitz Forums 2000