dbTalk Databases Forums  

Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'ClGeClie'

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


Discuss Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'ClGeClie' in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
matteus
 
Posts: n/a

Default Re: Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalidcolumn name 'ClGeClie' - 07-07-2008 , 02:44 AM






On Jul 4, 11:13 pm, "Christiano" <cdo... (AT) digiexpress (DOT) com.br> wrote:
Quote:
thank you very much....

just one more thing...

the application that uses that database is 24-7 on...

can i somehow make this modification on the fly during the dts copy???

tks in advance...
christiano.

"matteus" <matteog... (AT) gmail (DOT) com> escreveu na mensagemnews:62b79657-0137-46a1-8a2e-f36ddb915fbb (AT) k30g2000hse (DOT) googlegroups.com...

On Jul 4, 3:56 pm, "Christiano" <cdo... (AT) digiexpress (DOT) com.br> wrote:
I have 3 tables:
Clientes
Gerenciadoras
ClientesGerenciadoras..

The first lists all the clientes
The second the companies
The 3rd is a relation table n:n that crosses those 2 other tables
with
foreign keys

When i'm copying these with DTS (with the Copy SQL Server Objects
method),
at 96% it crashes, returning the message in the title...
The tables are all consistent... all data are valid...

what can I do to solve this???

the code generate codes and DTS config are following:

------------------------------

CREATE TABLE [dbo].[Gerenciadoras](
[GereCodi] [int] IDENTITY(1,1) NOT NULL,
[GereNome] [varchar](50) COLLATE Latin1_General_CI_AS NULL,
CONSTRAINT [PK_GereCodi] PRIMARY KEY CLUSTERED
(
[GereCodi] ASC
) ON [PRIMARY]
) ON [PRIMARY]

--------------------------------

CREATE TABLE [dbo].[Clientes](
[ClieCodi] [int] IDENTITY(1,1) NOT NULL,
[ClieNome] [varchar](100) COLLATE SQL_Latin1_General_CP850_CI_AI NULL,
[ClieCNPJ] [varchar](20) COLLATE Latin1_General_CI_AS NULL,
[cliegere] [int] NULL,
CONSTRAINT [PK_ClieCodi] PRIMARY KEY CLUSTERED
(
[ClieCodi] ASC
) ON [PRIMARY]
) ON [PRIMARY]

------------------------------

CREATE TABLE [dbo].[ClientesGerenciadoras](
[ClGeClie] [int] NULL,
[ClGeGere] [int] NULL
) ON [PRIMARY]

GO
USE [EscoltaOnline]
GO
ALTER TABLE [dbo].[ClientesGerenciadoras] WITH CHECK ADD FOREIGN
KEY([ClGeClie])
REFERENCES [dbo].[Clientes] ([ClieCodi])
GO
ALTER TABLE [dbo].[ClientesGerenciadoras] WITH CHECK ADD FOREIGN
KEY([ClGeGere])
REFERENCES [dbo].[Gerenciadoras] ([GereCodi])

------------------

DTS:
Create destination objects with include dependent objects and extended
properties checked (already tried with drop first check and unchecked),
copy data replacing ,
use colation,
copy all objects,
not using default options, instead i'm using the 1st and 3rd security
options.

Hi Christiano,
try to UNCHECK the 'Copy primary and Foreign Keys' Option of the copy
sql objects task, delete the costraints (pk and fk) and set the pk
field of the two entity-tables (customers and companies) to a simple
int field (i mean trasfomr it form an identity to a normal int)

If it works then attach an execute sql task to rebuild your
constraints and original table structure.
Hope this helps!
M.
no, you cannot modify a dts while it's running.
I gave you a hint on which could be the cause of dts failure... if
it's fail because of pk and fk i would rather investigate to find
another way to move data. i would never use this process (removing pk
and fk constraints and creating them after the data has moved) in
production.
Bye,
M.


Reply With Quote
  #22  
Old   
matteus
 
Posts: n/a

Default Re: Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalidcolumn name 'ClGeClie' - 07-07-2008 , 02:44 AM






On Jul 4, 11:13 pm, "Christiano" <cdo... (AT) digiexpress (DOT) com.br> wrote:
Quote:
thank you very much....

just one more thing...

the application that uses that database is 24-7 on...

can i somehow make this modification on the fly during the dts copy???

tks in advance...
christiano.

"matteus" <matteog... (AT) gmail (DOT) com> escreveu na mensagemnews:62b79657-0137-46a1-8a2e-f36ddb915fbb (AT) k30g2000hse (DOT) googlegroups.com...

On Jul 4, 3:56 pm, "Christiano" <cdo... (AT) digiexpress (DOT) com.br> wrote:
I have 3 tables:
Clientes
Gerenciadoras
ClientesGerenciadoras..

