Тёмный
Bert Wagner
Bert Wagner
Bert Wagner
Подписаться
I release a new SQL video every Tuesday, showing tips and tricks and helping you solve your SQL problems.

The code and additional blog content referenced in my videos can be found at: bertwagner.com/
curl and Multi Page Forms
10:45
2 года назад
Moving 1/3 of a Heap
5:07
4 года назад
COMING SOON
3:12
4 года назад
Azure SQL vs Azure Table Storage
8:09
4 года назад
When UPDATE statements DELETE rows!
3:47
4 года назад
Speaking at PASS Summit 2019
4:43
4 года назад
SQL Server's "Wrong" Math
5:03
5 лет назад
SQL Server Cached Plan Reuse
12:09
5 лет назад
SQL Server Execution Plan Operators
11:15
5 лет назад
Комментарии
@abhay6276
@abhay6276 23 часа назад
Hi bro if you could have explained in practical way it would have been better for all of viewers.
@kaushikbudi8819
@kaushikbudi8819 7 дней назад
Doesn't this contradict the other video "Does The Order Of Index Columns Matter? " info
@kylemitstack
@kylemitstack 20 дней назад
Nice explanation! Maybe just personal preference, but I feel like CTEs are so much easier for my brain to wrap my head around than derived tables. Flow moves top down and reduces indentation. Is there a perf or pref reason to go with inner subqueries?
@ahmettek315
@ahmettek315 26 дней назад
As I read it, SQL server query planner isn't doing a good job and this hasn't been corrected even in the last version. Other databases do not have this problem as far as I know. And also the explanation doesn't really make sense, why would it generate a nonoptimal plan for that sample or for even the simplest queries with NO PARAMETERS at all. If you think about the sample, it is nonsense to use table scan in the first place. when you could use an index. If I have 100,000 rows and the query would return 99,000 of it well yeah table scan is better, really? How much SQL server would gain not using the index there? That would obviously hurt the searches that would return 10 or 1000 rows and SQL server still chooses this plan, great minds. This is a real query that was causing problem (only field and table names are altered): select Id, myId, myType, myJSON from myTable where IsProcessed=0 and IsValid = 1 order by processingDate asc offset 0 rows fetch next 1000 rows only; This query, returning only 20-30 rows, from a table of 2.5 million rows started to take over a minute, despite there were indexes that SQL server could utilize for this. I wasn't the original author and I fixed this, clearing the plan cache + creating a filtered index on processingDate. The issue is, creating and populating that index didn't even take a second. SQL server should and could do this behind the scenes instead of generating an insanely bad plan. Of course I could claim SQL server query planner is a bug in itself and I could be right, but who am I to question MS - looks like they fail to copy the good parts from open source :)
@henryalferink1941
@henryalferink1941 Месяц назад
Great animations!
@shaiktahir-o8l
@shaiktahir-o8l Месяц назад
Not working for me
@shaileshdeshmukh1103
@shaileshdeshmukh1103 2 месяца назад
ghanta kuch samajh mei nahi aya...sirf chilam challi kuch query run karke ke batata to thik tha
@geraldwilliams5320
@geraldwilliams5320 2 месяца назад
Extremely useful video! I've been leaning on window functions heavily since I first learned about them, only to now realise that I may have been slowing my queries down drastically. Whoopsie.
@navedahmad5353
@navedahmad5353 2 месяца назад
Thanks! for explaining with practical examples
@chrisdawes7270
@chrisdawes7270 2 месяца назад
Too simplistic to use in real scenarios...
@jleadbetter29
@jleadbetter29 2 месяца назад
Very late to the game... Couldn't get the "animation" working at first. Had to go to Options Search for "Results to Text" Check "Scroll as results are recieved" Fiddle with the result pane size and it's working like a champ! Hope this helps someone.
@neonnuggetchoco
@neonnuggetchoco 2 месяца назад
great stuff
@peersahabnizami1479
@peersahabnizami1479 2 месяца назад
Found just stories in all videos. normally we watch video tutorials to understand practical stuff otherwise theory we can read from some web page(s).
@oscarcymru4835
@oscarcymru4835 3 месяца назад
talk slower, let people absorb what you are saying. Also explain how you ingested the co-ordinates polygons
@Finezzato
@Finezzato 3 месяца назад
There is not a single chance in the world to get rid off Nested loops, not even 0,0000001% chance buddy
@nvmcommunity
@nvmcommunity 3 месяца назад
Video này rất thú vị và hữu ích. Ý tưởng đề cập đến rất sáng tạo và giải thích rõ ràng. Nội dung được thể hiện rất tốt và gây ấn tượng mạnh. Tôi rất thích xem video này. 🌻🌹
@matthewmeloney4883
@matthewmeloney4883 3 месяца назад
hey Bert (or anyone else that knows :)) - at 6:50 you talk about viewing the cach plans by looking at the 'DMV' called dm exec etc etc. What is a DMV in this context? Just trying to understand what those commands are... where do they come from? What is this 'DMV' that you refer to?
@airst8695
@airst8695 3 месяца назад
Hi Bert, I didn't set up payment in the OpenAI settings but they still gave me an API key. Took me a minute to figure out why the Talkie wasn't working. Working now, thanks!
@DataWithBert
@DataWithBert 3 месяца назад
Thanks for giving it a try. I hope it helps you!
@АйбекМолдахметов-щ9у
@АйбекМолдахметов-щ9у 3 месяца назад
Thanks🎉
@shadowitself
@shadowitself 4 месяца назад
content that is worth its time :) credits for such valuable materials :) thx!!! btw why You have the Polish emblem (white eagle on red shield) on your laptop? :)
@macmcmillen6282
@macmcmillen6282 4 месяца назад
That's a very cool solution. Thanks!
@619vijay
@619vijay 4 месяца назад
Awesome video
@jerichaux9219
@jerichaux9219 5 месяцев назад
Hiya Bert; I don’t have an alternative/better/likely worse solution to your problem (though I do love these kinds of things!), nor do I even know if you ever come back and read the comments (hopefully so, I’ve watched quite a lot of them and everyone seems mostly positive - which is about the best you can hope for with RU-vid comments). I do just want to say THANK-YOU for taking the time to put these together; they’re VERY well done, concise, span and broad range of SQL topics, provide in-depth knowledge in an understandable fashion, and go far beyond the deluge of basic/beginner topics that so many channels seem to focus on. I’m a dev, and as you know it’s a lifelong commitment to learning about things that change every day and potentially won’t even be relevant in a decade or so (ᕕ( ᐛ )ᕗ), and part of that commitment is reading articles, SO, and watching RU-vid videos to try and keep my knowledge current, refreshed, and hopefully ever-growing. Your videos are phenomenal for that: I can’t find the mental bandwidth after a long day to watch a slow, dry, hour long video on SQL that MAY make some interesting points. The cost/benefit analysis just doesn’t check out. Your videos, on the other hand, are spectacular! They’re fast-paced, you don’t pontificate ad infinitum, and (as mentioned) the content is phenomenal. So, Bert: I say thank-you! I’ve already begun recommended your channel to the coworkers that I like :)
@Surrealistic_Ganerson
@Surrealistic_Ganerson 5 месяцев назад
Great video!
@walterferreiradossantos2378
@walterferreiradossantos2378 5 месяцев назад
Very good examples. Thanks man.
@rajkumar-oy3ni
@rajkumar-oy3ni 5 месяцев назад
your content and explanation is good but for further videos can you please remove background music, difficult focus on what you said
@tsunningwah3471
@tsunningwah3471 5 месяцев назад
k j n
@tsunningwah3471
@tsunningwah3471 5 месяцев назад
可能,你,那麼,那麼,那麼,那麼,你,嗎你們,你,m
@kuzco7061
@kuzco7061 6 месяцев назад
I must say, I was kinda skeptical but this really helped me get a quick overview of Cardinality. Thank you!!!
@grandetaco4416
@grandetaco4416 6 месяцев назад
I like the 3rd option, but hate it too and not just for maintenance. The idea of having to put that through peer review and production approval would be lovely to explain to others as well as documenting everything so people know why you have duplicate code.
@dawidbiell
@dawidbiell 6 месяцев назад
cool introduction 👍
@Ramkumar-uj9fo
@Ramkumar-uj9fo 6 месяцев назад
Temporal SQL and Complex Event Processing (CEP) serve different purposes and are not direct substitutes for each other. Temporal SQL, also known as "time-centric SQL," extends traditional SQL with features for handling temporal data, such as valid-time and transaction-time semantics. It allows querying data based on time intervals, historical snapshots, and temporal relationships. Temporal SQL is useful for scenarios where you need to track changes to data over time, analyze historical trends, or perform time-based queries. On the other hand, Complex Event Processing (CEP) is a technology used for analyzing and correlating streams of events in real-time to identify patterns, detect complex conditions, and trigger actions or alerts. CEP systems typically process high volumes of streaming data from various sources and apply rules or patterns to identify meaningful events or combinations of events. CEP is commonly used in applications such as fraud detection, monitoring IoT devices, and financial trading. While both Temporal SQL and CEP deal with time-related data, they address different aspects of data processing. Temporal SQL focuses on querying and managing temporal data stored in databases, while CEP focuses on real-time analysis and processing of streaming event data. In some cases, you may use both technologies together to handle different aspects of time-sensitive data processing in your applications. ChatGPT verified Used some versioning built in into databases
@astrongchristian
@astrongchristian 6 месяцев назад
Have you seen a QBSQL query that requires W - with the bar over laid onto the W to replace a / symbol?
@AliaksandrSmirnou
@AliaksandrSmirnou 6 месяцев назад
what is sound track plays?
@sonjeehe
@sonjeehe 6 месяцев назад
ㅠㅠㅠ 너무 감사합니다 이 문제로 삽질을 얼마나 했는지 ㅠㅠ 정말 요즘 세상에 8000자로 짜른다니 이해가 안되네요
@sarys5169
@sarys5169 6 месяцев назад
Perfect explanation
@DanielLaycock-t9x
@DanielLaycock-t9x 7 месяцев назад
Mine doesn't do anything when I click it. Doesn't work for me.
@DaniLearnsIT
@DaniLearnsIT 7 месяцев назад
The way this has to be done feels like all the things database classes tell you not to do :(
@997Pancakes
@997Pancakes 7 месяцев назад
These videos are gold. Thank you for making them.
@davidwagner6859
@davidwagner6859 8 месяцев назад
Thank you for the info, is it an issue if the execution plans are never reused? We have an EHR data base and the execution plans are showing 0 for reuse. Just wondering if that's normal.
@trishlasaxena9970
@trishlasaxena9970 8 месяцев назад
this video is really helpful . I have a doubt. If I have defined clustered and non clustered index and we are inserting new row, it will add the newly added row in specific position and shift other rows as per clusterd index. So, how non clustered index is getting benefitted here on inserting new rows. And is that possible to have table without any clustered index.
@rodrigoalves8554
@rodrigoalves8554 8 месяцев назад
Great video!
@tore28
@tore28 8 месяцев назад
Pinal Dave is my hero.
@blender_wiki
@blender_wiki 8 месяцев назад
Misleading at best
@vasudevakotti2894
@vasudevakotti2894 9 месяцев назад
Thank you For Spatial DB we have lots of information on PostGIS very less for SQL This is highly informative for MS SQL DBA's
@ProjectTesttest
@ProjectTesttest 9 месяцев назад
We can also use the keyword N'' before the string to specify the encoding unicode and it would be able to store more data
@brennermusgrave4052
@brennermusgrave4052 9 месяцев назад
Am I the only one who noticed the Polish eagle sticker on his laptop? Where do I get one?
@wasd782
@wasd782 9 месяцев назад
Thanks for this making tutorial. It's just what I needed.
@irisbradford6593
@irisbradford6593 9 месяцев назад
Thanks Bert! Big Help 😁👍 You're a Cool Dude.
@MrJrhzues
@MrJrhzues 10 месяцев назад
You're new I'm just starting this video... I'm gonna watch this..