UNPIVOT in SQL Server

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ •

  • @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!

  • @mosesamponsah4824
    @mosesamponsah4824 2 місяці тому

    Very simple procedure. Thank you for sharing

  • @Ngen0519
    @Ngen0519 8 років тому +1

    Extremely clear and concise instructions. Thanks!

  • @lewisshaw4421
    @lewisshaw4421 6 років тому

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

  • @LUPECARREON
    @LUPECARREON Рік тому

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

  • @nehasingh-ue1gi
    @nehasingh-ue1gi Рік тому

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

  • @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..

  • @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
      ua-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.
      ua-cam.com/video/y780MwhY70s/v-deo.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ua-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

  • @OsmanOlmedo
    @OsmanOlmedo 8 років тому

    thanks. Very clear explanation.

  • @zhussupbekzhidebay7990
    @zhussupbekzhidebay7990 6 років тому

    Thanks a lot! It helped me solve problem!

  • @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?

  • @raqibulAlam-su3jo
    @raqibulAlam-su3jo 9 років тому +1

    Nice tutorial.

  • @shreyanair7347
    @shreyanair7347 3 роки тому

    Understood 😉 clearly

  • @yadiramedinacometa1901
    @yadiramedinacometa1901 4 роки тому

    Excelente ayuda, gracias.

  • @poonammahto6442
    @poonammahto6442 2 роки тому

    thank u so much for this video

  • @Yoemer94
    @Yoemer94 4 роки тому

    Thanks a lot!

  • @anastasiia3840
    @anastasiia3840 4 роки тому

    Thank you!!!

  • @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.

  • @claudiofondital5871
    @claudiofondital5871 6 років тому

    Thank you!

  • @richardwood8815
    @richardwood8815 4 роки тому

    Thank you :-)

  • @gp7178
    @gp7178 7 років тому

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

  • @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.

  • @muhammadrehbarsheikh8498
    @muhammadrehbarsheikh8498 9 років тому

    Thanks sir!!

  • @murlimohanmahalanka3213
    @murlimohanmahalanka3213 6 років тому

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

  • @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,

  • @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.

  • @prathyushasaineni6999
    @prathyushasaineni6999 9 років тому

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

  • @girishggirishg1083
    @girishggirishg1083 2 роки тому

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

  • @binbinbinvininfo6992
    @binbinbinvininfo6992 4 роки тому

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

  • @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

  • @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 4 роки тому

    An university course free

  • @ivannasoton
    @ivannasoton 3 роки тому

    thank you soo much!

  • @zeee9522
    @zeee9522 6 років тому

    Thank you!