Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need to import & map data , is a cursor the best way?

Status
Not open for further replies.

bebblebrox

IS-IT--Management
Aug 9, 2004
39
0
0
US
Hello,

I have a ton of data that i need to import from one table to another database where the data will be split across multiple tables. additionally, the data needs to converted because whereas in the one table a column may be text, on the insert an id for that text value will be inserted.

In Oracle, I would use a cursor. Is this how I should proceed in SQL Server? I realize that cursors generally = bad, but since this is a one time shot, I'm not overly concerned with the load it will put on the server.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top