Тёмный
No video :(

SQL - Merge 

James Oliver
Подписаться 12 тыс.
Просмотров 35 тыс.
50% 1

This video covers how to use the merge statement with t-sql.

Опубликовано:

 

25 окт 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 51   
@safkaify7875
@safkaify7875 Час назад
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 Год назад
Crushed it Visuals + well paced script + audio on point 👑 Content king!
@ottmiller4028
@ottmiller4028 3 года назад
James, your explanations are lucid and thorough. Thank you for your efforts.
@cidaiha
@cidaiha Год назад
Thank you, PERFECT EXPLANATION !
@anawadtom6011
@anawadtom6011 2 года назад
Simple, clear explanation. Thanks!
@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 Год назад
Agreed
@abcxyz6606
@abcxyz6606 3 года назад
Wow, this is very neat. TY for these.
@bobocrazvan-marius801
@bobocrazvan-marius801 2 года назад
Very helpful video, thank you for the explanation!
@apoorvavanaparthi8853
@apoorvavanaparthi8853 6 месяцев назад
Thank you so much for this clear and concise explanation!!!!!!! 🙏
@CrazySw3de
@CrazySw3de 3 года назад
Great video, easy to understand explanation with clear examples and nice editing.
@makeittrades5750
@makeittrades5750 3 года назад
wow what a cool tutorial, loved it!
@RC-ql5lp
@RC-ql5lp 3 года назад
Great tutorial. I have learn a new command in t-sql.
@emrc9777
@emrc9777 Год назад
Excellent video! ❤
@sumit-visatotravel8780
@sumit-visatotravel8780 4 месяца назад
Very well explained!
@mohammadhaque1873
@mohammadhaque1873 2 года назад
Thank you, very nicely explained.
@abbasmuhammed214
@abbasmuhammed214 Месяц назад
thank you so much, I appreciate that, and it was very useful
@RainSoundsToConcentrate
@RainSoundsToConcentrate 8 месяцев назад
Amazing video ,ty 😎
@thomasjordan454
@thomasjordan454 2 года назад
Awesome video thanks
@dmitryvlasov931
@dmitryvlasov931 3 года назад
Good job!
@riccarrasquilla379
@riccarrasquilla379 12 дней назад
thanks for the video
@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?
@fo1487
@fo1487 2 года назад
I liked your video, ty
@Raj-ph1py
@Raj-ph1py 3 года назад
Excellent tutorial
@JamesOliver
@JamesOliver 3 года назад
Much appreciated. :)
@israell9320
@israell9320 3 года назад
Awesome!! thanks
@maheshbabu6925
@maheshbabu6925 2 года назад
Nice explanation James
@JamesOliver
@JamesOliver 2 года назад
Appreciate it very much. :)
@Renad-bm3ph
@Renad-bm3ph 3 года назад
thank you angel
@iliashterev38
@iliashterev38 5 месяцев назад
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.
@sayfriseup172
@sayfriseup172 Год назад
Any Idea about 'Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "French_CI_AS" in the equal to operation.
@romeokamil
@romeokamil 2 года назад
wow, they were very quick 10 minutes :)
@chriskeo392
@chriskeo392 Год назад
More advanced merge videos?!? And more on how to leverage OUTPUT
@TheSomestuffs
@TheSomestuffs 3 года назад
Good...
@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.
@rntech4541
@rntech4541 Год назад
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#?
@sreelakshmia6762
@sreelakshmia6762 2 месяца назад
Do you have same in oracle?
@rapo107
@rapo107 3 года назад
James... Missing your MSTR videos a lot. Please make videos..🙏
@JamesOliver
@JamesOliver 3 года назад
MicroStrategy video coming Monday
@DeekshaKatiyar-wn7ub
@DeekshaKatiyar-wn7ub Год назад
Hey I am facing issues in merge. Getting an error saying "Merge is not valid at this position"....
@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 2 года назад
hi did select on top 7 from source table, 1524 was not in top 7 but matched the values for the merge.
@LearnSalesforceWithPiyush
@LearnSalesforceWithPiyush 2 года назад
How to merge two stored procedures in mysql.
@johnli6706
@johnli6706 Год назад
Nice presentation, but you missed the update when only CreditRating changes.
@harshalpatel555
@harshalpatel555 3 года назад
Hey James How do i get this script to practise
@JamesOliver
@JamesOliver 3 года назад
Let me check if I can find it
@FloKluge
@FloKluge Год назад
Cool video, but the merge did not update a rating change from 1 to 2 or from 2 to 1.
@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
Просмотров 59 тыс.
Expert Level SQL Tutorial
23:27
Просмотров 153 тыс.
58 Merge Statement in SQL Server
11:14
Просмотров 4,2 тыс.
MS SQL Server.  DML.  06.  Оператор MERGE.
18:51
Просмотров 3,5 тыс.
SubTotals with SQL using ROLLUP
7:06
Просмотров 10 тыс.
SQL Performance Tips
8:47
Просмотров 7 тыс.
Building an Enterprise Data Warehouse
21:20
Просмотров 28 тыс.
Using SQL Merge for SCD ETL
9:15
Просмотров 8 тыс.