The first lists all the clientes
The second the companies
The 3rd is a relation table n:n that crosses those 2 other tables
with
foreign keys

When i'm copying these with DTS (with the Copy SQL Server Objects
method),
at 96% it crashes, returning the message in the title...
The tables are all consistent... all data are valid...

what can I do to solve this???

the code generate codes and DTS config are following:

------------------------------

CREATE TABLE [dbo].[Gerenciadoras](
[GereCodi] [int] IDENTITY(1,1) NOT NULL,
[GereNome] [varchar](50) COLLATE Latin1_General_CI_AS NULL,
CONSTRAINT [PK_GereCodi] PRIMARY KEY CLUSTERED
(
[GereCodi] ASC
) ON [PRIMARY]
) ON [PRIMARY]

--------------------------------

CREATE TABLE [dbo].[Clientes](
[ClieCodi] [int] IDENTITY(1,1) NOT NULL,
[ClieNome] [varchar](100) COLLATE SQL_Latin1_General_CP850_CI_AI NULL,
[ClieCNPJ] [varchar](20) COLLATE Latin1_General_CI_AS NULL,
[cliegere] [int] NULL,
CONSTRAINT [PK_ClieCodi] PRIMARY KEY CLUSTERED
(
[ClieCodi] ASC
) ON [PRIMARY]
) ON [PRIMARY]

------------------------------

CREATE TABLE [dbo].[ClientesGerenciadoras](
[ClGeClie] [int] NULL,
[ClGeGere] [int] NULL
) ON [PRIMARY]

GO
USE [EscoltaOnline]
GO
ALTER TABLE [dbo].[ClientesGerenciadoras] WITH CHECK ADD FOREIGN
KEY([ClGeClie])
REFERENCES [dbo].[Clientes] ([ClieCodi])
GO
ALTER TABLE [dbo].[ClientesGerenciadoras] WITH CHECK ADD FOREIGN
KEY([ClGeGere])
REFERENCES [dbo].[Gerenciadoras] ([GereCodi])

------------------

DTS:
Create destination objects with include dependent objects and extended
properties checked (already tried with drop first check and unchecked),
copy data replacing ,
use colation,
copy all objects,
not using default options, instead i'm using the 1st and 3rd security
options.

Hi Christiano,
try to UNCHECK the 'Copy primary and Foreign Keys' Option of the copy
sql objects task, delete the costraints (pk and fk) and set the pk
field of the two entity-tables (customers and companies) to a simple
int field (i mean trasfomr it form an identity to a normal int)

If it works then attach an execute sql task to rebuild your
constraints and original table structure.
Hope this helps!
M.
no, you cannot modify a dts while it's running.
I gave you a hint on which could be the cause of dts failure... if
it's fail because of pk and fk i would rather investigate to find
another way to move data. i would never use this process (removing pk
and fk constraints and creating them after the data has moved) in
production.
Bye,
M.


Reply With Quote
  #23  
Old   
matteus
 
Posts: n/a

Default Re: Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalidcolumn name 'ClGeClie' - 07-07-2008 , 02:44 AM



On Jul 4, 11:13 pm, "Christiano" <cdo... (AT) digiexpress (DOT) com.br> wrote:
Quote:
thank you very much....

just one more thing...

the application that uses that database is 24-7 on...

can i somehow make this modification on the fly during the dts copy???

tks in advance...
christiano.

"matteus" <matteog... (AT) gmail (DOT) com> escreveu na mensagemnews:62b79657-0137-46a1-8a2e-f36ddb915fbb (AT) k30g2000hse (DOT) googlegroups.com...

On Jul 4, 3:56 pm, "Christiano" <cdo... (AT) digiexpress (DOT) com.br> wrote:
I have 3 tables:
Clientes
Gerenciadoras
ClientesGerenciadoras..

The first lists all the clientes
The second the companies
The 3rd is a relation table n:n that crosses those 2 other tables
with
foreign keys

When i'm copying these with DTS (with the Copy SQL Server Objects
method),
at 96% it crashes, returning the message in the title...
The tables are all consistent... all data are valid...

what can I do to solve this???

the code generate codes and DTS config are following:

------------------------------

CREATE TABLE [dbo].[Gerenciadoras](
[GereCodi] [int] IDENTITY(1,1) NOT NULL,
[GereNome] [varchar](50) COLLATE Latin1_General_CI_AS NULL,
CONSTRAINT [PK_GereCodi] PRIMARY KEY CLUSTERED
(
[GereCodi] ASC
) ON [PRIMARY]
) ON [PRIMARY]

--------------------------------

