Re: Nested Updates using SQLCLIENT classes
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Sat, 22 Mar 2008 10:36:35 -0400
BK wrote:
Here are my questions - I know without seeing the code it might be a
bit difficult - but this is a ADO forum and I am not expecting any
help in a VB.NET perspective.
There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic ADO newsgroup. ADO.Net bears
very little resemblance to classic ADO so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.adonet.
1. From what I explained, does it feel that I am approaching the
solution in a wrong way?
I probably would not have done it your way. I tend to go for set-based
operations if possible. It takes a lot to convince me a set-based operation
is not possible. Ican't make heads-nor-tails of your explanation so I cannot
say if a set-based operation is possible in your situation.
2. Can this algorith be implemented in T-SQL?
Most likely.
3. Is a CLR stored procedure a better approach?
I don't know. Probably not.
4. For those of you who recommend T-SQL, what/which literature canAgain, you are avoiding set-based solutions. However ...
you refer me to that shows such Iterations, Loops, Cursors, Updates,
Transactions etc.
SQL Books Online (BOL) - they come with SQL Server and contain a wealth of
information
Also, how would you monitor the process? There are
no progress bars :) or Threads.
SQL Profiler? Or are you talking about displaying progress to a user?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Follow-Ups:
- Re: Nested Updates using SQLCLIENT classes
- From: Ralph
- Re: Nested Updates using SQLCLIENT classes
- Prev by Date: novice in ADO
- Next by Date: Re: Nested Updates using SQLCLIENT classes
- Previous by thread: novice in ADO
- Next by thread: Re: Nested Updates using SQLCLIENT classes
- Index(es):
Relevant Pages
|
|