C# / MS SQL Get inserted value of NEWSEQUENTIALID()

added by mistralol
2/23/2011 1:30:00 PM

505 Views

Here is a quick guide to get the new value of NEWSEQUENTIALID() when inserting a row into a table in ms sql. If you have attempted to use NEWSEQUENTIALID() before you will know that it is only possible to use as a generated value in the table when the row is being inserted. This is a guide to get this value from c# when inserting the row.


0 comments