SQL Server Forums
Profile | Register | 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?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Brittney10
Posting Yak Master

USA
145 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
15635 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  
 New 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.04 seconds. Powered By: Snitz Forums 2000