Aug
13
awarded Scholar
Aug
13
revised In a stored procedure (SQL Server 2008 R2 SP2) is it possible to return a NewSequentialID() without a temp table variable?
added 9 characters in body; edited title
Aug
13
accepted In a stored procedure (SQL Server 2008 R2 SP2) is it possible to return a NewSequentialID() without a temp table variable?
Aug
12
comment In a stored procedure (SQL Server 2008 R2 SP2) is it possible to return a NewSequentialID() without a temp table variable?
I need to return the guid created by the new record in the sproc to the calling program.
Aug
12
awarded Commentator
Aug
12
comment In a stored procedure (SQL Server 2008 R2 SP2) is it possible to return a NewSequentialID() without a temp table variable?
newsequentialid() is used in the table definition for the DEFAULT value of the column. I need to return the guid created by the new record in the sproc to the calling program.
Aug
12
asked In a stored procedure (SQL Server 2008 R2 SP2) is it possible to return a NewSequentialID() without a temp table variable?
May
8
comment Thread-safe buffer for .NET
Steven above stated, "Note that using lock still outperformes ReaderWriterLockSlim in many cases", is that a consideration here with: BlockingCollection?
May
8
revised Thread-safe buffer for .NET
edited body
May
8
awarded Supporter
May
8
comment Thread-safe buffer for .NET
Thanks, I'm looking into 'ReaderWriterLockSlim' now (.Net 3.5+ :-)
May
8
comment Thread-safe buffer for .NET
I'm not sure I understand the role of BufferLock, or why it's going before the strBuilderBuffer.Append(strSomeData); statement.?. The atomocy I need to guarantee for a buffer is in public void BufferAnalyze() between the reading && clearing of the buffer (as I attempted to do above in the re-editing of my question above. Sorry if I'm being obtuse.
May
8
comment Thread-safe buffer for .NET
What you show above didn't make sense to me for what I'm trying to do... However, I added what I'm trying to do to my question above.
May
8
revised Thread-safe buffer for .NET
added 781 characters in body
May
8
revised Thread-safe buffer for .NET
added 109 characters in body; edited title
May
8
comment Thread-safe buffer for .NET
@vidstige they're in the method public void BufferAnalyze() (Though for illustrative purposes they're not back-to-back.)
May
8
comment Thread-safe buffer for .NET
@JamesMichaelHare Will do.
May
8
comment Thread-safe buffer for .NET
unfortunately, platform is limited to 3.5... I'll keep that in mind for future projects however.
May
8
awarded Student
May
8
comment Thread-safe buffer for .NET
@JamesMichaelHare 3.5 currently... I'll look into that for future projects though, thanks.
1 2