----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Arian_Intellect Message 2 in Discussion u can use or else u can create a split function which create a dummy table and the data populated Let me know if u want the function Shaju Thomas e-Cosmos Technologies Ltd., Mail: [EMAIL PROTECTED] Phone(Off) : 51217038/39 Extn: 132 Mobile: +91 98455 21794 ----- Original Message ----- From: DIGITAL PIRATE To: BDOTNET Sent: Tuesday, October 28, 2003 11:36 AM Subject: SQL - Transferring data from one table to another !!! ----------------------------------------------------------- New Message on BDOTNET ----------------------------------------------------------- From: DIGITAL PIRATE Message 1 in Discussion Hi Sql gurus, Situation:- I have a table(eventtable) with fields, eventid int, speakerid varchar(500) etc., data sample: eventid speakerid etc., 1 2,30,67 2 5,8,19 Note: speakerid fields contains id's from another table(speakers) seperated by comma. Speaker table structure is, id int, speakername varchar(100) Problem:- I created a new table to hold speakerids associated with each eventid id int, eventid int, speakerid int Now i wanted to transfer data from eventable(first one) to the new table i created. In the first table speakerids are comma separated and i need to split it and insert it into the new table with its associated eventid. I am wondering if i must use cursors... to fetch each row and then split speaker fields. Correct me if i am wrong and let me know your suggestions Shamir ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED] ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
