• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Customer ID: strictly 8 digits?

 
chris bajada
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I was wondering whether the customer ID of the B&S assignment should be strictly 8 digits, or if you can enter a number with less then 8 digits such as "42".

The assignment states that the owner of the record is an "id value (an 8 digit number)"

Any comments on this ?

Thanks!
 
Lucy Hummel
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chris,

My architecture allows digits from that have less then 8 digits.

So 42 would be in my case accepted.
 
Muhammad Shafique
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I padded leading zeros, "42" in my case "00000042"

Shafique
 
chris bajada
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your replies. Padding with leading zeros seems a pretty good idea to keep all numbers in the same format, I think i'll do the same.

Cheers,

Chris
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic