Import XSLX/CSV File To PostgreSQL database

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024

ความคิดเห็น • 78

  • @vipinamar8323
    @vipinamar8323 5 ปีที่แล้ว +3

    Clear and to the point. Thanks, Ankush keep up the good work!

  • @maca3930
    @maca3930 3 ปีที่แล้ว +1

    This is good. Thanks Ankush. Can you make a video explaining how to bulk 'UPDATE' a table that already is already populated with data in PostgreSQL? - Thanks. :)

  • @We2VlogsHub
    @We2VlogsHub 2 ปีที่แล้ว +1

    U r champion..It's really work for me

  • @nikhiljuneja421
    @nikhiljuneja421 ปีที่แล้ว +1

    IF ANYBODY FACING THE ISSUE OF BINARY PATH FOLLOW THE FOLLOWING STEPS
    1. GO TO C DRIVE (OR THE DRIVE YOU HAVE SAVED /DOWNLOADED THE POSTGRE SQL)
    2. GO TO PROGRAM FILES
    3. CHOOSE POSTGRE SQL
    4. CHOOSE THE LATEST FILE YOU HAVE INSTALLED
    5.CHOOSE BIN
    6. DO ALT + D AND COPY THE PATH
    7 OPEN THE PGADMIN 4
    8. CHOOSE FILE OPTION
    9. SELECT PREFERENCE
    10. GO TO BINARY BATH
    11 PASTE THE COPIED PATH IN LASTEST EDB ADVANCED SERVER AND POSTGRE BINARY PATH
    12. AFTER PASTING IT , CLICK SAVE AND KNOW YOU WILL ABLE TO IMPORT/EXPORT FILES

  • @muhammadfawadamjad1184
    @muhammadfawadamjad1184 5 ปีที่แล้ว +7

    thanks man... you are a life saver... i had to move like tons of records to postgres & totally a newbee at databases & your vid was straight & easy as it could be... !!! hats off!

    • @learnomate
      @learnomate  5 ปีที่แล้ว +1

      Thanks for your beautiful word:)

  • @zhomart3953
    @zhomart3953 5 ปีที่แล้ว +1

    when I want to create a table (PUBLIC.DEPARTMENT) in pgADMIN, they write: syntax error at the end
    who knows what the problem is it?

  • @Omkar-vr7lo
    @Omkar-vr7lo ปีที่แล้ว +1

    Thankuuuu broooo❤❤❤❤🎉🎉🎉🎉🎉

  • @madskillz1886
    @madskillz1886 4 ปีที่แล้ว

    Clear and informative. Thank you!

    • @learnomate
      @learnomate  4 ปีที่แล้ว

      Glad it was helpful!

  • @devi.elvira
    @devi.elvira 4 ปีที่แล้ว

    Not working on me, error unicode escapes must be full-length : \uxxxx or \uxxxxxxx

  • @pinkalsanoria1234
    @pinkalsanoria1234 3 ปีที่แล้ว

    Pls Help
    ERROR: could not open file "C:\Users\LENOVO\Desktop\ExportExcel.csv" for reading: No such file or directory
    HINT: COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql's \copy.
    SQL state: 58P01

  • @connorsimpson-craib4862
    @connorsimpson-craib4862 5 ปีที่แล้ว

    How do you allow access to the CSV file running MacOS ? There is no security settings equivalent ?

  • @Travellife8877
    @Travellife8877 4 ปีที่แล้ว

    But if one column if is in json formate then what to do??

  • @prakhargupta2938
    @prakhargupta2938 2 ปีที่แล้ว

    this is not working, while converting to csv timestamp values are just corrupted

  • @vishwas22khare
    @vishwas22khare 2 ปีที่แล้ว

    Can we import 10 tb data through CSV in postgres

  • @matrix4776
    @matrix4776 4 ปีที่แล้ว +1

    I am getting an error
    ERROR: invalid byte sequence for encoding "UTF8": 0xe1 0x72 0x65
    Any help?

    • @loaderdataplus3387
      @loaderdataplus3387 4 ปีที่แล้ว

      Try "LoaderDataPlus" tool: load flat file for verification and then generate syntax for PostgreSql.

  • @mkrishna7711
    @mkrishna7711 5 ปีที่แล้ว

    Hi ankush i have CSV file with master and child table i have to load one table into postgre sql how we can approach this method through python

  • @telegenesis3018
    @telegenesis3018 4 ปีที่แล้ว +1

    gracias, thank you

  • @ahsanali50
    @ahsanali50 2 ปีที่แล้ว

    Thanks Really Helpful !

  • @florincopaci6821
    @florincopaci6821 3 ปีที่แล้ว

    Hello Thank you for this video! i have a big request-do you know a tool for migrating the data let s say in my case from sql server to oracle?i have oracle 18c and sql developer 21.2.1
    I could try myself but i don t want to ruin something. If it s possible to help i will pay for the help.
    If you help me of course if you know with the migration you can show me just for one database. I will manage myself for the rest.
    Thank you in advance

  • @TabulaRasaa
    @TabulaRasaa 3 ปีที่แล้ว

    Thank you that was helpfull

  • @0xanshh
    @0xanshh 3 ปีที่แล้ว

    insightful!

  • @danielrachapudi9262
    @danielrachapudi9262 2 ปีที่แล้ว +1

    Very helpful

  • @We2VlogsHub
    @We2VlogsHub 2 ปีที่แล้ว

    How to dump smartsheet data into postgres sql

  • @vishwas22khare
    @vishwas22khare 2 ปีที่แล้ว

    Getting bracketes in field values of posters table

  • @axa3547
    @axa3547 3 ปีที่แล้ว

    what about multiple sheets these tutorials are useless in real life tbh

  • @saranshjain9436
    @saranshjain9436 2 ปีที่แล้ว

    how to solve SQL state: 58P01

  • @nurulshahida2562
    @nurulshahida2562 4 ปีที่แล้ว +1

    How do u decide what to put for each type such as bigint & others?

  • @tastyvlog4931
    @tastyvlog4931 3 ปีที่แล้ว +1

    thanks alot bro ❤ video helped me

  • @roselin1514
    @roselin1514 ปีที่แล้ว

    Thank you so much!!!!

  • @hindustanimanav
    @hindustanimanav 2 ปีที่แล้ว

    it didn't work for me

  • @riaramoloko8772
    @riaramoloko8772 4 ปีที่แล้ว +1

    Great video thank you 🤗🤗🤗🤗

  • @lawrencew8243
    @lawrencew8243 4 ปีที่แล้ว +1

    Cheers Ankush! Your video was super helpful

  • @geosagar4947
    @geosagar4947 5 ปีที่แล้ว +1

    Thank you so much Ankush

  • @viniciuscg12ba
    @viniciuscg12ba 2 ปีที่แล้ว

    thanks!

  • @BhavanaShaji4ever
    @BhavanaShaji4ever 2 ปีที่แล้ว

    best

  • @idakrogsgaardsvendsen2151
    @idakrogsgaardsvendsen2151 3 ปีที่แล้ว

    I get this error:
    ERROR: missing data for column "expression_level"
    CONTEXT: COPY from_excel, line 2: "LOC118206152;0.223423"
    SQL state: 22P04

  • @shahriarahmed7783
    @shahriarahmed7783 5 ปีที่แล้ว +1

    Thank you very much. Permission was a great issue that is solved watching your video.

    • @learnomate
      @learnomate  5 ปีที่แล้ว

      Keep watching👀👀 Thanks for your comment!! Please support me by subscribe to my second channel. th-cam.com/users/engineerankush

  • @shivaprasad-uv7ki
    @shivaprasad-uv7ki 5 ปีที่แล้ว +1

    can we do the same with pipe delimited file?

    • @learnomate
      @learnomate  5 ปีที่แล้ว

      Yes, you can do it.

  • @suribabu5336
    @suribabu5336 ปีที่แล้ว

    Thansk Ankush.Your video is really helful and it is easy to import the data into postgres

  • @yasinbayrak1082
    @yasinbayrak1082 4 ปีที่แล้ว

    hi i am gettin Invalid byte sequence for "UTF8" encoding: 0xa0 error anyone can help ?

  • @8007002910
    @8007002910 5 ปีที่แล้ว +2

    thank you, very helpful.

  • @surajzadane301
    @surajzadane301 ปีที่แล้ว

    Can you please send us .csv file you downloaded with command notes?

  • @shajilakp6419
    @shajilakp6419 3 ปีที่แล้ว

    Could you please tell me how to read a file that is available in ftp server and then use copy

  • @zhiyizhu3040
    @zhiyizhu3040 5 ปีที่แล้ว +1

    If we are using Mac, what the path be like?

    • @learnomate
      @learnomate  5 ปีที่แล้ว

      Path will be where you placed you XLs file.

  • @lucasbraga461
    @lucasbraga461 5 ปีที่แล้ว +2

    That was very helpful, thank you!

  • @granand
    @granand 3 ปีที่แล้ว

    Thank you Ankush 1. Is it possible that I add a conditional numbering in the SQL generated by a formula? Please can you share how 2. Now that we created database from excel, is it possible that I create Excel from the database where the fields are validated and drop down controlled by the database driving back end. Say for the excel share with number of users ?

  • @ramKumar-lf7er
    @ramKumar-lf7er 3 ปีที่แล้ว

    Bro I am a plsql developer suggest me which report tool is best

  • @quickstep2408
    @quickstep2408 2 ปีที่แล้ว

    do we need to establish primary key for sql?

  • @harisundar5707
    @harisundar5707 2 ปีที่แล้ว

    Thank you very much. It was clear and simple.

  • @ankuronlyu
    @ankuronlyu 3 ปีที่แล้ว

    How to handle integer values?

  • @nnennaalphonsus1997
    @nnennaalphonsus1997 3 ปีที่แล้ว

    Thank you so much Ankush

  • @abhaashapure1966
    @abhaashapure1966 3 ปีที่แล้ว

    Nicely described, helpful.

  • @sahibolrahahaibhai6870
    @sahibolrahahaibhai6870 4 ปีที่แล้ว

    Can you upload video on how can we upload/import data of csv/excel files to postgresql using Java(eclipse ide)?

    • @Mayank-jw9yy
      @Mayank-jw9yy 2 ปีที่แล้ว

      Bro do u get solution of this one...?

  • @dmitryvalynchuk482
    @dmitryvalynchuk482 3 ปีที่แล้ว

    Great!!!

  • @EyiBillion
    @EyiBillion 4 ปีที่แล้ว

    Brilliant!

  • @harshavardhan9991
    @harshavardhan9991 4 ปีที่แล้ว +1

    Will that CSV has to be in the server location. I mean, will it work for end-users who are using pg-admin to import data using COPY command from their local drive ?

    • @loaderdataplus3387
      @loaderdataplus3387 4 ปีที่แล้ว

      Can use pg-admin to run code generated for PostgreSql through "LoaderDataPlus" tool. This tool generates code for bulk loading from flat files or code to insert rows using SQL.

  • @stefanvercillo2234
    @stefanvercillo2234 5 ปีที่แล้ว +1

    Thank you, you were very helpful. Keep up the good work posting videos!

    • @learnomate
      @learnomate  5 ปีที่แล้ว

      Thanks Stefan. You can donate us to promote this channel worldwide to help people with their technical skills.
      www.paypal.me/ankushthavali

  • @ivantretyakov5686
    @ivantretyakov5686 5 ปีที่แล้ว +1

    I need to spend 11 min for import only one excel table?? I can't believe it! And it provided that you did not show part of the action (writing code for create table in postgresql). Why so long? Very, very long and needless complexity.
    I am completely new to PostgreSQL and I don’t know much, but I used to MS SQL Server before and only a few clicks needed to be done a similar task. It is disappointing.
    And, honestly, I can not believe that the developers of PostgreSQL did not simplify the import/export of popular formats.

    • @learnomate
      @learnomate  5 ปีที่แล้ว

      Time taken to complete import depend upon the amount of data, your laptop configuration, processes running while you are doing the operation.

    • @ivantretyakov5686
      @ivantretyakov5686 5 ปีที่แล้ว +6

      @@learnomate We are talking about completely different things. You are talking about hardware capabilities, and I'm talking about the number of actions that I need to perform for a similar operation.
      All that is needed for this in the MS SQL server is:
      1. Open the "Import / Export Wizard"
      2. Select the source data format and source file.
      3. Select the format and database in which we need to convert.
      4. Make logical settings if you are not satisfied with the default.
      5. Click OK. The end.
      An example from your video is much longer. I'm not saying that the video is bad, but the fact that maybe there is no faster way will make me sad. And if I have hundreds of tables and thousands of fields within them. How much time is needed ..

    • @mindcoder4823
      @mindcoder4823 4 ปีที่แล้ว

      @@ivantretyakov5686 I feel your pain tonight. Have you found a quicker way to do this ?

    • @calebosbornsoh8177
      @calebosbornsoh8177 2 ปีที่แล้ว

      @@ivantretyakov5686 3 years on. Have you found a quicker way to go about this. It’s so frustrating

  • @trishabh8
    @trishabh8 3 ปีที่แล้ว

    Thanks a lot Ankush! What to do in case we need only few columns from the CSV file and not all.

  • @pranavjain3905
    @pranavjain3905 3 ปีที่แล้ว

    Thank you! This is the one tutorial that actually worked!