UNPIVOT in SQL Server

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2024

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

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

    Very simple procedure. Thank you for sharing

  • @krzysztofs8535
    @krzysztofs8535 7 ปีที่แล้ว +7

    Thank U for educating community! You are master of SQL Server and the way of your style of teaching is just superb! Best regards from Poland ! Keep goin' please!

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

    Extremely clear and concise instructions. Thanks!

  • @nehasingh-ue1gi
    @nehasingh-ue1gi ปีที่แล้ว

    This is just amazing :) Part 55* for pivot in sql server

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

    Thank you Sr. You are making my life much easier :)

  • @lewisshaw4421
    @lewisshaw4421 6 ปีที่แล้ว

    Thanks for this, much easier to understand via video then the written word.

  • @lahubhawar696
    @lahubhawar696 5 ปีที่แล้ว

    Thank you very much for such a detailed and clear explanation

  • @AmitKumar-pc3ly
    @AmitKumar-pc3ly 8 ปีที่แล้ว

    Excellent Video ! Well Explained Venkat !

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

    God bless you Sir..

  • @jasons7310
    @jasons7310 9 ปีที่แล้ว +3

    Hello Venkat, your videos are great and have helped me a great deal so I thank you! I was wondering if you will be doing a video on using Client Statistics and Execution Plans soon?

  • @OsmanOlmedo
    @OsmanOlmedo 8 ปีที่แล้ว

    thanks. Very clear explanation.

  • @shreyanair7347
    @shreyanair7347 3 ปีที่แล้ว

    Understood 😉 clearly

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

    thank u so much for this video

  • @zhussupbekzhidebay7990
    @zhussupbekzhidebay7990 6 ปีที่แล้ว

    Thanks a lot! It helped me solve problem!

  • @johnnyvlee
    @johnnyvlee 5 ปีที่แล้ว

    That was a very clear example, which is great. But could you go a bit more in-depth with more complex examples? For example, I have a case where I want to Unpivot 36 columns in a table into 36 rows with the column name and the value from that column, but the data types in each column are not identical.

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

    Thanks. Very clear explanation. I was confused on how to use UNPIVOT until I watched your video.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  8 ปีที่แล้ว +1

      Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
      th-cam.com/users/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs or to download all the videos for offline viewing please visit
      www.pragimtech.com/order.aspx
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      th-cam.com/video/y780MwhY70s/w-d-xo.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      th-cam.com/users/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
      Good Luck
      Venkat

  • @yadiramedinacometa1901
    @yadiramedinacometa1901 4 ปีที่แล้ว

    Excelente ayuda, gracias.

  • @gp7178
    @gp7178 7 ปีที่แล้ว

    Thank you for this video Venkat. Is there a way to dynamically use the Upivot operator?

  • @raqibulAlam-su3jo
    @raqibulAlam-su3jo 9 ปีที่แล้ว +1

    Nice tutorial.

  • @KevinNguyenSESE
    @KevinNguyenSESE 8 ปีที่แล้ว

    Thank you for this great video. Might I ask a question? Suppose there are two types of fields that needs to be unpivoted. For your example you unpivot three countries into a new field 'country'. But let's suppose for each of those three country there is a field indicating market strength. So in my result table I would like {sales agent; country; marketstrength; salesamount}. The method to do this in excel requires concatenation then splitting. What is the SQL method? I am trying to automate some data transformation for analysis. Thank you for any help.

  • @TheCarloszoom3000
    @TheCarloszoom3000 7 ปีที่แล้ว

    Hi. I have a table and by doing the selection (SELECT `value`,`title`FROM `jos_facileforms_subrecords` WHERE `record`=80), I get the value and title, each one being a column with records below them. How would it apply to make the title values all the rows and the value records the row below that?
    I appreciate your help.
    Regards,

  • @murlimohanmahalanka3213
    @murlimohanmahalanka3213 6 ปีที่แล้ว

    Hi venkat .. why u have use alias name for unpivot i.e unpivotexample . where it is used.

  • @Yoemer94
    @Yoemer94 4 ปีที่แล้ว

    Thanks a lot!

  • @anastasiia3840
    @anastasiia3840 4 ปีที่แล้ว

    Thank you!!!

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

    Am getting Error While executing the query like Sub query does not contain the unpivoting column(s) 'India, US, UK', mentioned in the UNPIVOT operator.

  • @claudiofondital5871
    @claudiofondital5871 6 ปีที่แล้ว

    Thank you!

  • @richardwood8815
    @richardwood8815 4 ปีที่แล้ว

    Thank you :-)

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

    Can anyone suggest, what is the alternative for this pivot/unpivot method in MySQL?

  • @muhammadrehbarsheikh8498
    @muhammadrehbarsheikh8498 9 ปีที่แล้ว

    Thanks sir!!

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

    Hello Venkat. I am trying to get calendar weeks as column names weekending is sunday for 1 year. if the month has started again it need to start as 1st week of that month
    example: Jan has ( 6 weeks (1, 2-8, 9-15, 16-22, 23-39,30-31)) in Feb has 5 weeks
    January: 123456, February: 6,7,8 instead of that 12345
    I want this results because i am getting count results based on month, weeks how to write query for my requirement

  • @binbinbinvininfo6992
    @binbinbinvininfo6992 4 ปีที่แล้ว

    Hello after this how can I save the unpivoted table in SQL Server?

  • @prathyushasaineni6999
    @prathyushasaineni6999 9 ปีที่แล้ว

    hello sir explain about delete and truncate sir........

  • @arunanthony7534
    @arunanthony7534 5 ปีที่แล้ว

    Is there another way to unpivot

  • @valijoneshniyazov3859
    @valijoneshniyazov3859 4 ปีที่แล้ว

    where to download database!?

  • @valijoneshniyazov3859
    @valijoneshniyazov3859 4 ปีที่แล้ว

    were is database?

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

    error coming

  • @israkvelvarga993
    @israkvelvarga993 3 ปีที่แล้ว

    An university course free

  • @ivannasoton
    @ivannasoton 3 ปีที่แล้ว

    thank you soo much!

  • @zeee9522
    @zeee9522 6 ปีที่แล้ว

    Thank you!