Viewing 15 posts - 1 through 15 (of 51 total)
Thanks a lot. I will read about "Read-ahead"
This kind of info I need to make a wise choice!
April 30, 2020 at 1:11 am
yes the files are in a storage system.
Sorry for not bring any info about the storage, the reason is i havent access to it.
if you tell me what info helps...
June 11, 2013 at 12:11 pm
Seraj Alam-256815 (3/26/2013)
Add a column Filler char(4000). you said there are few rows, should not be overhead.
create clusterd index on Reque_pa(CEREQ).
Enjoy!
Sreaj Alam
SQL DBA,...
March 26, 2013 at 6:38 am
GilaMonster (3/26/2013)
abitguru (3/26/2013)
SELECT * FROM Reque_pa WITH (UPDLOCK) WHERE EMPRE=1 AND CEREQ = 1UPDATE Reque_pa SET Proximo=107918, Pendiente=0 WHERE EMPRE=1 AND CEREQ=1
You're selecting, then updating the table with a...
March 26, 2013 at 5:17 am
Thanks a lot. I tested your code, I had never thought of it that way.
Coming back to my first problem.
If I execute this query (see I update cereq=1)
use desarrollo
begin...
March 26, 2013 at 5:13 am
Hello, this is the code of the transaction.
BEGIN TRANSACTION
SELECT * FROM Reque_pa WITH (UPDLOCK) WHERE EMPRE=1 AND CEREQ = 1
UPDATE Reque_pa SET Proximo=107918, Pendiente=0 WHERE EMPRE=1 AND CEREQ=1
SELECT @@ROWCOUNT...
March 26, 2013 at 4:39 am
Sorry 😛 tomorrow when i'm at work i'll post all the code.
thanks for all your help and patience :-D!!!
March 25, 2013 at 6:39 pm
Lynn Pettis (3/25/2013)
abitguru (3/25/2013)
I will try Lynn solution, and see if it "fits".
I will post real...
March 25, 2013 at 5:55 pm
Thanks so much guys, sorry if I dont put real code, I dont understand it..
I will try Lynn solution, and see if it "fits".
I will post real code of the...
March 25, 2013 at 3:48 pm
GilaMonster (3/25/2013)
abitguru (3/25/2013)
March 25, 2013 at 3:11 pm
This is all process,
to numerate I select by parameter to use by fields cereq and use the field proximo to get next number,
insert using number get from previuos query
add...
March 25, 2013 at 3:06 pm
Lynn Pettis (3/25/2013)
March 25, 2013 at 1:58 pm
Lowell (3/25/2013)
abitguru (3/25/2013)
Thanks Lynn!!!
Several post later I explain what I'm try to do. 😛
I understand what you say about bottleneck, but I have no option (in my knowleage :-P)....
March 25, 2013 at 1:01 pm
Lynn Pettis (3/25/2013)
abitguru (3/25/2013)
Lynn Pettis (3/25/2013)
March 25, 2013 at 12:29 pm
Lynn Pettis (3/25/2013)
March 25, 2013 at 11:11 am
Viewing 15 posts - 1 through 15 (of 51 total)