I have a query which adds or removes zeros from ID.
SELECT
LEFT(STUFF(SystemID +
REPLICATE('0', 9), 7, 0, REPLICATE('0', 9 - LEN(SystemID))), 9) as OBJECT
FROM
Products
So results will be something like this:
ID1230034
How can I remove 'ID' using this query? So it should be:
1230034
Thanks for all help:)