CREATE TABLE [dbo].[Clientes](
[ClieCodi] [int] IDENTITY(1,1) NOT NULL,
[ClieNome] [varchar](100) COLLATE SQL_Latin1_General_CP850_CI_AI NULL,
[ClieCNPJ] [varchar](20) COLLATE Latin1_General_CI_AS NULL,
[cliegere] [int] NULL,
CONSTRAINT [PK_ClieCodi] PRIMARY KEY CLUSTERED
(
[ClieCodi] ASC
) ON [PRIMARY]
) ON [PRIMARY]

------------------------------

CREATE TABLE [dbo].[ClientesGerenciadoras](
[ClGeClie] [int] NULL,
[ClGeGere] [int] NULL
) ON [PRIMARY]

GO
USE [EscoltaOnline]
GO
ALTER TABLE [dbo].[ClientesGerenciadoras] WITH CHECK ADD FOREIGN
KEY([ClGeClie])
REFERENCES [dbo].[Clientes] ([ClieCodi])
GO
ALTER TABLE [dbo].[ClientesGerenciadoras] WITH CHECK ADD FOREIGN
KEY([ClGeGere])
REFERENCES [dbo].[Gerenciadoras] ([GereCodi])

------------------

DTS:
Create destination objects with include dependent objects and extended
properties checked (already tried with drop first check and unchecked),
copy data replacing ,
use colation,
copy all objects,
not using default options, instead i'm using the 1st and 3rd security
options.

Hi Christiano,
try to UNCHECK the 'Copy primary and Foreign Keys' Option of the copy
sql objects task, delete the costraints (pk and fk) and set the pk
field of the two entity-tables (customers and companies) to a simple
int field (i mean trasfomr it form an identity to a normal int)

If it works then attach an execute sql task to rebuild your
constraints and original table structure.
Hope this helps!
M.
no, you cannot modify a dts while it's running.
I gave you a hint on which could be the cause of dts failure... if
it's fail because of pk and fk i would rather investigate to find
another way to move data. i would never use this process (removing pk
and fk constraints and creating them after the data has moved) in
production.
Bye,
M.


Reply With Quote
  #24  
Old   
matteus
 
Posts: n/a

Default Re: Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalidcolumn name 'ClGeClie' - 07-07-2008 , 02:44 AM



On Jul 4, 11:13 pm, "Christiano" <cdo... (AT) digiexpress (DOT) com.br> wrote:
Quote:
thank you very much....

just one more thing...

the application that uses that database is 24-7 on...

can i somehow make this modification on the fly during the dts copy???

tks in advance...
christiano.

"matteus" <matteog... (AT) gmail (DOT) com> escreveu na mensagemnews:62b79657-0137-46a1-8a2e-f36ddb915fbb (AT) k30g2000hse (DOT) googlegroups.com...

On Jul 4, 3:56 pm, "Christiano" <cdo... (AT) digiexpress (DOT) com.br> wrote:
I have 3 tables:
Clientes
Gerenciadoras
ClientesGerenciadoras..

The first lists all the clientes
The second the companies
The 3rd is a relation table n:n that crosses those 2 other tables
with
foreign keys

When i'm copying these with DTS (with the Copy SQL Server Objects
method),
at 96% it crashes, returning the message in the title...
The tables are all consistent... all data are valid...

what can I do to solve this???

the code generate codes and DTS config are following:

------------------------------

CREATE TABLE [dbo].[Gerenciadoras](
[GereCodi] [int] IDENTITY(1,1) NOT NULL,
[GereNome] [varchar](50) COLLATE Latin1_General_CI_AS NULL,
CONSTRAINT [PK_GereCodi] PRIMARY KEY CLUSTERED
(
[GereCodi] ASC
) ON [PRIMARY]
) ON [PRIMARY]

--------------------------------

CREATE TABLE [dbo].[Clientes](
[ClieCodi] [int] IDENTITY(1,1) NOT NULL,
[ClieNome] [varchar](100) COLLATE SQL_Latin1_General_CP850_CI_AI NULL,
[ClieCNPJ] [varchar](20) COLLATE Latin1_General_CI_AS NULL,
[cliegere] [int] NULL,
CONSTRAINT [PK_ClieCodi] PRIMARY KEY CLUSTERED
(
[ClieCodi] ASC
) ON [PRIMARY]
) ON [PRIMARY]

------------------------------

CREATE TABLE [dbo].[ClientesGerenciadoras](
[ClGeClie] [int] NULL,
[ClGeGere] [int] NULL
) ON [PRIMARY]

GO
USE [EscoltaOnline]
GO
ALTER TABLE [dbo].[ClientesGerenciadoras] WITH CHECK ADD FOREIGN
KEY([ClGeClie])
REFERENCES [dbo].[Clientes] ([ClieCodi])
GO
ALTER TABLE [dbo].[ClientesGerenciadoras] WITH CHECK ADD FOREIGN
KEY([ClGeGere])
REFERENCES [dbo].[Gerenciadoras] ([GereCodi])

