Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Perhaps it makes sense to convert the column to int with the ZEROFILL parameter to automatically fill with zeros.
If it is important with varchar and you really have varchar and you are passing a string, then it is highly likely that conversion to int takes place, and most likely somewhere in the model layer.
1. The request in the example is not working at all.
2. Are there no zeros when selecting in scripts, or does it cut right when pasting?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question