Connect SQL Server from Excel and retrieve data

Sdílet
Vložit
  • čas přidán 19. 08. 2024
  • Connect SQL Server from Excel and retrieve data
    My SQL Blog: sqlwithmanoj.com/
    #SQLwithManoj #SQLServer #MSExcel #ExcelSQL
    SQL blog: sqlwithmanoj.com/
    LinkedIn: / manub22
    Facebook: / sqlwithmanoj
    Telegram: t.me/sqlwithmanoj

Komentáře • 67

  • @_-_-.-_-_
    @_-_-.-_-_ Před 2 lety +2

    I have been doing SQL for 25 years and decided to watch at random. I do this all day long.
    If I was not to know how to do this, this video is very good, both in the delivery of how and why. Also, the presenter spoke very clearly. Good job.

  • @VANTYCSolutions
    @VANTYCSolutions Před 3 lety +3

    Amazing video. I spent 1 hour trying to export from SSMS to excel with an annoying errors, but with this great tutorial finally my work is done Thank You.

  • @WinserEspinal
    @WinserEspinal Před 2 lety +2

    You just saved me hours of research, as a beginner, I thank you from the bottom of my heart.

  • @CapsLock959
    @CapsLock959 Před 4 lety +1

    You are a modern day hero, sir.

  • @pandayprakash
    @pandayprakash Před 3 lety +2

    Ur tutorial give soo much guidance 👍

  • @wrathofindian6150
    @wrathofindian6150 Před 3 lety +1

    Excellent English, and great content helped a lot to build WMS

  • @ayushisahu9926
    @ayushisahu9926 Před 3 lety +1

    Thanks the vedio was so helpful

  • @mikegaa
    @mikegaa Před 2 lety +1

    great tutorial. thanks

  • @Evpat2000
    @Evpat2000 Před 2 lety +1

    Very nice vid, thank you so much!

  • @user-ih7ot7vl8u
    @user-ih7ot7vl8u Před 5 měsíci

    Thank you!
    It was a great

  • @gabrielgomez2313
    @gabrielgomez2313 Před 2 lety +1

    Pro!

  • @smellypunks
    @smellypunks Před 3 lety +2

    How do you refresh the data? Click refresh or can it be set with a timer e.g. 6am daily.

  • @funtime12345
    @funtime12345 Před 2 lety +1

    That was great!!👍👍👌

  • @khdvid801
    @khdvid801 Před 3 lety +1

    Thank you.

  • @anthonyhernandez3546
    @anthonyhernandez3546 Před 4 lety +3

    This has so much value

  • @IbadassI
    @IbadassI Před 3 lety +2

    Fantastic, exactly what I wanted!

  • @stanknight9159
    @stanknight9159 Před 5 lety +2

    Fantastic Video! Thank you.

  • @rk_financial6592
    @rk_financial6592 Před 2 lety

    Awesome...exactly what i was looking for!!

  • @GaganDeep-mj5hi
    @GaganDeep-mj5hi Před 7 měsíci

    Awesome video

  • @JamsCademy
    @JamsCademy Před 5 lety +2

    Wonder full!

  • @chandraganji93
    @chandraganji93 Před 3 lety +1

    Great!

  • @MeyWorking
    @MeyWorking Před 4 lety +1

    thank you!! very useful!

  • @tinachaulagai5177
    @tinachaulagai5177 Před 5 lety

    You are the best.............

  • @omoussalli699
    @omoussalli699 Před 4 lety +2

    Thank you so much for this!

  • @terasinfo7789
    @terasinfo7789 Před 3 lety

    I have already thanked you

  • @tauhidanwar3512
    @tauhidanwar3512 Před 6 měsíci

    Very nice and informative video. I am using office 365 and after connecting to sql server, i am not able to edit the query in connection properties. Please help

  • @andersonrodrigues600
    @andersonrodrigues600 Před 7 lety +2

    Good Job!

  • @hdchiepduc
    @hdchiepduc Před 3 lety

    a big help

  • @maynonarauz28
    @maynonarauz28 Před 5 lety +2

    what if you change something on the excel file? would it change in the SQL table?

  • @loomdoby
    @loomdoby Před 4 lety +1

    subscribed

  • @nyali2
    @nyali2 Před 2 lety +1

    This is from SQL to Excel, not Excel to SQL.. that is quite a difference

  • @akashkshirsagar3130
    @akashkshirsagar3130 Před 2 lety

    Hello sir ... its great learning as a beginner for me. when I am trying to connect multiple table at the same time, its not working. could u please help me for how to do it?

  • @luirm6946
    @luirm6946 Před 4 lety +1

    HI mate, quick question, how would I be able to update connection if I want connect to the same server but different SQL query and run it on the same excel sheet? Props to your video

    • @SQLwithManoj
      @SQLwithManoj  Před 4 lety

      I think you will need to change the SQL Query everytime.

  • @christianmax4659
    @christianmax4659 Před 2 lety

    really nice Video! does anyone know how I can change numbers in Excel and update it in SQL?

  • @hweegeem
    @hweegeem Před 3 lety

    Hi, how if my data base is from an Excel file? It is .csv file, and the data is keeping on increasing as long as machine working. Do you have any ideas?
    Means my SQL need to auto update when there are a changes from excel file.

  • @nohemiwest-phelps534
    @nohemiwest-phelps534 Před 3 lety +1

    Great video. When I do this, it puts it into a table and I cant run my vlookups without changing the formatting and then the formatting is lost when the data is refreshed. My vlookups are done off loan numbers and that's the formatting that I have to adjust each time to remove the leading zeros. Any suggestions?

    • @SQLwithManoj
      @SQLwithManoj  Před 3 lety

      Plz do not mix Excel-SQL-connection with vlookup... try to do vlookup in SQL itself and then pull data in XL.

    • @jacobsearl6192
      @jacobsearl6192 Před 2 lety

      create a macro that copies, pastes, and re formats the refreshed data.

  • @msn493
    @msn493 Před 4 lety

    Hi Manoj ..the vdo is helpful but what i observed is when u r dealing with huge number of records ..the data in Excel and SQL do not match..over all row count is same in both but the data is mixed.. as in what i see in SQL first row ..i cant see the same in the first row of excel ? Why is that ..? Can u explain ..am i doing anything wrong? Pls help

  • @mr.e299
    @mr.e299 Před 6 lety

    Great video but how to connect to a remote Server not on the same network?

  • @rafaelagrava2239
    @rafaelagrava2239 Před 5 lety +2

    is the data realtime? for example you add data in my sql server do you think it will update to in excel?

    • @ManojPandeyManub22
      @ManojPandeyManub22 Před 5 lety

      yes :)

    • @greengarden2994
      @greengarden2994 Před 5 lety

      Same question I had... should pin or highlight Rafael's comment.
      This video was very helpful, thanks Manoj!

  • @silverfunnel6819
    @silverfunnel6819 Před 4 lety

    Liked! and subscribed! 4:27 But I could also delete columns in the Get and Transform Editor?

  • @santhosh827
    @santhosh827 Před 3 lety

    Kindly guide me on following query, when I delete 2 years data out of 5 years from a table using where clause it increased log data120 Gb, so how will remove it from log

    • @SQLwithManoj
      @SQLwithManoj  Před 3 lety

      If its your DEV/Test database, try checking if the DB RecoveryModel is set to "Full", then set it to "Simple", and Shrink the log file.
      Or if its your PROD database, then try taking log backup and Shrink the log file.

  • @gautamranafounderofbexpert6539

    Can you pls help me I am unable to connect Heidi SQL database . Thanks in advance

  • @ItsTarzan100
    @ItsTarzan100 Před 4 lety

    Can you please suggest how to do this in Excel 2016 version, I was able to do it in previous version but some reason after excel is updated i am not able to connect.

  • @yogeshm5955
    @yogeshm5955 Před 6 lety

    Thank you I am able to connect sql server. My sql database will be updating every ten minute. I want it should be updated every ten minutes and should save automatically in excell even when file is closed. Please help me.

    • @SQLwithManoj
      @SQLwithManoj  Před 6 lety

      For this you need to use SSIS, that will run the query and redirect records in an excel file with dynamic file name.

  • @sabkuchdhela191
    @sabkuchdhela191 Před 4 lety

    Wat to do for connection in MySQL with live excel updates.. if i update my excel, table gets updated in mysql

    • @SQLwithManoj
      @SQLwithManoj  Před 4 lety

      no, updating Excel won;t update your table in database.

    • @shilpikhetan274
      @shilpikhetan274 Před 3 lety

      Hey hi.. i also have this requirement. Would you successfull in achieving this ?

    • @sabkuchdhela191
      @sabkuchdhela191 Před 3 lety

      @@shilpikhetan274 there is a MySQL connector available in Excel..as plugin

  • @mohamedjiffry3598
    @mohamedjiffry3598 Před 4 lety

    Is there any risk on database if excel user connect to SQL DB? please advise.

  • @alltimez5523
    @alltimez5523 Před 4 lety

    Sir can you do it in reverse order
    Like when we change data in Excel it should update in sql server database

  • @smartinvestingideas8483
    @smartinvestingideas8483 Před rokem +1

    Hindi bol le bhai