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

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 LEFT Function?

Author  Topic 

Brittney10
Posting Yak Master

154 Posts

Posted - 2013-04-17 : 10:59:22
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

15732 Posts

Posted - 2013-04-17 : 11:20:22
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
   

- Advertisement -