11 Import CSV File To PostgreSQL

preview_player
Показать описание
CREATE TABLE public."MyData"
(
id integer,
firstname character varying(100),
lastname character varying(100),
gender character varying(50),
companyname character varying(100)
)

Import CSV File To PostgreSQL
How do I import a CSV file into PostgreSQL?
How do I import a CSV file into PgAdmin?

Happy Learning.

Рекомендации по теме
Комментарии
Автор

Good to know that this is the first video on the channel to reach 100 k views.

aqilahmed
Автор

thank god for creating indian tutors - you guys are always awesome.
ty!

Buffnerd_i
Автор

very helpful for beginners who find it overwhelming to get started with PG Admin

debabratasamal
Автор

hello, your birds are singing so beautifully outside the window)

gkepmqr
Автор

Its really useful and worked till the copy command.where as i am getting the error message with the 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: 42501

ramasubrahmanyam
Автор

Great video, had to transfr the csv to c disk in order for the copy to work, have a great day

whiteboyfrik
Автор

Thank you so much, have to sign in to comment ^^, only your method worked for me!

TranTran-plsq
Автор

For me below error is coming
"ERROR: could not open file for reading: Permission denied
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: 42501"

princejain
Автор

Permission denied
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: 42501

hahatechnologies
Автор

many thanks, it worked version pgAdmin4, postgres 9.6

annguyenthibinh
Автор

Thank you so much for the video..helped me for basic understanding. Worked

samdy
Автор

Thank you so much for this video it really help me. I hope you make more videos like this.

danagrant
Автор

Very nicely done.
I was having problems with granting permission, and needed to download a text reader because the it wasn't finding the file location, but overall very nice tutorial.
Thank you

hybridmd
Автор

Thank you so much, You explained very easily

GuptaTreePoint
Автор

If you see "Permission denied" on Windows - edit properties of your csv-file, move to "Security" and on "Groups and users" click "edit" and add "All" in list with permissions

Just edit csv-file permissions, sorry for my eng

bombaster
Автор

Thank you for the tutorial, But after this it shows error
ERROR: could not open file for reading: Permission denied" Can you please figure out the issue? Thank you in advance!

hamalishah
Автор

Hey all. If you're getting "permission denied" errors when you try to run the copy command, try this in the command line:
chmod a+rX /Users/yourusername/ /Users/yourusername/Desktop
I'm on a mac osx 64bit machine
The error happens because the software doesn't have write privileges. If you run that command, it gives pgAdmin privileges, and will work. Change the paths to match your machine and csv file path.
best of luck.

CosmicSpaceAdventure
Автор

why cant we import data without creating table unlike we directly we load/import data inmysql

himanisakhare
Автор

hlo sir could you please help me to import csv file
I did all same procedure as you all do but my pgsql show 'Process failed' at last every time so please!!!

laxcel
Автор

how to give access to read CSV file its showing error

scispacefacts