Viewing 11 posts - 1 through 11 (of 11 total)
Thanks for the reply.
The transaction is necessary. A possible sequence of calls is
Begin Tran
Call UpdateAccountTransferFrom and return rowversion
Call UpdateAccountTransferTo and return rowversion
...
End Tran
RowVersions now obsolete.
I use UpdateAccountTransferFrom/To for illustration....
December 12, 2008 at 7:03 am
Thank you.
Your suggestion works - but the time sucks. To perform the join SQL Server retrieves ALL of a very large table from the client and (I am told)...
September 20, 2006 at 6:28 pm
Thanks All,
Lots of good ideas here.
February 6, 2006 at 8:24 am
I was hoping that there might be some relevant OPTION variant that I had missed.
I figure one way of doing this is to write a comma delimited file (or perhaps...
February 4, 2006 at 9:12 pm
Kathi,
This is a big improvement over a cursor.
Although User/ActionId are relatively sparse and there are some missing numbers, this solution makes at most 256 updates irrespective of the number of...
January 15, 2006 at 12:11 pm
In general Schema modification thru Access Project is dead.
Good luck waiting for the patch. From what I hear MS has abandonned Access Projects.
The reasons offered being managed code and...
January 2, 2006 at 10:34 am
Simple insert your parameters into the query
Select @Beginning as BeginningDate,@End_Date as EndDate, .. then the rest of your SQL.
November 26, 2005 at 9:06 pm
I've replaced the fetch cursor with the following key chaining approach:
Set @OldUniqueKey = 0
while 1=1
Select Top 1 @UniqueKey=UniqueKey,... from Movements
Where UniqueKey >...
November 17, 2005 at 4:31 pm
Nice trick - I'll remember it. I don't think that it will help me in this case as a batch could contain the same item multiple times which would necessitate...
November 16, 2005 at 3:07 pm
I am using T-SQL in a stored procedure. The interference comes from an Access user doing Access user sort of things.
Aside:
I would love a non-cursor solution. The problem is this:
1....
November 16, 2005 at 2:04 pm
Try:
SELECT TOP 100 PERCENT
object,
MIN(CASE WHEN itemid = 1 THEN item END) AS [1],
MIN(CASE WHEN itemid = 2 THEN item END) AS [2],...
November 16, 2005 at 11:09 am
Viewing 11 posts - 1 through 11 (of 11 total)