I have this string as my input string:
12345-45678-543245
So in my database table I want to insert these dash separated strings as followed:
   part_id  |  Part numbers
------------------------------
   1        |     12345
   2        |     45678
   3        |    543245
I have no idea how to do this? Maybe some hints and advices would help me.