Re: Import Data succeeds but doesn't copy data?
- From: "geek-y-guy" <noone@xxxxxxxxxxx>
- Date: Mon, 28 Aug 2006 13:08:02 -0400
<egg-on-face>
I went back to the import data script and looked at it carefully, and I
realized that the tables were being copied, but under a different schema,
so I ended up with a duplicate set of tables that DID have the data in
them :(
</egg-on-face>
My question is, is there any way to alter the schema identity of a table?
IOW: the application is looking for a table with a schema of "dbo" like:
[mydatabase].[dbo].[mytable]
but when I'm copying the database, the tables are being created as:
[mydatabase].[myschema].[mytable]
is there any way to "map" those tables with [myschema] to [dbo]? If I run
the app's script to create the tables, it creates them under [dbo], and if
I try to copy directly to those tables, all SSMS will let me do is create
new tables under schema [myschema]...help?
I figured it out <whew> ... changing the schema table-by-table fixed the
problem.
.
- Follow-Ups:
- Re: Import Data succeeds but doesn't copy data?
- From: Arnie Rowland
- Re: Import Data succeeds but doesn't copy data?
- References:
- Import Data succeeds but doesn't copy data?
- From: geek-y-guy
- Re: Import Data succeeds but doesn't copy data?
- From: Arnie Rowland
- Re: Import Data succeeds but doesn't copy data?
- From: geek-y-guy
- Re: Import Data succeeds but doesn't copy data?
- From: Arnie Rowland
- Re: Import Data succeeds but doesn't copy data?
- From: geek-y-guy
- Import Data succeeds but doesn't copy data?
- Prev by Date: Re: Import Data succeeds but doesn't copy data?
- Next by Date: Re: SQL Management Studio "Open Table" Error
- Previous by thread: Re: Import Data succeeds but doesn't copy data?
- Next by thread: Re: Import Data succeeds but doesn't copy data?
- Index(es):
Relevant Pages
|