Re: Insert Error: Column name or number of supplied values does no
- From: "Dutchieboy" <jang-donotspammme@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 30 Jul 2005 09:06:07 -0700
Hi Narayana , thanks for answering my post.
I did use a log file which gets the following:
Step Error Source: Microsoft SQL-DMO (ODBC SQLState: 21S01)
Step Error Description:[Microsoft][ODBC SQL Server Driver][SQL Server]Insert
Error: Column name or number of supplied values does not match table
definition.
Step Error code: 800400D5
Step Error Help File:SQLDMO80.hlp
Step Error Help Context ID:1131
So, that does not tell me where it is failing.
As for a mismatch between prod and dev, when I run the database import
wizard, I specify to drop the destination tables first - so how can there be
a mismatch?
As to running interactively, if you don't mean using the database wizard, I
don't know how to do that.
--
Jan
"Narayana Vyas Kondreddi" wrote:
> This error has nothing to do with corruption, but just indicating that the
> table structures are different between your prod and dev SQL Servers.
>
> Can you run the DTS package interactively and see on which table you are
> failing?
>
> Or can you add a log file for the package and capture the output?
>
> You could also use Profiler to see where your package is failing.
> --
> HTH,
> Vyas, MVP (SQL Server)
> SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/
>
>
>
> "Dutchieboy" <jang-donotspammme@xxxxxxxxxxxxxxxxxxxx> wrote in message
> news:B4B2EB55-091D-4088-A5C9-C6EE908BAE6E@xxxxxxxxxxxxxxxx
> >
> > I get the above error when I run a very simple DTS package to copy a
> > database from my production server to my development server. This has
> > always
> > worked in the past. Unfortunately, it does not tell me which table is
> > causing
> > the error (and 200 tables, so I don't want to run it for each one). Using
> > the
> > database import/export wizard to do the copying gives the same problem.
> >
> > I ran dbcc checkdb, but that reports no problems and did not help. Any
> > suggestions?
> >
> > Thanks
> > --
> > Jan
>
>
>
.
- References:
- Insert Error: Column name or number of supplied values does not ma
- From: Dutchieboy
- Re: Insert Error: Column name or number of supplied values does not ma
- From: Narayana Vyas Kondreddi
- Insert Error: Column name or number of supplied values does not ma
- Prev by Date: Re: SSIS - Column Iteration in Script Component
- Next by Date: Re: SSIS - Column Iteration in Script Component
- Previous by thread: Re: Insert Error: Column name or number of supplied values does not ma
- Next by thread: RE: Insert Error: Column name or number of supplied values does not ma
- Index(es):
Relevant Pages
|