dbTalk Databases Forums  

Transfer SQL Objects Error

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


Discuss Transfer SQL Objects Error in the microsoft.public.sqlserver.dts forum.



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

Default Transfer SQL Objects Error - 01-06-2004 , 12:49 PM






Hello:

I have created a DTS package that copies the objects of 3
SQL 2000 databases to identical databases on another
server. The first 2 databases have no problem. The last
database throws up the following error after the step
runs for awhile:

Microsoft SQL-DMO (ODBC SQL State 21501)
[Microsoft][ODBC SQL Server Driver][SQL Server}
Insert Error: Column name or number of supplied values
does not match table definition.

These databases are mirror images of each other so I'm
clueless as to what the problem is.

Any comments or suggestions would be appreciated.

Brennan




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

Default Re: Transfer SQL Objects Error - 01-06-2004 , 01:03 PM






Have you specified to drop existing objects as well or just move the data?

It suggests you are trying to insert data into a table that has more or less
columns than you are specifying i.e.

INSERT TABLE(col1,co2) VALUES(1,2,3)
OR
INSERT TABLE(col1,col2) VALUES(1)

You may be able to capture which particulr table this error pertains to by
using Profiler

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Brennan" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello:

I have created a DTS package that copies the objects of 3
SQL 2000 databases to identical databases on another
server. The first 2 databases have no problem. The last
database throws up the following error after the step
runs for awhile:

Microsoft SQL-DMO (ODBC SQL State 21501)
[Microsoft][ODBC SQL Server Driver][SQL Server}
Insert Error: Column name or number of supplied values
does not match table definition.

These databases are mirror images of each other so I'm
clueless as to what the problem is.

Any comments or suggestions would be appreciated.

Brennan






Reply With Quote
  #3  
Old   
Brennan
 
Posts: n/a

Default Re: Transfer SQL Objects Error - 01-06-2004 , 01:15 PM



Thank you


Quote:
-----Original Message-----
Have you specified to drop existing objects as well or
just move the data?

It suggests you are trying to insert data into a table
that has more or less
columns than you are specifying i.e.

INSERT TABLE(col1,co2) VALUES(1,2,3)
OR
INSERT TABLE(col1,col2) VALUES(1)

You may be able to capture which particulr table this
error pertains to by
using Profiler

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Brennan" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:01fd01c3d485$e0cf5990$a301280a (AT) phx (DOT) gbl...
Hello:

I have created a DTS package that copies the objects
of 3
SQL 2000 databases to identical databases on another
server. The first 2 databases have no problem. The
last
database throws up the following error after the step
runs for awhile:

Microsoft SQL-DMO (ODBC SQL State 21501)
[Microsoft][ODBC SQL Server Driver][SQL Server}
Insert Error: Column name or number of supplied values
does not match table definition.

These databases are mirror images of each other so I'm
clueless as to what the problem is.

Any comments or suggestions would be appreciated.

Brennan





.


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.