Search Postgresql Archives

Re: Import csv to temp table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 2, 2024 at 7:02 AM arun chirappurath <arunsnmimt@xxxxxxxxx> wrote:
Dear All,

Do we have any scripts that create a temp table with column names from the first row of csv files?

How would you determine the data type?
 
If you assume TEXT for all of them, then it's relatively simple to write bash which does it.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux