Temporary tables in SQL Server Part 34

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии • 93

  • @nachiket814
    @nachiket814 5 лет назад +25

    I wish ALL the tutorials on RUclips were this comprehensive and yet simple to understand. Excellent work. Thanks for this.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад +17

    Hi, thank you very much taking time to answer this question. As, I am receiving lot of questions everyday from our youtube users, I am finding it extremely difficult to answer all the questions in time. With your help I am confident, we will be able to answer most questions in time. Appreciate your time and effort. God bless you.

  • @sudheerswarna4341
    @sudheerswarna4341 10 лет назад +19

    Google'd across many websites, but none of them are clear than your tutorials... Best in Best

  • @MrAmrahan
    @MrAmrahan 21 день назад

    The best tutorial on MS SQL server. Thank you

  • @eshwarmmm958
    @eshwarmmm958 6 лет назад +4

    Bro, You are genius, Thank you so much, I read many articles about this, but i did not get clear idea. Now i got.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад +3

    Thank you very much for taking time to give feedback. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.

  • @TirumalaSrinivasudu
    @TirumalaSrinivasudu 7 месяцев назад

    Thanks for the video.. It's pretty clear explanation.. Keep posting more videos on sql...

  • @sujithsai5528
    @sujithsai5528 Год назад +1

    Most underrated sql course in youtube why these videos have less likes. i am learning easy as a beginner thankyou so much sir.

  • @vpraveendavuluri
    @vpraveendavuluri 10 лет назад +3

    Way of explanation is excellent and highly informative. Wouldn't get any better than this. Thanks a ton Sir !!!

  • @abeer_nawaf_sul
    @abeer_nawaf_sul 8 лет назад +1

    absolutely simple and clear .. greatest turorials on youtube.. thank you

  • @peternguyen9382
    @peternguyen9382 Год назад +3

    wow it has been 10 years ago. thanks for great work!

  • @SathishKumar-gs4er
    @SathishKumar-gs4er 8 лет назад +1

    The way of explanation is too good,i would like to watch all your SQL videos and learn SQL...Thanks a ton sir!!!

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  8 лет назад +2

      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
      ruclips.net/user/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs or to download all the videos for offline viewing please visit
      www.pragimtech.com/kudvenkat_dvd.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.
      ruclips.net/video/y780MwhY70s/видео.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ruclips.net/user/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

    • @SathishKumar-gs4er
      @SathishKumar-gs4er 8 лет назад

      As per your lesson i have created stored procedure for the purpose of avoid the slow pwrformance in sql...Even i am facing the same problem after the creation of stored procedure..Please help me...I am struggling with this Past 10 days....

    • @SathishKumar-gs4er
      @SathishKumar-gs4er 8 лет назад

      sir if possible please share your e mail ID or contact number...Please

  • @venkatarao5638
    @venkatarao5638 2 года назад

    Excellent And Good videos yet simple Learning to understanding.Thanks for this.

  • @KuriaNdungu
    @KuriaNdungu 8 лет назад +1

    Very well explained. Love your videos. you are blessed with the ability to explain in a way that is easy to understand. Thank you!

  • @krismaly6300
    @krismaly6300 10 лет назад

    AWESOME. Concept explained crystal clear. I would recommend others to watch.
    Thanks a bunch

  • @bsabhiram
    @bsabhiram 8 лет назад

    Simple way to illustrate the concepts. Thanks for sharing this playlist on SQL. I find videos far useful than reading books.

  • @rudrashivgan5476
    @rudrashivgan5476 9 лет назад +1

    Excellent Simply Excellent........I am Impressed

  • @krismaly
    @krismaly 11 лет назад

    I enjoyed watching this video. I suggest all developers to watch. Conceptually explained very clear. Also at the end mentioned interview questions on the topic.
    Dear Venkat I think after every video you make please include probable interview questions if possible that makes very good sense.
    Thanks a bunch

  • @zainulabideen8109
    @zainulabideen8109 5 лет назад +1

    Great Teacher Sir Venkat. Amazing Methodology with great knowldge

  • @AJSAMUEL12
    @AJSAMUEL12 11 лет назад

    Hi Venkat, thank you so much for making these videos and sharing your knowledge. You are doing an awesome job. God Bless you too :)

  • @rakeshpandey1899
    @rakeshpandey1899 2 года назад

    Still there are no such details I found in another channels..you are the best @kudvenkat sir 💐. Thankyou so much sir

  • @Nehasingh-ep1mf
    @Nehasingh-ep1mf Год назад

    This video helped me a lot....Very informative...

  • @barbaraulitsky9055
    @barbaraulitsky9055 3 года назад

    This video is very helpful! Thank you very much!

  • @lizabest7767
    @lizabest7767 2 года назад

    You are the best!!!! 🙏🙏🙏🙏🙏

  • @nimeshambalalpatel3032
    @nimeshambalalpatel3032 4 года назад

    Very nice sir!! My Pranams to you

  • @krzysztofs8535
    @krzysztofs8535 8 лет назад +1

    very useful video! Thanx Venkat!

  • @phpmysql2007
    @phpmysql2007 3 года назад

    You are clear and easy to understand thank you sir.

  • @noorabed7716
    @noorabed7716 11 лет назад

    i'll continue all the videos ... you are awesome :) THANK YOU

  • @deepak_shinde
    @deepak_shinde 2 года назад

    nicely explained..good communication

  • @sajidhameed1000
    @sajidhameed1000 9 лет назад +6

    Try to correct you sir well explained but in case of global temp table if you create a table in one connection and that connection is closed it will dropped automatically and you can't select query in second open connection.

    • @SuperGojeto
      @SuperGojeto 9 лет назад

      +Sajid Hameed thanks for the info i checked it programatically ur right global temp table also gets delted.

  • @jstbe
    @jstbe 3 года назад

    A really really really good explanation, thanks a lot!.

  • @anuragvashishtha6660
    @anuragvashishtha6660 11 лет назад

    Awesome explanation. Great work Venkat!!

  • @priyaramraj5207
    @priyaramraj5207 Год назад

    Thank you for a wonderful session.

  • @mohitmittalful
    @mohitmittalful 9 лет назад +2

    It is nice tutorial to enhance your knowledge..

  • @mrudangdalal
    @mrudangdalal 9 лет назад +7

    Hi, here one thing is not clear is, what is the need to having Temporary tables . Can you explain the use of it ?

    • @krishnendrabhattacharyya4609
      @krishnendrabhattacharyya4609 7 лет назад +2

      mrudang dalal sometimes when we have subquery joins in our SQL query,it tends to take more time...so to get better performance we use this temp table and use it in join directly rather than using subquery

    • @ragavendravignesh1028
      @ragavendravignesh1028 6 лет назад

      @@krishnendrabhattacharyya4609 is that the case. Then we are inserting values into temporary table manually. How come it resolve the problem when we had more values to insert. Everytime we have to do that right?

  • @surendra_tarai
    @surendra_tarai 2 года назад

    It seems very easy, i like your all videos. but It will better if you can keep less duration of video.

  • @aerobicsparadise
    @aerobicsparadise 11 лет назад

    Great job Venkat ! easy to follow. :)

  • @manaspratimbhuyan1312
    @manaspratimbhuyan1312 10 лет назад +1

    Thank you sir........its very very helpful..

  • @akshjanawadkar7824
    @akshjanawadkar7824 2 года назад

    i refer your video if unable to understand the concepts any where tq

  • @AzraFakri
    @AzraFakri 3 года назад

    If we have a stored proc that contains an insert into ##temp_table statement, do we need to add a line to drop the ##temp_table first before the actual insert into statement? I need to schedule the SP to run everyday. Thanks in advance.

    • @ajaymathur7137
      @ajaymathur7137 3 года назад

      Yes better do that, otherwise it will create a new temptable everyday which is not a good thing.

  • @salihasaeed9471
    @salihasaeed9471 6 лет назад +1

    is there any video related to table variable on your channel?

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  6 лет назад

      Hi Saliha - I think table variable is discussed in the following video, but not 100% sure on the level of detail. Please check it out when you have some time. Hope you will find it useful.
      ruclips.net/video/P3uBWp0qvlo/видео.html&index=101&list=PL08903FB7ACA1C2FB
      Here is the link to the full SQL Server playlist.
      ruclips.net/p/PL08903FB7ACA1C2FB

    • @salihasaeed9471
      @salihasaeed9471 6 лет назад

      thanks sir...

  • @vikasdubey9284
    @vikasdubey9284 4 года назад

    Hi venkat, I really appreciate your effort in sql server blogs and videos. i have learned a lot from videos for SQL server and we used in office work that is very much helpful.
    I have a question for you regarding sql query. if you could help me it would be grateful. One of interview ask me and i am not able to answer this.
    Question: Create a table procedure as per user requirement, Please follow the instruction is given below.
    Instruction: User can give multiple columns (Column 1, 2, 3, or 4 and So on), It should be dynamic column.
    Main Table
    A
    B
    C
    D
    E
    F
    G
    H
    Output: if user put two columns then:
    Column 1 Column 2
    A B
    C D
    E F
    G H
    Output: if user put three columns then:
    Column 1 Column 2 Column 3
    A B C
    D E F
    G H

  • @srodte
    @srodte 11 лет назад

    Very clear and easy to understand.

  • @damienbates
    @damienbates 3 года назад

    Thank you sir! Much appreciated.

  • @abobakereelgarari3843
    @abobakereelgarari3843 3 года назад

    thank you very much ❤️🌼

  • @AjeetSingh-oo6nt
    @AjeetSingh-oo6nt 7 лет назад

    Awesome Sir ji ...

  • @SuchiJainful
    @SuchiJainful 11 лет назад

    Indeed - Great explanation...

  • @arunkumarpathak6793
    @arunkumarpathak6793 3 года назад

    Hi i just want to know what happen when 1 global table is access by 2 connection at the same time and in both the connection update the global table so data is override or not in global table

  • @sssaamm29988
    @sssaamm29988 3 года назад

    Do we need any permissions to create a temporary table. We QA are general given read only access to query data.

  • @DINU19861
    @DINU19861 6 лет назад

    Hello sir, really good session. I have a question from this, can we have both schema binding and encryption for a function?

    • @tabrez1basha
      @tabrez1basha 6 лет назад

      Hi Dineash, Yes you can have both. Make use of WITH SCHEMABINDING, ENCRYPTION while creating or altering function

  • @breeyuan1032
    @breeyuan1032 10 лет назад

    Thank you for your clear explanation

  • @gmarupa
    @gmarupa 3 года назад

    Hi Venkat, very nice explanation. Could you please clarify the below question. The Global Temporary table will be destroyed as soon as the connection in which it is created closes. I don't think it will be there till the last connection referencing is closed.

  • @AJSAMUEL12
    @AJSAMUEL12 11 лет назад

    Hi Ben, you can't access the table #personaldetails from another query window. In the above query, we are not querying the table #personaldetails rather we are accessing the sysobjects table which stores information about temporary tables and some other info. We can access sysobjects table from any connection.

  • @sureshrajput5794
    @sureshrajput5794 9 лет назад +1

    very well explained sir (y)

  • @onlineaccount-wh2yx
    @onlineaccount-wh2yx Год назад

    I thought if two connections were open .We can't drop a global temp table from one of the connections unless it is the last connection .But I was able to delete global temp table from one of the connections even though another connection was still open . ?

  • @JenJen-sf5hg
    @JenJen-sf5hg 9 лет назад +1

    It looks like you have to enter your own data. How do you create a table with the data that is already in the database? Thank you!

  • @rathodkrunal
    @rathodkrunal 12 лет назад

    Nicely explained.

  • @gamergunna
    @gamergunna 11 лет назад

    Hello Venkat, I can access the local temporary from another connection when I copy and paste
    Select name from Tempdb..sysobjects
    Where name like '#persondetails%'
    to the new query window, why is this?
    You are amazing in the UK too ! Ben

    • @naznazira8651
      @naznazira8651 Год назад

      Did you found the answer to this question.
      Althought its not like accessing but we are able to list down from other connection too

  • @NooOnee1111
    @NooOnee1111 6 лет назад

    Hello Sir,
    i created store procedure with global temp table, and when i execute this store procedure in sql server , i can see the ##mytable in tempdb. but when execute same store procedure from web application then i'm unable to locate ##mytable in tempdb. but i'm able to retrieve data from ##mytable in web application.

  • @chaitanyakiran100
    @chaitanyakiran100 10 лет назад +2

    where is the video about table variable ?pls let me know ?

  • @rkfactsstories
    @rkfactsstories 2 года назад

    Temp tablets and magical tablets are the same or different 🤔

  • @rkfactsstories
    @rkfactsstories 6 лет назад

    good explanation sir

  • @dharmikraval6520
    @dharmikraval6520 Год назад

    How can I update the data in the table without affecting the base tables

  • @TheGayatri1
    @TheGayatri1 6 лет назад

    When do we use one over the other?

  • @deepro__
    @deepro__ 2 года назад

    Thanks, Sir

  • @gaurika4927
    @gaurika4927 7 лет назад +1

    when do we need these temporary tables?

  • @stutitehri993
    @stutitehri993 10 лет назад

    temp tables can be widely used in stored procedures

  • @narendra6173
    @narendra6173 7 лет назад +1

    where is the video MAGIC tables ?pls upload that video in one interview ask that question to me....please upload that one..

  • @obaidullahkawsar5080
    @obaidullahkawsar5080 7 лет назад

    Hello' i don't clearly understand of temporary table, in which area we use temp tables.

  • @TrueLove-cr4pu
    @TrueLove-cr4pu 5 лет назад

    Can you please explain magic tables concept?

  • @anilgarlapati8998
    @anilgarlapati8998 9 лет назад

    Thank you

  • @ranganathanmca1
    @ranganathanmca1 12 лет назад

    thank u so much

  • @chaitanyakiran100
    @chaitanyakiran100 10 лет назад

    what are Sql Jobs ?

  • @sirdot4052
    @sirdot4052 5 лет назад

    thanks

  • @rafaymir.
    @rafaymir. 6 лет назад

    BEST.

  • @srs3474
    @srs3474 7 лет назад

    Nice :-0)

  • @realglz
    @realglz 5 лет назад

    So close to 666 likes 😱

  • @santanupuhan1259
    @santanupuhan1259 Год назад

    Hello😂😂

  • @Muhammadali-jd5fu
    @Muhammadali-jd5fu 4 года назад

    thank you

  • @semikolon4229
    @semikolon4229 4 года назад

    Thanks

  • @luffyy8194
    @luffyy8194 3 года назад

    Thank you