News for hackers. Stuff that matters.
Re:Ask HN: What horrifying and/or terrible things have you s... by adolfoabegg on Saturday June 21, 2014 @04:41PM (#7926011)
It was 2005, I had to execute an Oracle function from c#. The PL/SQL programmer that created the package/function told me that the function will return a single string.

The returned string had the info a customer concatenated, like this:

    Pete      McDonald  5519500303
The instructions - to extract the data - were:

  The indexes from 0 to 9 will contain the name (please trim the trailing spaces)
  The indexes from 10 to 19 will contain the last name (same, please trim)
  20 to 21 will contain the age of the customer
  the rest of the string contains the customer's birthday

EDIT: formatting

There are no comments on this comment yet.