------------------

DTS:
Create destination objects with include dependent objects and extended
properties checked (already tried with drop first check and unchecked),
copy data replacing ,
use colation,
copy all objects,
not using default options, instead i'm using the 1st and 3rd security
options.

Hi Christiano,
try to UNCHECK the 'Copy primary and Foreign Keys' Option of the copy
sql objects task, delete the costraints (pk and fk) and set the pk
field of the two entity-tables (customers and companies) to a simple
int field (i mean trasfomr it form an identity to a normal int)

If it works then attach an execute sql task to rebuild your
constraints and original table structure.
Hope this helps!
M.
no, you cannot modify a dts while it's running.
I gave you a hint on which could be the cause of dts failure... if
it's fail because of pk and fk i would rather investigate to find
another way to move data. i would never use this process (removing pk
and fk constraints and creating them after the data has moved) in
production.
Bye,
M.


Reply With Quote
  #25  
Old   
matteus
 
Posts: n/a

Default Re: Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalidcolumn name 'ClGeClie' - 07-07-2008 , 02:44 AM



On Jul 4, 11:13 pm, "Christiano" <cdo... (AT) digiexpress (DOT) com.br> wrote:
Quote:
thank you very much....

just one more thing...

the application that uses that database is 24-7 on...

can i somehow make this modification on the fly during the dts copy???

tks in advance...
christiano.

"matteus" <matteog... (AT) gmail (DOT) com> escreveu na mensagemnews:62b79657-0137-46a1-8a2e-f36ddb915fbb (AT) k30g2000hse (DOT) googlegroups.com...

On Jul 4, 3:56 pm, "Christiano" <cdo... (AT) digiexpress (DOT) com.br> wrote:
I have 3 tables:
Clientes
Gerenciadoras
ClientesGerenciadoras..

The first lists all the clientes
The second the companies
The 3rd is a relation table n:n that crosses those 2 other tables
with
foreign keys

When i'm copying these with DTS (with the Copy SQL Server Objects
method),
at 96% it crashes, returning the message in the title...
The tables are all consistent... all data are valid...

what can I do to solve this???

the code generate codes and DTS config are following:

------------------------------

CREATE TABLE [dbo].[Gerenciadoras](
[GereCodi] [int] IDENTITY(1,1) NOT NULL,
[GereNome] [varchar](50) COLLATE Latin1_General_CI_AS NULL,
CONSTRAINT [PK_GereCodi] PRIMARY KEY CLUSTERED
(
[GereCodi] ASC
) ON [PRIMARY]
) ON [PRIMARY]

--------------------------------

CREATE TABLE [dbo].[Clientes](
[ClieCodi] [int] IDENTITY(1,1) NOT NULL,
[ClieNome] [varchar](100) COLLATE SQL_Latin1_General_CP850_CI_AI NULL,
[ClieCNPJ] [varchar](20) COLLATE Latin1_General_CI_AS NULL,
[cliegere] [int] NULL,
CONSTRAINT [PK_ClieCodi] PRIMARY KEY CLUSTERED
(
[ClieCodi] ASC
) ON [PRIMARY]
) ON [PRIMARY]

------------------------------

CREATE TABLE [dbo].[ClientesGerenciadoras](
[ClGeClie] [int] NULL,
[ClGeGere] [int] NULL
) ON [PRIMARY]

GO
USE [EscoltaOnline]
GO
ALTER TABLE [dbo].[ClientesGerenciadoras] WITH CHECK ADD FOREIGN
KEY([ClGeClie])
REFERENCES [dbo].[Clientes] ([ClieCodi])
GO
ALTER TABLE [dbo].[ClientesGerenciadoras] WITH CHECK ADD FOREIGN
KEY([ClGeGere])
REFERENCES [dbo].[Gerenciadoras] ([GereCodi])

------------------

DTS:
Create destination objects with include dependent objects and extended
properties checked (already tried with drop first check and unchecked),
copy data replacing ,
use colation,
copy all objects,
not using default options, instead i'm using the 1st and 3rd security
options.

Hi Christiano,
try to UNCHECK the 'Copy primary and Foreign Keys' Option of the copy
sql objects task, delete the costraints (pk and fk) and set the pk
field of the two entity-tables (customers and companies) to a simple
int field (i mean trasfomr it form an identity to a normal int)

If it works then attach an execute sql task to rebuild your
constraints and original table structure.
Hope this helps!
M.
no, you cannot modify a dts while it's running.
I gave you a hint on which could be the cause of dts failure... if
it's fail because of pk and fk i would rather investigate to find
another way to move data. i would never use this process (removing pk
and fk constraints and creating them after the data has moved) in
production.
Bye,
M.


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.