Skip to content

Instantly share code, notes, and snippets.

@jaypsan
Last active December 13, 2022 13:08
Show Gist options
  • Save jaypsan/5c8e46bc6611cb5d3baaff9c2878bfc2 to your computer and use it in GitHub Desktop.
Save jaypsan/5c8e46bc6611cb5d3baaff9c2878bfc2 to your computer and use it in GitHub Desktop.
SQLServer: padding for selecting CPF column
REPLICATE('0', 11 - LEN(table.column)) + table.column
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment