I need a help to write a procedure that check if policyno as a parameter being passed to the procedures is starts with a letter( it could be any letters) or not.
For example policynumber could be ‘K12345678’ or ‘12345’
Hi.
What exactly do you mean by the phrase " it could be any letters", any character that is not a digit? So also, for example, UNICODE characters?
You should be more specific about this.
Also, unless yours is a school problem, a function would be more appropriate than a stored procedure.
So when I say any letter thats mean the format of the parameter could be ‘A123456’ or ‘B123456’ so on, up to Z. Basically policy no will start with one letter followed by numbers. I hope it make sense?