SQL - Merge

  Рет қаралды 36,982

James Oliver

James Oliver

Күн бұрын

Пікірлер: 52
@safkaify7875
@safkaify7875 5 ай бұрын
Probably the best teaching video I've seen in terms of: Visuals + well paced script + audio on point. Please keep up the good work.
@chriskeo392
@chriskeo392 2 жыл бұрын
Crushed it Visuals + well paced script + audio on point 👑 Content king!
@ottmiller4028
@ottmiller4028 4 жыл бұрын
James, your explanations are lucid and thorough. Thank you for your efforts.
@kristeenahbro
@kristeenahbro 4 ай бұрын
I watched this today while I was stuck trying to use merge for the first time at work. I looked up this video on my phone just to say thank you!!! I can't post youtube comments from my work pc but I wanted to say great vid 😊
@Circumvenscion
@Circumvenscion 2 жыл бұрын
Well explained and concise. Please do more of these type of videos, you're great at it!
@JamesOliver
@JamesOliver 2 жыл бұрын
Thank you for the kind words. Much appreciated. :)
@briancanfield2968
@briancanfield2968 2 жыл бұрын
Agreed
@cidaiha
@cidaiha Жыл бұрын
Thank you, PERFECT EXPLANATION !
@hklbly
@hklbly 17 күн бұрын
Crystal clear explanation, thanks!
@CrazySw3de
@CrazySw3de 3 жыл бұрын
Great video, easy to understand explanation with clear examples and nice editing.
@apoorvavanaparthi8853
@apoorvavanaparthi8853 11 ай бұрын
Thank you so much for this clear and concise explanation!!!!!!! 🙏
@Thle009
@Thle009 Жыл бұрын
Thank you for a great tutorial video. The fact that it is still relevance today 2 years later showing just how powerful your video is. Would it be possible for you to make a video on the output and the MergeResults table?
@anawadtom6011
@anawadtom6011 3 жыл бұрын
Simple, clear explanation. Thanks!
@RC-ql5lp
@RC-ql5lp 4 жыл бұрын
Great tutorial. I have learn a new command in t-sql.
@abbasmuhammed214
@abbasmuhammed214 6 ай бұрын
thank you so much, I appreciate that, and it was very useful
@maheshbabu6925
@maheshbabu6925 3 жыл бұрын
Nice explanation James
@JamesOliver
@JamesOliver 3 жыл бұрын
Appreciate it very much. :)
@bobocrazvan-marius801
@bobocrazvan-marius801 3 жыл бұрын
Very helpful video, thank you for the explanation!
@abcxyz6606
@abcxyz6606 3 жыл бұрын
Wow, this is very neat. TY for these.
@chriskeo392
@chriskeo392 Жыл бұрын
More advanced merge videos?!? And more on how to leverage OUTPUT
@sayfriseup172
@sayfriseup172 2 жыл бұрын
Any Idea about 'Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "French_CI_AS" in the equal to operation.
@iliashterev38
@iliashterev38 11 ай бұрын
I was just about to say this tutorial is awesome and then you went onto the deleted and inserted tables without taking a moment to walk trough the target table after the merge. And I have learned so far that deleted and inserted tables are available only within the scope of the triggers. Which confused me further.
@makeittrades5750
@makeittrades5750 4 жыл бұрын
wow what a cool tutorial, loved it!
@mohammadhaque1873
@mohammadhaque1873 2 жыл бұрын
Thank you, very nicely explained.
@RainSoundsToConcentrate
@RainSoundsToConcentrate Жыл бұрын
Amazing video ,ty 😎
@emrc9777
@emrc9777 2 жыл бұрын
Excellent video! ❤
@rntech4541
@rntech4541 2 жыл бұрын
thanks so much sir. This Solved my proble which made me busy with it since a week,,but could you tell me how to invite this query in c#?
@sumit-visatotravel8780
@sumit-visatotravel8780 9 ай бұрын
Very well explained!
@LearnSalesforceWithPiyush
@LearnSalesforceWithPiyush 2 жыл бұрын
How to merge two stored procedures in mysql.
@sreelakshmia6762
@sreelakshmia6762 7 ай бұрын
Do you have same in oracle?
@rapo107
@rapo107 4 жыл бұрын
James... Missing your MSTR videos a lot. Please make videos..🙏
@JamesOliver
@JamesOliver 4 жыл бұрын
MicroStrategy video coming Monday
@fo1487
@fo1487 2 жыл бұрын
I liked your video, ty
@henrygrip8486
@henrygrip8486 3 жыл бұрын
Why did the result showed you the row with the id 1524 when that one doesnt exist in either of the two original tables.
@romeokamil
@romeokamil 3 жыл бұрын
hi did select on top 7 from source table, 1524 was not in top 7 but matched the values for the merge.
@PedramRasti
@PedramRasti 3 жыл бұрын
Thank you James! Any idea why a syntax error near the OUTPUT may come up. I did exactly what you did but somehow for the output part i get a syntax error
@tihanapolezari7638
@tihanapolezari7638 2 жыл бұрын
Because you need to create a new table or temporary table with CREATE statement which contains fields from both tables, including the field for Action. Let's say that target and source have next table structure: BusinessEntityID int, AccountNumber nvarchar(10), Name nvarchar(10), CreditRating int I need to create table #MergeResults like: Create table #MergeResults (BusinessEntityID int, AccountNumber nvarchar(10), Name nvarchar(10), CreditRating int, ActionTaken nvarchar(10), new_BusinessEntityID int, new_AccountNumber nvarchar(10), new_Name nvarchar(10), new_CreditRating int) then the last statement or OUTPUT deleted.*., $action, inserted.* into #MergeResults will work. Hope it will help someone. 😄
@MpT_Head
@MpT_Head Жыл бұрын
@@tihanapolezari7638 This did help a lot, thanks. James probably should have shown the temp #MergeResults table and also explained how the Output works to put the old and the new data in the correct columns. I haven't really worked with Triggers before so when he said 'If you've worked with Triggers before...' it was remiss not to explain for those who hadn't.
@Raj-ph1py
@Raj-ph1py 4 жыл бұрын
Excellent tutorial
@JamesOliver
@JamesOliver 4 жыл бұрын
Much appreciated. :)
@johnli6706
@johnli6706 2 жыл бұрын
Nice presentation, but you missed the update when only CreditRating changes.
@riccarrasquilla379
@riccarrasquilla379 5 ай бұрын
thanks for the video
@FloKluge
@FloKluge 2 жыл бұрын
Cool video, but the merge did not update a rating change from 1 to 2 or from 2 to 1.
@thomasjordan454
@thomasjordan454 3 жыл бұрын
Awesome video thanks
@romeokamil
@romeokamil 3 жыл бұрын
wow, they were very quick 10 minutes :)
@dmitryvlasov931
@dmitryvlasov931 3 жыл бұрын
Good job!
@harshalpatel555
@harshalpatel555 4 жыл бұрын
Hey James How do i get this script to practise
@JamesOliver
@JamesOliver 4 жыл бұрын
Let me check if I can find it
@Renad-bm3ph
@Renad-bm3ph 3 жыл бұрын
thank you angel
@israell9320
@israell9320 3 жыл бұрын
Awesome!! thanks
@TheSomestuffs
@TheSomestuffs 3 жыл бұрын
Good...
@thedatastoryteller5692
@thedatastoryteller5692 3 жыл бұрын
Tech people can learn to actually ARTICULATE from you as they need your coaching. I work with tech people and NEVER understand their explantions.
SQL Cursors - how and when to use them
7:45
James Oliver
Рет қаралды 66 М.
Expert Level SQL Tutorial
23:27
James Oliver
Рет қаралды 158 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
SQL Unpivot and more
14:45
James Oliver
Рет қаралды 13 М.
58 Merge Statement in SQL Server
11:14
Learn SSIS
Рет қаралды 6 М.
Building an Enterprise Data Warehouse
21:20
James Oliver
Рет қаралды 29 М.
Learn 12 Basic SQL Concepts in 15 Minutes (project files included!)
16:48
Master SQL like a Pro in 20 Minutes
21:12
James Oliver
Рет қаралды 26 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 223 М.