How to import flat file/CSV file in database in Microsoft SQL server Management Studio?

Sdílet
Vložit
  • čas přidán 12. 07. 2023
  • In this video tutorial, we will learn to import a CSV file into the database by using the SQL server wizard in SQL server management studio. This is a very use ful trick to import CSV data files as tables. and you can import huge data files in no time and be smart.
    #sqlservermanagementstudio #sqlserver #sqlservertutorial #coolithelp
  • Věda a technologie

Komentáře • 20

  • @xyanglui7795
    @xyanglui7795 Před 8 měsíci

    thank you, u r great

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

    This is very useful! Thank you!

  • @chandanprasad4634
    @chandanprasad4634 Před 16 dny

    Thank you! 👌

  • @justthien
    @justthien Před 10 měsíci

    It takes pretty long to insert data at the final step, I don't know what's wrong, whether if my data is too big (around 160k rows) or my computer is just weak (8GB RAM)

  • @Daughteroffice
    @Daughteroffice Před 8 měsíci

    Thank you.

  • @baturalpince456
    @baturalpince456 Před 9 měsíci +1

    how do you setup foreign keys while doing this?

  • @homed41763
    @homed41763 Před 4 měsíci +2

    How to add to a already existing table

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

    Is it possible to import several flat files (.csv) together in one go?

  • @othukeprecious3693
    @othukeprecious3693 Před měsícem

    Thanks

  • @valentinvas6454
    @valentinvas6454 Před 5 měsíci

    Why is that when I go to tasks I only see a few options. There are no such thing as import flat file???

  • @mestermester6749
    @mestermester6749 Před 5 měsíci

    What happens if in that case the delimiter is the comma "," but you have a column that internally has commas? For example "x value, y value, z value,"... the SQL divides this field into columns and it would be wrong because "it interprets the delimiter of said column as new columns", how is this fixed? Thank you!!!

    • @xueyu4634
      @xueyu4634 Před 4 měsíci

      did you manage to fixe it ? I have the same problem :(

    • @mestermester6749
      @mestermester6749 Před 4 měsíci

      @@xueyu4634
      Hello, no, I couldn't solve it from sql server, I had to make a stored procedure that controls the number of commas and solve the problem with transact-sql.

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

    Thank you

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

    Can insert csv to a existing table?

    • @homed41763
      @homed41763 Před 4 měsíci

      How to add to a already existing table

  • @CH-zp1zv
    @CH-zp1zv Před 8 měsíci

    thanks dude