SQL Regex Complete Tutorial | Practice with 20+ SQL Queries | Pattern Matching | Regular Expressions

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025
  • In this tutorial, we learn about the SQL Regular Expressions.
    We also write 20 + Practice Queries.
    The SQL queries discussed in this tutorial can be found here -
    know-star.blog...
    Must Do Data Analytics Certifications -
    Google Data Analytics Professional Certificate
    imp.i384100.ne...
    Google Advanced Data Analytics Professional Certificate
    imp.i384100.ne...
    Please do not forget to like, subscribe and share.
    For enrolling and enquiries, please contact us at
    Website - knowstar.org/
    Instagram - / learn.knowstar
    Facebook - / knowstartrainings
    Linkedin - www.linkedin.c...
    Email - learn@knowstar.org

ความคิดเห็น • 74

  • @thedatakid1270
    @thedatakid1270 2 ปีที่แล้ว +2

    Your channel is really good. Please keep uploading videos , I watch every video it's helpful to improve coding

  • @pratik5648
    @pratik5648 ปีที่แล้ว +1

    Thanks for the wonderful explanation

  • @naziyatarannum7196
    @naziyatarannum7196 7 หลายเดือนก่อน

    Excellent explanation! Thank you so much 😊

  • @KrishnaGupta-dd1mo
    @KrishnaGupta-dd1mo 2 ปีที่แล้ว

    I was looking for a regex SQL video. I found this. Really awesome video.

  • @diydecor2653
    @diydecor2653 2 ปีที่แล้ว +1

    Very detailed and clear explanation. The examples really help a lot. Thank you.

  • @papachoudhary5482
    @papachoudhary5482 ปีที่แล้ว +2

    Great

  • @MethodOverRide
    @MethodOverRide 2 ปีที่แล้ว +1

    Fantastic video! I didn't know the underscore could be used like that to create a pattern.

  • @agafow
    @agafow 2 ปีที่แล้ว +2

    Well done video!! I have problem similar to this. i have 8 digits numbers i want categorize first two numbers, example 01-05, then 06-15, and so on. thank for your efforts

  • @jaybuddhadev9889
    @jaybuddhadev9889 ปีที่แล้ว

    Helpful, thanks

  • @saktibiswal6445
    @saktibiswal6445 2 ปีที่แล้ว +3

    Really well explained although regex in MSSQL Server is very limited as compared to the regex functions in Oracle.

  • @Beyondhorizons-i5z
    @Beyondhorizons-i5z 2 ปีที่แล้ว +1

    Very well explained 🙂

  • @sathyesh-si5vy
    @sathyesh-si5vy ปีที่แล้ว

    Very useful🎉

  • @timmytesla9655
    @timmytesla9655 2 ปีที่แล้ว

    Great video. Thank you!

  • @nileshjadhav4396
    @nileshjadhav4396 ปีที่แล้ว

    Good content. Keep uploading

  • @vishakhasingh3162
    @vishakhasingh3162 ปีที่แล้ว

    Best explanation ever thanku so much ma'am 😘❤️🙏

  • @kingstonxavier
    @kingstonxavier 2 ปีที่แล้ว

    well explained! deserve more likes.

  • @urvxfvdzrnp
    @urvxfvdzrnp 2 ปีที่แล้ว

    Great tutorial 👍

  • @hasanmougharbel8030
    @hasanmougharbel8030 2 ปีที่แล้ว

    Hey, god bless your efforts.
    I have a simple enquiry as a newbie.
    How can i identify the character set of a special language that contain special characters.
    Is that related to data type assignment.
    Also, how can encompass special characters from different character set at once.
    Thanks for taking care of my enquiry.

  • @duraimurugan-yy9hx
    @duraimurugan-yy9hx ปีที่แล้ว

    Can you give an example for checking date format

  • @sivaprasadreddybojjireddy9831
    @sivaprasadreddybojjireddy9831 2 ปีที่แล้ว

    Thanks alot ☺️

  • @sandeepverma-qi6lo
    @sandeepverma-qi6lo 2 ปีที่แล้ว +1

    could you please make videos on plsql

    • @LearnatKnowstar
      @LearnatKnowstar  2 ปีที่แล้ว

      We have uploaded a recent video on stored procedures. Will be uploading more soon.

  • @kashmirshadows8150
    @kashmirshadows8150 2 ปีที่แล้ว

    Thank you

  • @akashkumarkashyap4850
    @akashkumarkashyap4850 ปีที่แล้ว

    Could you please provide the data set

  • @akumas23
    @akumas23 2 ปีที่แล้ว +1

    How about dynamic creation of json file

    • @LearnatKnowstar
      @LearnatKnowstar  2 ปีที่แล้ว

      Will plan to cover the topic soon. Thank you.

  • @seasonz75
    @seasonz75 9 หลายเดือนก่อน

    Dear Ma'am, Please share the link for the dataset for this tutorial. Thanking you in advance.

    • @LearnatKnowstar
      @LearnatKnowstar  9 หลายเดือนก่อน

      You can download the AdventureWorks database from Microsoft website at the below link - learn.microsoft.com/en-us/sql/samples/adventureworks-install-configure?view=sql-server-ver16&tabs=ssms

  • @mahesh_da
    @mahesh_da 2 ปีที่แล้ว

    Can you plz make the videos on python for data engineer. Plz help us for the python toics

    • @LearnatKnowstar
      @LearnatKnowstar  2 ปีที่แล้ว

      Sure. We are already working in the python tutorial videos and they will be posted soon 👍

    • @prabhatgupta6415
      @prabhatgupta6415 ปีที่แล้ว

      @@LearnatKnowstar please bring python questions as well mam

  • @lukendrak1581
    @lukendrak1581 2 ปีที่แล้ว

    Thank u mam

  • @RamaKrishna-ll8iz
    @RamaKrishna-ll8iz 10 หลายเดือนก่อน

    `Hi madam, i have downloaded backup file. could you please help me how to upload/import that back up file to server.
    i am local server(Windows authentication). I have 10 databases. if i import/attach/download backup file is there any chance those previous 10 databases will be lost

    • @LearnatKnowstar
      @LearnatKnowstar  10 หลายเดือนก่อน

      Hi, Please follow the steps in this video - th-cam.com/users/shorts4hjFxdQpkbQ?feature=share

  • @anuragshrivastava7855
    @anuragshrivastava7855 ปีที่แล้ว

    same regex wont work in mysql?

  • @mohit189
    @mohit189 ปีที่แล้ว

    If you can answer my doubt....
    You said '^abc' means 'not abc'
    But i read on the internet that it means 'start with abc''

    • @mitchelaraw7146
      @mitchelaraw7146 8 หลายเดือนก่อน

      ^abc start with abc [^abc] not abc

  • @lakshmiprasad2990
    @lakshmiprasad2990 2 ปีที่แล้ว

    How can write a query to extract keywords from URL using this regex SQL query

    • @happywhoopee
      @happywhoopee 2 ปีที่แล้ว

      Hey! Did you find the solution?

  • @kevinagdeppa4935
    @kevinagdeppa4935 2 ปีที่แล้ว +2

    Im confused. I thought the character "^" means the start of the character in REGEX

    • @MethodOverRide
      @MethodOverRide 2 ปีที่แล้ว

      This is TSQL pattern matching not Regex like one might use in Python or C#. It's similar, but not nearly as powerful based on my experience with it. But it's what you have available to use with TSQL PATINDEX etc.

    • @LearnatKnowstar
      @LearnatKnowstar  2 ปีที่แล้ว

      It means start of character in Oracle regex which is much more powerful than for SQL Server.

  • @kavitadilse7286
    @kavitadilse7286 ปีที่แล้ว

    please upload the data for practice

  • @hv0032113
    @hv0032113 2 ปีที่แล้ว

    Select * from table where col not like '%[^A-Z]%'

  • @kristyowens2284
    @kristyowens2284 2 ปีที่แล้ว

    select from table where value like '%[^A-Z]%'

  • @Shinzouille
    @Shinzouille 2 ปีที่แล้ว +1

    What a joke ! RegExp ? Really ? You'd better specify in your title that it's MS-SQL ! It's not really REGEXP so limited, even MySQL is better and totaly free !

  • @landchennai8549
    @landchennai8549 3 หลายเดือนก่อน

    Pull PANNUMBER from the String:
    declare @Panumn table(Id int identity(1,1), Pan varchar(32))
    insert into @Panumn values ('CUHPP8945R'),('qsqCUHPP8945Rcsd')
    select *
    , substring(Pan,PATINDEX('%[A-Z][A-Z][A-Z][A-Z][A-Z][0-9][0-9][0-9][0-9][A-Z]%',Pan),10) as ExactPan
    from @Panumn

  • @TriangleLife__Raj_Mrittik
    @TriangleLife__Raj_Mrittik ปีที่แล้ว +1

    Thank you the documentation will help a lot

  • @thedatakid1270
    @thedatakid1270 2 ปีที่แล้ว +1

    Your channel is really good. Please keep uploading videos , I watch every video it's helpful to improve coding