Hi,
as topic says, I don't want to return the first two letters in the return values just an example: select companyname from companies returns companyX
Can I write a query that returns panyX instead?
Thanks in advance
Hi,
as topic says, I don't want to return the first two letters in the return values just an example: select companyname from companies returns companyX
Can I write a query that returns panyX instead?
Thanks in advance
Since you don't say what RDBMS you're using, here is an ANSI-compliant answer:
SELECT SUBSTRING(mycolumn,3,CHARACTER_LENGTH(mycolumn))