I am newish to SQL to please excuse any ignorance. I have a table, called \'temp\' that contains one Field with one long comma seperated string, thus:
Field1
Ap
Usually sql is used for structured data, and a comma separated string would come from an outside data file. If you have the outside data file available, load the data like this. Or consider exporting your original temp table to a data file if you have to.
bulk insert tbl_fruits from file.csv with fieldterminator=','