I want to substring the seventh and eighth caractere from string by starting on the right
I want to make dynamic this try :
select substring(right(P.Name,8), 1,2)
How do you properly write a Right Substring function SQL? What I am doing is not working.