Server as your back end. If you are worried about record locking and
output parameters. Properly constructed stored procedures can be
executed and processed by any modern programming language.
parameters, then you are using outdated technology. Crafting a
entirely. A "one size fits all" solution that will work in every
wrote:
>
>Hi Mary,
>
>The specific problem I'm having is that if I create T-SQL procedures to
>run an update I cannot be sure that the request I'm going to make will
>succeed because I cannot create a cursor with update enabled in T-SQL
>and then process the result set via ODBC - with the driver I am using I
>cannot even pass back a cursor via the stored procedure. Even if this
>transaction is a short term one - in which case I am forced into using a
>prepared statement rather than a stored procedure. In this case I have
>an object server which handles database table, index and field layouts
>amongst other things - these are passed to requesting applications and
>hence save database meta data look ups. The server also handles new
>definitions added to the database and hence needs an updatable cursor.
>
>Perhaps, having done a load of research into the topic I have answered
>my own question - it's not possible with the Microsoft driver I am using
>with Java. I only tried this question as a last resort.
>
>The answer you have given though is applicable to Client side requests
>and I do see what you are saying. Personally, I'm used to locking all
>records required until they are used etc. I'm currently in two minds
>about how and if I really need some sort of record locking policy - if I
>do I shouldn't really move away from record locking provided via the SQL
>server. If I do move away from handling locks via the SQL server then
>this implies all transactions have to go through my policy BUT this will
>exlude any SQL server side updates - which is a loss I would not like to
>make. In THIS context (Which is outside of my original question) it
>would be perfect to be able to maintain the SQL server list of client
>side locks directly in SQL server and hence forget about any further
>handling of locks (Becuase they would be handled by default) - but I
>doubt if this facility is in SQL server, if it is I would be very happy.
>
>My aim with Jet has always been to allow it to be used - I don't want to
>force someone into buying SQL Server unless they have a high transaction
>rate. Jet should in theory be able to handle most of my needs but only
>time will tell on this score.
>
>Perhaps I will drop using any Microsoft products and try others instead
>as the support for them is mostly tied in with Microsoft programming
>which is a route I don't want to go down due to lack of support for
>other environments - Midrange and Mainframe architecture.
>
>*** Sent via Developersdex
http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it!