I just changed an application which was using hard coded t-sql within it to write to a table, including a binary field. I swapped that out for a stored procedure. Now I've just discovered the SSN field is all zeros except for a one at the beginning. How do I get that value to correctly get stored????
The data type in the sproc is specified as binary. I just changed it to binary(154) since that is the size of the field in the table - and that did not help. I now have this code in production and need to fix it fast. I don't want to revert to the hard coded string because that had it's own problem that the sproc fixed.
The data type in the sproc is specified as binary. I just changed it to binary(154) since that is the size of the field in the table - and that did not help. I now have this code in production and need to fix it fast. I don't want to revert to the hard coded string because that had it's own problem that the sproc fixed.