![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I'va got a view, and i select certain column of it to insert in an other table. The problem is that the table in witch i insert the data has got an |
|
In fact, what i want the dts to do, is to fill automaticaly the identity column (as usualy when you insert a row..) ps: i've unchecked the Enable identity insert. i'm sure you know the problem and i wish you could help me. thanks |
#2
| |||
| |||
|
#3
| |||
| |||
|
|
tahnk you, but I have already have a look at this article. But, i don't want to bring back an identity column from an other database, i want to import data in the table and to automaticaly fill the identity column for exemple, i bring tree column, foreName, Surname, adress, and in the new table, i've got 4 column : ID, forename, surname and adress. The ID column is a primary key set as identity i'll have a activeX code like that : Function Main() DTSDestination("forename") = DTSSource("forename") DTSDestination("surName") = DTSSource("surname") DTSDestination("adress") = DTSSource("adress") Main = DTSTransformStat_OK End Function but that doesn't work. The DTS want to insert a value Null or other in the Identity column. Please help... thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
| |||
| |||
|
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |