473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Wanted: book recomendations C#, SQL, with Timestamps

Dear NG,

I have not heard from anyone about a good book that deals with the
concurrency issue in SQL Server using C#. I have PROMISED Nick I would not
use record locking and I have used an old row / new row approach. (see next
paragraph for my reply to Nick) I would like to use Timestamps and
Transactions to produce an iron-clad and efficient application in a
multi-user environment. Can anyone recommend such a book?

OK Nick, I promise NEVER to even CONSIDER locking. I have two new skills to
learn: 1/ Transactions and 2/ using timestamps. I had been using a
technique of old record / new record to determine if the record had been
changed on update or delete. Timestamps seem more elegant. Sadly, the book
I have been using for learning SQL is Petkovic, SQL Server 2000, A
Beginner's Guide. He mentions timestamps, but then goes forward to
explaining locking (and not to well I might add). Can you suggest a good
book that implements your suggested approach to concurrency that would cover
both the C# and the SQL issues?

Thank you,

Bob

Robert Schuldenfrei
bo*@s-i-inc.com
Nov 16 '05 #1
5 1476
Robert Schuldenfrei wrote:
Dear NG,

I have not heard from anyone about a good book that deals with the
concurrency issue in SQL Server using C#. I have PROMISED Nick I
would not use record locking and I have used an old row / new row
approach. (see next paragraph for my reply to Nick) I would like to
use Timestamps and Transactions to produce an iron-clad and efficient
application in a multi-user environment. Can anyone recommend such a
book?

[...]

If you don't mind reading Java articles, I recommend looking up web
resources on "Optimistic Locking" -- I guess that's what you're referring
to.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 16 '05 #2
Robert:

Try in the microsoft.public.dotnet.framework.adonet newsgroup. William
Ryan should be able to give you a good book reference.

--
Scott
http://www.OdeToCode.com

On Wed, 25 Aug 2004 11:43:27 GMT, "Robert Schuldenfrei"
<bo*@s-i-inc.com> wrote:
Dear NG,

I have not heard from anyone about a good book that deals with the
concurrency issue in SQL Server using C#. I have PROMISED Nick I would not
use record locking and I have used an old row / new row approach. (see next
paragraph for my reply to Nick) I would like to use Timestamps and
Transactions to produce an iron-clad and efficient application in a
multi-user environment. Can anyone recommend such a book?

OK Nick, I promise NEVER to even CONSIDER locking. I have two new skills to
learn: 1/ Transactions and 2/ using timestamps. I had been using a
technique of old record / new record to determine if the record had been
changed on update or delete. Timestamps seem more elegant. Sadly, the book
I have been using for learning SQL is Petkovic, SQL Server 2000, A
Beginner's Guide. He mentions timestamps, but then goes forward to
explaining locking (and not to well I might add). Can you suggest a good
book that implements your suggested approach to concurrency that would cover
both the C# and the SQL issues?

Thank you,

Bob

Robert Schuldenfrei
bo*@s-i-inc.com


Nov 16 '05 #3
Hi Robert,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need a reference book about
concurrency issues. If there is any misunderstanding, please feel free to
let me know.

In your last thread, Scott has given us a good article "Handling Data
Concurrency Using ADO.NET"
John Papa
http://msdn.microsoft.com/msdnmag/is...s/default.aspx

There are many technical articles about ADO.NET concurrency on the web.
Here is one of them

http://support.microsoft.com/default...%2Fwebcasts%2F
en%2Ftranscripts%2Fwct050103.asp

Based on my research, there doesn't seem to be books dealing with
concurrency issues dedicatedly. However, some ADO.NET books have topic
about this. Here are some of them.

http://www.amazon.com/exec/obidos/tg...087697-3274358
?v=glance
http://www.amazon.com/exec/obidos/tg...087697-3274358
?v=glance

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #4
Hi Kevin,

Thanks for the follow up. I have printed out the articles you and Scott
suggested. I have noted the two books below. I now face the classic issue
of students: Do I just read the articles and plow right into my application
OR do I get the book and learn ADO.NET cold? I am 61 years old and doing
this just for a hobby, so I think I will take the latter approach. I live
in suburban Boston and we have a great technical book store, SoftPro, in
Waltham. I will see if they have either one of the books you mention.

