Hi all,
One question about how to t-sql program the following query:
Table 1 I insert 400.000 mobilephonenumbers in a table with two columns. The number to insert and identity id.
Table 2 The second table is called SendList. It is a list with 3columns, a identity id, a List id, and a phonenumberid.
Table 3 Is called ListInfo and contains PK list id. and info about the list.
My question is how should I using T-sql:
Insert large list with phonenumbers to table 1, insert the generated id from the insert of phonenum. in table1, to table 2. AND in a optimized way. It cant take long time, that is my problem.
Greatly appreciated if someone could guide me on this one.
Thanks
Sebastian