79262675

Date: 2024-12-08 14:45:40
Score: 3
Natty:
Report link

We can first convert varchar or char into INT and then decimal. It will handle both null and empty string. Ex. CONVERT(Decimal(precision, scale), convert(INT, Column))

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hari