| Author |
Message |
Brujah
Joined: 02 Apr 2008 Posts: 12
|
Posted: Mon Nov 21, 2011 11:35 am Post subject: Have the possibility to get the PK and FK from CSV file |
|
|
| Is there a way to get the PK and FK from the CSV file |
|
| Back to top |
|
 |
james.billings
Joined: 16 Jun 2010 Posts: 840 Location: My desk.
|
Posted: Tue Nov 22, 2011 2:54 pm Post subject: |
|
|
Thanks for your post.
I wasn't quite sure what you meant here. Do you mean you would like to populate FK and PK columns with values from a CSV file? If so, I don't think you'll be able to by default, as FK's will always use the Foreign Key generator. If you drop these before you start, you can assign any generator you like to the column instead though, which may work for you?
If you mean something different, please post back with some more details! |
|
| Back to top |
|
 |
Brujah
Joined: 02 Apr 2008 Posts: 12
|
Posted: Wed Nov 23, 2011 11:15 am Post subject: |
|
|
Yes, i would like to populate FK and PK columns with values from a CSV file?
But i don't want to drop my constrains, just want to insert the values from a CSV file with IDENTITY_INSERT ON
Is there a work around for this or can this be implemented in a future release? |
|
| Back to top |
|
 |
james.billings
Joined: 16 Jun 2010 Posts: 840 Location: My desk.
|
Posted: Thu Nov 24, 2011 1:11 pm Post subject: |
|
|
| I don't think you can do it right now, without dropping the various constraints. We may already have feature requests in this area, so if we do, I'll +1 them (and if not, I'll add one) |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group