John Justus 4 Posted September 17, 2020 Share Posted September 17, 2020 Hi, I wanted to add an additional column to a view with the following calculation CASE WHEN CHARINDEX('_',[Rec Name]) >=1 then left([Rec Name],CHARINDEX('_',[RecName])-1) ELSE 'NA' END Recnew CHARINDEX is not available in TDV. How can I accomplish Thanks, John Link to comment Share on other sites More sharing options...
Deepak Kuletha Posted October 8, 2020 Share Posted October 8, 2020 Use INSTR function Link to comment Share on other sites More sharing options...
John Justus 4 Posted October 8, 2020 Author Share Posted October 8, 2020 Thanks. I used the position function and it worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now