This tutorial is gold.. I learn new thing each day thanks to you..
@sprasain12 жыл бұрын
This Channel deservers 10 Million subscribers ! 👋👋👋
@androidsavior4 жыл бұрын
as always, best instructor ever, helped me saving my life and my career
@pramodmaurya66106 жыл бұрын
After seeing you video ,1st time I am able to understand booking and deadlock concept completely with practical example.thanks alot..🌹
@amkytube52423 жыл бұрын
the best SQL teacher ever!
@avinash235255 жыл бұрын
Very nice explanation of dead lock with very simple example. Thank you so much !
@SamairaJain114 жыл бұрын
I just love this series. It is very informative and cleared all basic concepts
@Adinasa2 Жыл бұрын
Awesome presentation
@kidzTube7 Жыл бұрын
Very nicely explained the concept of locks with simple examples - ZiaKhan
@nishasaravana44474 жыл бұрын
Thanks for clearing my doubts. It is awasome video and informative
@IAmKdizzle8 жыл бұрын
amazing!! very CLEARLY explained, best tutorial online
@kamleshnakade22778 жыл бұрын
Awesome explanation of dead lock with very simple example. I have a small question : How SQL Server decides that which transaction to kill in case of deadlock?
@letrung10832 жыл бұрын
Thanks. Great explain.
@Callum29D5 жыл бұрын
Great example and very clear
@nanditadebnath11817 жыл бұрын
Thnak you so much for such clear explanations.
@eddieNoureddine9 жыл бұрын
Thank you so much , I really appreciate every single second of your time spent on making up videos! I almost watched all of your videos , thank you again , I have a question : what is the purpose of having two primary keys in a table ?!
@souvikghosh56687 жыл бұрын
Venkat, this is something really great! Keep doing such videos. Subscribed to your channel now.
@1cualtemoch9707 жыл бұрын
You are amazing! Greetings from the US
@saikirankyasa18364 жыл бұрын
Nice explanation
@s.e.kuzhali70149 жыл бұрын
Thank you, Sir !! Your presentations are really helpful for those who are learning SQL.Thanks a lot !!. Here I am having a query as deadlocking occurs when we are trying to process the same record in a table by two different transactions and I mean, the lock occurs on the record level and not on the Table level.
@samuely61885 жыл бұрын
You very genius my friend Thank you so much
@devexpost85087 жыл бұрын
Kudvenkat, Thanks. Well done. One minor note on the Deadlock example... Given your initial diagram showing Mark in Table A, and Mary in Table B, the Deadlocking victim transaction in the right window has its Names reversed: the update to Table B should be Name = "MARY Transaction 2" rather than Mark, and vice versa for the second one. Best regards.
@assaeinstein10896 жыл бұрын
THANKS...I AM QUICK LEARNED...
@muraleedharancholiyampadat82856 жыл бұрын
Excellent tutorial! Thank you
@vin26295 жыл бұрын
You are awesome man !!
@rajababuraja76506 жыл бұрын
Amazing explanation
@ariefahmedshaik7299 жыл бұрын
you presentation is awsome
@muhammadahsan71138 жыл бұрын
Best videos
@zameer2188 жыл бұрын
Superb and crystal clear explanation. Kudos to Mr. Venkat. what a marvellous job you are doing Sir. Thanks once again. I have question here, does the sql server end one of the transactions based on which executed first?
@stephennguyen80528 жыл бұрын
SQL Server decides which one is deadlock victim based on which one costs least for it to rollback. You can also set deadlock priority too so even if a transaction costs more to be rolled back, it can take priority and the other will be deadlock victim isntead
@HammadKhanYT4 жыл бұрын
Perfect tutorial!
@NeenaNano6 жыл бұрын
Can you explain nolock n rowlock
@nirvikar236 жыл бұрын
Please tell me about table level locking and row level locking
@sardorbek36473 ай бұрын
@kudvenkat what about using with nolock?
@gykg3202 Жыл бұрын
Thank youuu!
@razimkhan20678 жыл бұрын
Dear sir Kudvinkat what happend if two user request on same time to a database table , which one request will full fill first... as they both send request on same time , ...
@KA09MYSURU6 жыл бұрын
Hi, can you help to write query to find previous quarter sales report ?
@q8sian3 жыл бұрын
can I trace the deadlock error to let the user to try again to save the change?
@raqibulAlam-su3jo9 жыл бұрын
Thanks
@hina2931 Жыл бұрын
Are you a DBA, do you offer classes?
@shivangicial68012 жыл бұрын
In SQL server every DML is auto commit then how come the lock on the table without committing?
@ashishchinna9201 Жыл бұрын
If you use those commands inside a Transaction block, you need to end the Transaction by 'Commit Transaction' or 'Rollback Transaction'. So here the Tables will be locked until you Commit or Rollback.
@IbrahiimMohammed8 жыл бұрын
create table events( event_type integer not null, value integer not null, time timestamp not null, unique (event_type ,time) ); Have inserted few values like insert into events values (2, 5, '2015-05-09 12:42:00'), (4, -42, '2015-05-09 13:19:57'), (2, 2, '2015-05-09 14:48:39'), (2, 7, '2015-05-09 13:54:39'), (3, 16, '2015-05-09 13:19:57'), (3, 20, '2015-05-09 15:01:09') I want to write a query that for each event_type that has been registered more than once returns the difference between the latest and the second latest value . Given the above data, the output should be like event_type value 2 -5 3 4
@IbrahiimMohammed4 жыл бұрын
3 years later :D open for improvments CREATE VIEW [max_date] AS SELECT event_type, max(time) as time, value FROM events group by event_type having count(event_type) >1 order by time desc; select event_type, value from ( select event_type, value, max(time) from( Select E1.event_type, ([max_date].value - E1.value) as value, E1.time From events E1, [max_date] Where [max_date].event_type = E1.event_type and [max_date].time > E1.time ) group by event_type )
@cuteiffatfatima9 жыл бұрын
Dear sir First of all "May Allah grant you a long life to help people" i am a big fan of you. I asked a question in interview is below please solve this. I have 3 different questions but now i am asking only 1. ID Name Grade Marks 1 Rajesh 9 450 2 Rakesh 8 510 3 Manoj 9 485 4 Vikram 10 392 5 Aarif 8 465 6 Sunil 10 425 Display Name,Grade and maximum marks in each Grade. i am waiting for response
@gagandeepsingh61269 жыл бұрын
+Farhan Ahmed select name,grade,max(marks) from table group by grade.
@prakashtharla47407 жыл бұрын
Hi frnd, Query:- Name,Grade,max(marks) from tablename group by Name,Grade