Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9217203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:35:15+00:00 2026-06-18T02:35:15+00:00

There is a table with the following columns: ProdID Specification Value I’ve got a

  • 0

There is a table with the following columns:

ProdID
Specification
Value

I’ve got a csv file with a schema that only has the last two columns – Specification and Value. In other words they are my csv headers. Now I need to associate the values of this file against one unique id.

The significance of that id is that it is a reference to the document; its not important here, but, for now assume it is reqired by the system.

Now while I use the SqlBulkCopy class to insert is there a way that I can still insert some value for ProdID such that each row inserted will have the same ProdID for that file I am trying to bulk copy…?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T02:35:16+00:00Added an answer on June 18, 2026 at 2:35 am

    That depends. if ProdID is an identity field in the database, the database will fill it for you when you perform the bulk copy.

    If it’s not, you will need to fill it yourself and pass the three columns to SqlBulkCopy, instead of just the two.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi all I have a 'widget' table that has the following columns: widget, action,
I have a cat table that has the following columns: cat_id | name |
I have a table that has following columns id store_id store_name id and store_id
I have a table that has the following columns: GRVLID GRID Timein Timeout This
Consider a table with the following schema: id, location, starred There are many records
I notice that there is some gap after my table. See the following snapshot:
I've got a table with the following columns: ID, sysid, x, y, z, timereceived
So I've got a MySQL table with the following columns: PROPERTY_ID AGENT_ID STATUS SALE_DATE
I've got a table which contains the following columns: ID, Condition 1, Condition 2.
My list_items table has the following columns `ListID` `WordID` My lists table has a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.