all groups > sql server dts > october 2006 >
You're in the

sql server dts

group:

ODBC Imports of entire Database


ODBC Imports of entire Database Don
10/10/2006 9:13:01 AM
sql server dts:
I would like to find a way of automating a Database copy and update from an
existing server. I am only able to connect via ODBC to old server to read
and cannot modify anything on the old server.
Is there a way with SSIS to copy that database?
I have as yet been unable to use SQL Management to view a list of tables
even, but with MS Query (in office) I have been able to list all of the
tables. I would like to pull all of this data into SQL2005 in order to do
some analysis on it but just don't seem to see any answer other than setting
up a package for each and every table. Any help would be GREATLY appreciated
as I am still new to the SQL Admin world.

RE: ODBC Imports of entire Database v-xuwen NO[at]SPAM online.microsoft.com
10/11/2006 1:42:46 AM
Hi ,

My understanding of your issue is: You want to use dts to copy data from
another SQL database to current Sql 2005.

As you know, in SQL 2005, we have SSIS. You can use Import and Export
Wizard to achieve your purpose.

How to: Start the SQL Server Import and Export Wizard
http://msdn2.microsoft.com/en-us/library/ms140052.aspx

Hope this helps.


Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
[quoted text, click to view]
RE: ODBC Imports of entire Database Don
10/11/2006 6:56:01 AM
Using SSIS it does not give me the option of importing the entire database.
It gives me a chance to script only and I do not know just how to get the
entire database listed and create the appropriate tables based on the input.
Hopefully I am more clear this time.
What I need to do using SSIS is:
Get the list of tables and import all of them creating tables in SQL if
needed.
I also need to be able to update the tables daily preferrably using an SSIS
package so that we can maintain the SQL base and not have to recreate it at
each use.

[quoted text, click to view]
RE: ODBC Imports of entire Database Don
10/11/2006 7:04:02 AM
I am using SSIS but it does not allow me to choose by tables. The only
option I can bring up is to create a query to bring in the information.
I need to be able to pull all of the tables from the ODBC source and update
them at will or scheduled updates.

[quoted text, click to view]
RE: ODBC Imports of entire Database v-xuwen NO[at]SPAM online.microsoft.com
10/12/2006 12:00:00 AM
Hello,

-- Get the list of tables and import all of them creating tables in SQL if
needed.

When you run Import and Export Wizard, it will enable you to import the
entire database from source server. I have tested on my machine. Check the
article:

How to: Start the SQL Server Import and Export Wizard
http://msdn2.microsoft.com/en-us/library/ms140052.aspx

Creating Packages Using the SQL Server Import and Export Wizard
http://msdn2.microsoft.com/en-us/library/ms141209.aspx

-- I also need to be able to update the tables daily preferrably using an
SSIS package so that we can maintain the SQL base and not have to recreate
it at each use.

When you created a package, you can schedule it to run any time you want.

How to: Run a Package Using a SQL Server Agent Job
http://msdn2.microsoft.com/en-us/library/ms139805.aspx

Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
[quoted text, click to view]
RE: ODBC Imports of entire Database Don
10/12/2006 11:58:02 AM
When I run the wizard it does not give me the option to copy the entire
database. It disables that option. What is the best way to list all of the
tables so that I can script an import? I am using the ODBC .Net connector to
connect to the other database.

I can schedule SSIS packages but can't get them to just import the data
without scripting table by table.

Please Help.


[quoted text, click to view]
RE: ODBC Imports of entire Database v-xuwen NO[at]SPAM online.microsoft.com
10/13/2006 12:00:00 AM
Hi,

In every database there is a system view called sys.tables. You can select
all tables from this view.

Thanks.

Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
[quoted text, click to view]
<nOK2XaN7GHA.1860@TK2MSFTNGXA01.phx.gbl>
<D13168BF-FAE6-4067-B2B1-225D7BCB0B81@microsoft.com>
<68D0ged7GHA.3352@TK2MSFTNGXA01.phx.gbl>
[quoted text, click to view]
AddThis Social Bookmark Button