Viewing 15 posts - 1 through 15 (of 18 total)
Assuming that the indexes are defined properly, is there a better way to delete the rows?
October 11, 2004 at 1:31 pm
The problem with this is, between select and update there is a possibility that the flag and value might be changed by some other user.
July 14, 2004 at 8:11 pm
Hi Phil,
After executing the below I need to get the values of batchno and detailno.
UPDATE detail
SET flag = 'A'
FROM (
SELECT TOP 1 d.batchno, detailno
FROM detail AS d
INNER JOIN batch AS...
July 14, 2004 at 2:12 pm
I changed the stored procedure as follows and it works fine now.
DECLARE @batchno varchar(15)
DECLARE @seqno int
SELECT TOP 1 @batchno = d.batchno, @seqno = seqno
FROM detail AS d WITH (UPDLOCK,...
April 21, 2004 at 7:45 am
Yes, the date on the MDF file is modified each time a block is written.
don1941 can you tell me what those undocumented stored procs are.
December 10, 2002 at 3:46 pm
Previously we used an ISAM DB, I am trying to migrate to SQL server with minimal changes.
I have all the DB access done in a DLL and other applications call...
December 6, 2002 at 5:32 am
My understanding is that SQL Server sends the raw data and the column information like the name of the column etc which is used by the client applications to display....
December 5, 2002 at 8:07 am
I have a structure which exactly matches the DB row, so if I am able to get the raw data directly I can just copy it to my structure instead...
December 5, 2002 at 5:59 am
Sorry.
The test data should be
batch (integer) value (integer)
100,1
101,1
102,1
103,2
November 6, 2002 at 10:08 am
Maheswar, your SQL will give me both 10000 & 10001. I need only 10000
November 6, 2002 at 9:54 am
Thanks Solart for your suggestion.
To over come this error I had to change the "Startup service account" from "system account" to a valid domain account.
Senthil.
July 23, 2002 at 11:32 am
Viewing 15 posts - 1 through 15 (of 18 total)