79593458

Date: 2025-04-26 00:09:09
Score: 2.5
Natty:
Report link

Now with SQL Server 2025 length is optional you can:

https://learn.microsoft.com/en-us/sql/t-sql/functions/substring-transact-sql?view=sql-server-ver16

DECLARE @string varchar(10) = 'Y1223456883002' 
SELECT SUBSTRING(@string, LEN(@string)-2)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LaReyes314