The John Papa article has an interesting slant that I picked up on by just
briefly looking over the paper. He talks about the old row / new row
technique, the TIMESTAMP, and placing his own DATETIME column in the record.
He says he prefers the TIMESTAMP, but then goes on to illustrate the
DATETIME method! I am currently using the old row / new row technique so I
was disappointed to see that he was not going to demonstrate the TIMESTAMP.
Ah well...

Thank you for taking the time to help me. In some ways my knowledge is very
deep. I programmed an IBM 7044 back in 1963. But in many respects my
command of the wonderful world of object orientated programming is indeed
shallow. My professional career was in the application of computer based
techniques and not in programming per se. It is only now in retirement that
I get a chance to program for fun.

Cheers,

Bob

Robert Schuldenfrei
bo*@s-i-inc.com
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:uh**************@cpmsftngxa10.phx.gbl...
Hi Robert,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need a reference book about
concurrency issues. If there is any misunderstanding, please feel free to
let me know.

In your last thread, Scott has given us a good article "Handling Data
Concurrency Using ADO.NET"
John Papa
http://msdn.microsoft.com/msdnmag/is...s/default.aspx

There are many technical articles about ADO.NET concurrency on the web.
Here is one of them

http://support.microsoft.com/default...%2Fwebcasts%2F en%2Ftranscripts%2Fwct050103.asp

Based on my research, there doesn't seem to be books dealing with
concurrency issues dedicatedly. However, some ADO.NET books have topic
about this. Here are some of them.

http://www.amazon.com/exec/obidos/tg...087697-3274358 ?v=glance
http://www.amazon.com/exec/obidos/tg...087697-3274358 ?v=glance

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #5
Hi Robert,

Never too old to learn! :-)

The technical articles only solves problem in certain aspect. If you need
to learn the whole ADO.NET architecture for better programming, I suggest
you read Bob's Essential ADO.NET (I have met Bob once. :-) or David's
Microsoft ADO.NET (Core Reference). Here is a link for this book.

http://www.microsoft.com/mspress/books/5354.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: lkrubner | last post by:
This might be an idiot question, but how do you group by timestamps by date? I mean, given a large number of timestamps, spanning many months, how do grab them and say how many are from each day?...
3
by: Robert Schuldenfrei | last post by:
Hi NG, I am looking for an opinion here. I am new to C# and SQL, being an old COBOL hand. I have started into a conversion of an old COBOL ERP system. I have a number of functions working now...
3
by: Robert Schuldenfrei | last post by:
Hi NG, I needed some information about using SQL Timestamps for resolving concurrency errors. I bought the book: Pragmatic ADO.NET to aid me in this endeavor. Some people have asked me if I...
2
by: Chumma Dede | last post by:
Hi, I need to code a DLL in .NET which logs the response times for our asp.net multi-tier application. The problem is we need to log the timestamps at multiple stages in a process lifecycle...
4
by: Craig G | last post by:
im not too sure how i should be storing the SQL2000 timestamps basically i return a dataset which is used to populate an editable grid. this dataset contains the timestamp. how should i be...
1
by: Erwin Van de Velde | last post by:
Hi, I'm building a central logging system for security applications as my master thesis, but I've run into some troubles: Different applications make database logs using different formats: -...
4
by: john conwell | last post by:
I'm a fairly seasoned vet with .net 1.1, and want a hardcore, indepth review of the new changes in 2.0, mostly covering the core namespaces and the System.Windows.Forms namespace. I dont really...
1
by: boris | last post by:
can someone recommend me a book on c++ game programming.I am keenly intrested in coding games but a beginner in c++ so plz recommend accordingly.
11
by: Ira Solomon | last post by:
I am an experienced programmer (40 years). I've done Algol (if you've heard of that you must be old too), PL/1, VB,VBA, a little C, and a few other odd languages (e.g. Taskmate). I'm interested...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.