Sql server - if

Uso de la condicional if
Revert "Sql server - if"

This reverts commit 998b87529292ce2154f4bd96e066d476b476adcb.