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

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024
  • 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

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

  • @homed41763
    @homed41763 5 месяцев назад +3

    How to add to a already existing table

  • @chandanprasad4634
    @chandanprasad4634 Месяц назад

    Thank you! 👌

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

    This is very useful! Thank you!

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

      Glad it was helpful!

  • @baturalpince456
    @baturalpince456 10 месяцев назад +1

    how do you setup foreign keys while doing this?

  • @xyanglui7795
    @xyanglui7795 10 месяцев назад

    thank you, u r great

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

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

  • @Daughteroffice
    @Daughteroffice 9 месяцев назад

    Thank you.

  • @othukeprecious3693
    @othukeprecious3693 2 месяца назад

    Thanks

  • @justthien
    @justthien 11 месяцев назад

    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)

  • @valentinvas6454
    @valentinvas6454 6 месяцев назад

    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 6 месяцев назад

    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 5 месяцев назад

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

    • @mestermester6749
      @mestermester6749 5 месяцев назад

      @@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 7 месяцев назад

    Thank you

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

    Can insert csv to a existing table?

    • @homed41763
      @homed41763 5 месяцев назад

      How to add to a already existing table

  • @CH-zp1zv
    @CH-zp1zv 9 месяцев назад

    thanks dude