Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
GeneralRe: Visual Studio 2010 - Set IDENTITY_INSERT <Table> ON Pin
Member 105135979-Jan-14 5:28
Member 105135979-Jan-14 5:28 
GeneralRe: Visual Studio 2010 - Set IDENTITY_INSERT <Table> ON Pin
Pete O'Hanlon9-Jan-14 6:48
mvePete O'Hanlon9-Jan-14 6:48 
GeneralRe: Visual Studio 2010 - Set IDENTITY_INSERT <Table> ON Pin
Member 105135979-Jan-14 8:23
Member 105135979-Jan-14 8:23 
GeneralRe: Visual Studio 2010 - Set IDENTITY_INSERT <Table> ON Pin
Pete O'Hanlon9-Jan-14 8:43
mvePete O'Hanlon9-Jan-14 8:43 
GeneralRe: Visual Studio 2010 - Set IDENTITY_INSERT <Table> ON Pin
Member 105135979-Jan-14 9:19
Member 105135979-Jan-14 9:19 
GeneralRe: Visual Studio 2010 - Set IDENTITY_INSERT <Table> ON Pin
Dave Kreskowiak9-Jan-14 7:48
mveDave Kreskowiak9-Jan-14 7:48 
GeneralRe: Visual Studio 2010 - Set IDENTITY_INSERT <Table> ON Pin
Member 105135979-Jan-14 8:14
Member 105135979-Jan-14 8:14 
GeneralRe: Visual Studio 2010 - Set IDENTITY_INSERT <Table> ON PinPopular
Richard Deeming9-Jan-14 8:51
mveRichard Deeming9-Jan-14 8:51 
You're trying to insert an explicit value into an IDENTITY column[^]. The value of this column will normally be allocated by the database, which is why it gives you an error when you try to insert an explicit value.

In certain restricted cases, it is necessary to allow explicit values to be inserted into an identity column. This is the only time that IDENTITY_INSERT[^] is used. This should only be done as a maintenance operation, and not part of a normal insert.

If you want to insert explicit values into the column, then remove the identity property. Otherwise, don't specify the identity column in your INSERT statement.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Visual Studio 2010 - Set IDENTITY_INSERT <Table> ON Pin
Tom Marvolo Riddle9-Jan-14 21:03
professionalTom Marvolo Riddle9-Jan-14 21:03 
QuestionHow do I generate 6 or 8 digits hash from a string and decode it back?? Pin
candogu9-Jan-14 0:39
candogu9-Jan-14 0:39 
AnswerRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
GuyThiebaut9-Jan-14 0:46
professionalGuyThiebaut9-Jan-14 0:46 
GeneralRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
candogu9-Jan-14 1:05
candogu9-Jan-14 1:05 
GeneralRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
GuyThiebaut9-Jan-14 2:03
professionalGuyThiebaut9-Jan-14 2:03 
AnswerRe: How do I generate 6 or 8 digits hash from a string and decode it back?? PinPopular
Rob Philpott9-Jan-14 1:29
Rob Philpott9-Jan-14 1:29 
GeneralRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
Paul Conrad13-Jan-14 14:00
professionalPaul Conrad13-Jan-14 14:00 
AnswerRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
joost.versteegen9-Jan-14 1:41
joost.versteegen9-Jan-14 1:41 
GeneralRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
candogu9-Jan-14 2:10
candogu9-Jan-14 2:10 
GeneralRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
joost.versteegen9-Jan-14 2:24
joost.versteegen9-Jan-14 2:24 
AnswerRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
jschell12-Jan-14 9:05
jschell12-Jan-14 9:05 
QuestionUse C# dll in C. Pin
sagar15898-Jan-14 22:28
sagar15898-Jan-14 22:28 
AnswerRe: Use C# dll in C. Pin
Shameel9-Jan-14 0:49
professionalShameel9-Jan-14 0:49 
AnswerRe: Use C# dll in C. Pin
David Knechtges9-Jan-14 3:19
David Knechtges9-Jan-14 3:19 
GeneralRe: Use C# dll in C. Pin
sagar15899-Jan-14 21:07
sagar15899-Jan-14 21:07 
AnswerMessage Removed Pin
9-Jan-14 10:05
professionalN_tro_P9-Jan-14 10:05 
GeneralRe: Use C# dll in C. Pin
sagar15899-Jan-14 19:09
sagar15899-Jan-14 19:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.