varchar[(n)] – Default n is 30
I recently found a bug in a stored procedure which was truncating some string values. It turns out that they were being cast to varchar without n being specified. This resulted in them being cast to varchar(30) which was shorter than the input string.