473,395 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to extract data from one database to another.

Hi,

Anybody have an idea of copying data from tables of a database to another
database. It should be a choice to select all tables, single table or
several tables.

For them knowing Oracle it is possible to do it with 'exp', where you can
choose to script the database with or without data. So I am trying to get
alike to MSSQL. The job is to unload data from a database with one
structure to another database with another structure.

Thanks in advance

Best regards
Tom Frank
Jul 20 '05 #1
4 35390

"Tom Frank" <to****@hotmail.com> wrote in message
news:40*********************@dread12.news.tele.dk. ..
Hi,

Anybody have an idea of copying data from tables of a database to another
database. It should be a choice to select all tables, single table or
several tables.

For them knowing Oracle it is possible to do it with 'exp', where you can
choose to script the database with or without data. So I am trying to get
alike to MSSQL. The job is to unload data from a database with one
structure to another database with another structure.

Thanks in advance

Best regards
Tom Frank


If both databases are on the same server, then INSERT ... SELECT ... is
fastest:

INSERT INTO dbo.ThisTable
(col1, col2, ...)
SELECT col1, col2, ...
FROM ThatDatabase.dbo.ThatTable

If the databases are on different servers, then you can check out bcp.exe or
DTS. bcp.exe dumps/loads table data (or the results of a query) to/from a
flat file; DTS is an ETL tool, which is useful for more complex operations,
but the Import and Export Data wizard can quickly create a basic package for
copying data.

Simon
Jul 20 '05 #2
"Tom Frank" <to****@hotmail.com> wrote in message news:<40*********************@dread12.news.tele.dk >...
Hi,

Anybody have an idea of copying data from tables of a database to another
database. It should be a choice to select all tables, single table or
several tables.

For them knowing Oracle it is possible to do it with 'exp', where you can
choose to script the database with or without data. So I am trying to get
alike to MSSQL. The job is to unload data from a database with one
structure to another database with another structure.

Thanks in advance

Best regards
Tom Frank

Hi, use SQL-Scripter to copy your data.
http://www.sqlscripter.com

Best regards,
Thomas
Jul 20 '05 #3
Hello,

I am trying to convert a single code page MS Server database into a unicode
database, using the unicode data types,NCHAR, NVARCHAR, NTEXT. The problem
is that in the original database, indexes and constraints have been defined
on the tables whose configuration needs to be changed. As a result, the
ALTER TABLE command fails. Are there any other alternative solutions?

It would be great if you could help!

Thanks,

Sheetal.
Jul 20 '05 #4
Hello,

I am trying to convert a single code page MS Server database into a unicode
database, using the unicode data types,NCHAR, NVARCHAR, NTEXT. The problem
is that in the original database, indexes and constraints have been defined
on the tables whose configuration needs to be changed. As a result, the
ALTER TABLE command fails. Are there any other alternative solutions?

It would be great if you could help!

Thanks,

Sheetal.
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: mark4 | last post by:
Hello, Are there any utilities to help me extract Content from HTML ? I'd like to store this data in a database. The HTML consists of about 10,000 files with a total size of about 160 Mb....
1
by: caine | last post by:
I want to extract web data from a news feed page http://everling.nierchi.net/mmubulletins.php. Just want to extract necessary info between open n closing tags of <title>, <categoryand <link>....
0
by: napolpie | last post by:
DISCUSSION IN USER nappie writes: Hello, I'm Peter and I'm new in python codying and I'm using parsying to extract data from one meteo Arpege file. This file is long file and it's composed by...
15
by: edwire | last post by:
I'm trying to extract data from 3 textboxes to another line in the same page using the onblur command. My client inputs their 5 digit zipcode and OnBlur fills the city and state from a database...
3
by: tim999 | last post by:
Dear all, I have a question regarding indexes on a data extract database we have - MSSQL2000. Each night a scheduled job: 1. Deletes the indexes 2. Truncates the table data (empties the...
2
by: clai83 | last post by:
mysql and mysqli functions always return strings values, and I understand that I can set the type of the data via the settype function AFTER I extract the data, but is there a way with PHP to extract...
5
by: =?Utf-8?B?aWxy?= | last post by:
Hi This is probably fairly simple but I am newish at programming and was wondering if someone can give me some advice on handling the following. I have an array with a large number of elements...
1
by: veer | last post by:
Hi i am making a program in which i want to extract data from html file . Actually there are two dates on html file i want to extract these dates but the main probleum is that these dates are...
3
by: SteveB | last post by:
I have posted this question in the Visual Basic 2005 and Visual Basic .Net 2005 discussion groups, also. Hi. I am developing an application/web page with VB.Net that will populate a SQL...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.