我的查询:
COPY public.project from $$C:\Users\Admin\Desktop\adbviz\projects_export.csv$$ DELIMITERS ',' CSV;
这是错误:
错误:无法打开文件“C:\Users\Admin\Desktop\adbviz\projects_export.csv”进行阅读:权限被拒绝
指导我解决这个问题
我的查询:
COPY public.project from $$C:\Users\Admin\Desktop\adbviz\projects_export.csv$$ DELIMITERS ',' CSV;
这是错误:
错误:无法打开文件“C:\Users\Admin\Desktop\adbviz\projects_export.csv”进行阅读:权限被拒绝
指导我解决这个问题
Your Error Message is clearly saying that it doesn't have permission for reading that csv file
Store projects_export.csv
another location on your system (For example D
Drive ) file then it will work,i.e
COPY public.project from 'D:\Folder\projects_export.csv' DELIMITERS ',' CSV;