I have a column in my table that has the following values
| loan_no |
| SSS Pensioner Loan (C000000001) |
| SSS SSS Loan (C000000002) |
| SSS Salary Loan (C000000007) |
| SSS PAGIBIG Loan (C000000003) |
How can I select only the values inside the parenthesis to have an outcome like this:
| loan_no |
| C000000001 |
| C000000002 |
| C000000007 |
| C000000003 |
Thank You in advance :) I'm using SQL Server 2008 R2
FROM Table
CHARINDEX will help you Reference
Try This..