I have data which is currently all in one field in my table. I would like to seperate this data into a new table by splitting up the text so that it resides in the correct field in the new table. So for eg I have the author, name of book, year it was published etc all in one field in my table, but would like to seperate it into different fields in my new table so that the text which has the author goes in the author field of my new table. There is a fullstop which seperates the author and the title of the book and a ',' that seperates title of book and year it was published and the year the book is published is always in brackets. Is there a sql command where I can seperate the data and input it into my new table i.e. select the text from the first char to the . so that i can do an insert.
lookup the SPLIT command that should get you started.
hope this help
See clear as mud
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Progaming environment: Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010 VB based on my own environment: vb6 sp5 ASP based on my own environment: 5.6 VB-NET based on my own environment started 2007 SQL-2005 based on my own environment started 2008 MYLE YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.