dbTalk Databases Forums  

Export database to a txt file.

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Export database to a txt file. in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Stanko Milosev
 
Posts: n/a

Default Export database to a txt file. - 02-13-2005 , 12:38 PM






Greetings from Serbia,
as subject saids, does anyone had expirience with it?

I need to find a way to export a database, with all tables, and relations if
it is possible to a one or more txt files. This is my first task in this new
company (http://www.netcomp.co.yu/) and only idea which I have to export
table by table to txt file.

Thank you in advance,
Stanko.



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Export database to a txt file. - 02-13-2005 , 12:46 PM






If you only want to take the structure then you can look to SQLDMO

http://www.nigelrivett.net/#DMO



--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote

Quote:
Greetings from Serbia,
as subject saids, does anyone had expirience with it?

I need to find a way to export a database, with all tables, and relations if
it is possible to a one or more txt files. This is my first task in this new
company (http://www.netcomp.co.yu/) and only idea which I have to export
table by table to txt file.

Thank you in advance,
Stanko.





Reply With Quote
  #3  
Old   
Stanko Milosev
 
Posts: n/a

Default Re: Export database to a txt file. - 02-13-2005 , 01:08 PM



I need data too. I downloaded Bulk export task and example to export all
tables to csv from http://www.sqldts.com but I get error [SQL-DMO]The Bulk
Copy execution failed.

Thank you,
Stanko.

"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote

Quote:
Greetings from Serbia,
as subject saids, does anyone had expirience with it?

I need to find a way to export a database, with all tables, and relations
if
it is possible to a one or more txt files. This is my first task in this
new
company (http://www.netcomp.co.yu/) and only idea which I have to export
table by table to txt file.

Thank you in advance,
Stanko.





Reply With Quote
  #4  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Export database to a txt file. - 02-13-2005 , 03:10 PM



If you want all the tables and data then why not simply do a backup. You
can then restore that to another server and you will have everything.

--
Andrew J. Kelly SQL MVP


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote

Quote:
Greetings from Serbia,
as subject saids, does anyone had expirience with it?

I need to find a way to export a database, with all tables, and relations
if
it is possible to a one or more txt files. This is my first task in this
new
company (http://www.netcomp.co.yu/) and only idea which I have to export
table by table to txt file.

Thank you in advance,
Stanko.





Reply With Quote
  #5  
Old   
Stanko Milosev
 
Posts: n/a

Default Re: Export database to a txt file. - 02-13-2005 , 03:36 PM



We need data to be transfered, smallest possible, because connections here
are terrible, so that remote transfer be fastest as possible.


Thank you, once again, for your time,
Stanko.

"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
If you want all the tables and data then why not simply do a backup. You
can then restore that to another server and you will have everything.

--
Andrew J. Kelly SQL MVP


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote in message
news:%23rAQatfEFHA.2508 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Greetings from Serbia,
as subject saids, does anyone had expirience with it?

I need to find a way to export a database, with all tables, and
relations
if
it is possible to a one or more txt files. This is my first task in this
new
company (http://www.netcomp.co.yu/) and only idea which I have to export
table by table to txt file.

Thank you in advance,
Stanko.







Reply With Quote
  #6  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Export database to a txt file. - 02-13-2005 , 03:47 PM



As Andrew has rightly suggested Backup and Restore may be the best and almost certainly the least complicated way of doing this.

Take a look at SQLLiteSpeed as well for compressing backups.



--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote

Quote:
We need data to be transfered, smallest possible, because connections here
are terrible, so that remote transfer be fastest as possible.


Thank you, once again, for your time,
Stanko.

"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote in message
news:#MSG4BhEFHA.936 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
If you want all the tables and data then why not simply do a backup. You
can then restore that to another server and you will have everything.

--
Andrew J. Kelly SQL MVP


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote in message
news:%23rAQatfEFHA.2508 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Greetings from Serbia,
as subject saids, does anyone had expirience with it?

I need to find a way to export a database, with all tables, and
relations
if
it is possible to a one or more txt files. This is my first task in this
new
company (http://www.netcomp.co.yu/) and only idea which I have to export
table by table to txt file.

Thank you in advance,
Stanko.









Reply With Quote
  #7  
Old   
Michael Clifford
 
Posts: n/a

Default Re: Export database to a txt file. - 02-14-2005 , 07:03 AM



One compromise is to conduct a SQL backup to a file, then zip it with the
Maximum option. This may be the best approach. There's a high degree of
compression that can be realized.

Michael


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote

Quote:
We need data to be transfered, smallest possible, because connections here
are terrible, so that remote transfer be fastest as possible.


Thank you, once again, for your time,
Stanko.

"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote in message
news:#MSG4BhEFHA.936 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
If you want all the tables and data then why not simply do a backup.
You
can then restore that to another server and you will have everything.

--
Andrew J. Kelly SQL MVP


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote in message
news:%23rAQatfEFHA.2508 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Greetings from Serbia,
as subject saids, does anyone had expirience with it?

I need to find a way to export a database, with all tables, and
relations
if
it is possible to a one or more txt files. This is my first task in
this
new
company (http://www.netcomp.co.yu/) and only idea which I have to
export
table by table to txt file.

Thank you in advance,
Stanko.









Reply With Quote
  #8  
Old   
Stanko Milosev
 
Posts: n/a

Default Re: Export database to a txt file. - 02-14-2005 , 06:09 PM



I asked about backup, but I get answer that still database is too big, and
it take to long to be sent, is there maybe another way?

Stanko.

"Michael Clifford" <mjclifford (AT) hotmail_nospam (DOT) com> wrote

Quote:
One compromise is to conduct a SQL backup to a file, then zip it with the
Maximum option. This may be the best approach. There's a high degree of
compression that can be realized.

Michael


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote in message
news:euVXpQhEFHA.3416 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
We need data to be transfered, smallest possible, because connections
here
are terrible, so that remote transfer be fastest as possible.


Thank you, once again, for your time,
Stanko.

"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote in message
news:#MSG4BhEFHA.936 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
If you want all the tables and data then why not simply do a backup.
You
can then restore that to another server and you will have everything.

--
Andrew J. Kelly SQL MVP


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote in message
news:%23rAQatfEFHA.2508 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Greetings from Serbia,
as subject saids, does anyone had expirience with it?

I need to find a way to export a database, with all tables, and
relations
if
it is possible to a one or more txt files. This is my first task in
this
new
company (http://www.netcomp.co.yu/) and only idea which I have to
export
table by table to txt file.

Thank you in advance,
Stanko.











Reply With Quote
  #9  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Export database to a txt file. - 02-14-2005 , 11:18 PM



If you want ALL the data then you don't have much of a choice. If you break
it down and send the data over one table at atime it will take longer than
copying a backup. There is no magic here. Either you need all the data or
you don't. As others have suggested there are products that will compress
the backup (such as SQL LiteSpeed from www.imceda.com) down to about 20% of
the original size. That will make the process much faster.

--
Andrew J. Kelly SQL MVP


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote

Quote:
I asked about backup, but I get answer that still database is too big, and
it take to long to be sent, is there maybe another way?

Stanko.

"Michael Clifford" <mjclifford (AT) hotmail_nospam (DOT) com> wrote in message
news:#AJSNWpEFHA.2608 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
One compromise is to conduct a SQL backup to a file, then zip it with the
Maximum option. This may be the best approach. There's a high degree of
compression that can be realized.

Michael


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote in message
news:euVXpQhEFHA.3416 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
We need data to be transfered, smallest possible, because connections
here
are terrible, so that remote transfer be fastest as possible.


Thank you, once again, for your time,
Stanko.

"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote in message
news:#MSG4BhEFHA.936 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
If you want all the tables and data then why not simply do a backup.
You
can then restore that to another server and you will have everything.

--
Andrew J. Kelly SQL MVP


"Stanko Milosev" <stanko@-no-s-pa-mmilosev.co.yu> wrote in message
news:%23rAQatfEFHA.2508 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Greetings from Serbia,
as subject saids, does anyone had expirience with it?

I need to find a way to export a database, with all tables, and
relations
if
it is possible to a one or more txt files. This is my first task in
this
new
company (http://www.netcomp.co.yu/) and only idea which I have to
export
table by table to txt file.

Thank you in advance,
Stanko.













Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.