Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Transfering data between servers

Author  Topic 

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-04-19 : 13:50:23
Gurus
Can you please tell me what all options do we have in which we can transfer datas between servers or how can we transfer databases between servers.
I dnt want to use backup and restore and Attach and dettach.
Please advice
Regards
Nitin

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-04-19 : 13:51:17
quote:

I dnt want to use backup and restore and Attach and dettach.



Those are the best options to transfer databases between servers! Why don't you want to use them?

Tara Kizer
aka tduggan
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-04-19 : 14:14:48
hi
Actually i was asked this question in the interview in one of the top IT companies in india.Do you have any idea?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-04-19 : 14:18:08
Tell them that those are the best options! Any other option would be too time consuming. The other options would be DTS or bcp along with scripting of the objects. Using these options would be mean more significant downtime for the users that the backup/restore or detach/attach approaches.

Tara Kizer
aka tduggan
Go to Top of Page

kpsreenath
Yak Posting Veteran

52 Posts

Posted - 2006-04-19 : 14:18:51
Transfering data can be done using dts packages as well

Thanks
Sree
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-04-19 : 14:20:55
hi
tell me one thing,how can i use DTS in this.Is there a task for this?
Regards
Nitin
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-04-19 : 14:26:18
Import/Export wizard would be easiest rather than creating a DTS package. It uses DTS but walks you through the steps.

Tara Kizer
aka tduggan
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-04-19 : 14:29:18
hmmm..anything else?do you have information about linked servers?can they help me in anyway?
Regards
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-04-19 : 14:31:30
I wouldn't use linked servers. If you want information about them, do some reading in SQL Server Books Online.

Tara Kizer
aka tduggan
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-04-19 : 14:41:08
yeah i am doing that.Tara any information how data can be transfered using insert scripts?
Regards
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-04-19 : 14:47:05
That would be the slowest way to transfer data. You can use this to generate the scripts though:

http://vyaskn.tripod.com/code/generate_inserts.txt

Tara Kizer
aka tduggan
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-04-19 : 14:49:38
allrite,one more thing if there are 100 dts on my server and i want to find one particular string,how will i go about it?
Regards
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-04-19 : 14:51:21
I don't understand your question.

Tara Kizer
aka tduggan
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-04-19 : 14:57:36
Suppose there are 100 DTS on my server and i want to find a particular thing in the packages,i dnt wanna open every package and check
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-04-19 : 15:06:23
I gues you could check the packagedata column in the msdb.dbo.sysdtspackages, but I don't think that would get you very far. I'd probably save the files to a VB file and do my search from there. Then I'd go back in Enterprise Manager and open the DTS package that corresponded to my search in VB. I try to avoid DTS as much as possible as it complicates things. I like to write T-SQL, bcp commands, batch files, etc... instead of using DTS. But that's my preference. Your mileage may vary.

Tara Kizer
aka tduggan
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-04-19 : 15:13:35
hmm.thanks for all the answers tara.
Regards
Go to Top of Page
   

- Advertisement -