Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Postgresql 12/27/2011')“.”提示:没有函数与给定的名称和参数类型匹配。您可能需要添加显式类型转换。”PGAdmin中带引号的同一行SELECT“TPImport”('12/27/2011')运行良好…我修复了它!感谢Erwin的帮助!问题是,通过PGAd_Postgresql_Variables_Batch File - Fatal编程技术网

Postgresql 12/27/2011')“.”提示:没有函数与给定的名称和参数类型匹配。您可能需要添加显式类型转换。”PGAdmin中带引号的同一行SELECT“TPImport”('12/27/2011')运行良好…我修复了它!感谢Erwin的帮助!问题是,通过PGAd

Postgresql 12/27/2011')“.”提示:没有函数与给定的名称和参数类型匹配。您可能需要添加显式类型转换。”PGAdmin中带引号的同一行SELECT“TPImport”('12/27/2011')运行良好…我修复了它!感谢Erwin的帮助!问题是,通过PGAd,postgresql,variables,batch-file,Postgresql,Variables,Batch File,12/27/2011')“.”提示:没有函数与给定的名称和参数类型匹配。您可能需要添加显式类型转换。”PGAdmin中带引号的同一行SELECT“TPImport”('12/27/2011')运行良好…我修复了它!感谢Erwin的帮助!问题是,通过PGAdmin的“新函数”创建函数,它将创建为:创建或替换函数“TPImport”(没有时区的dateimport时间戳)返回void AS等…我删除了该函数,并通过SQL语句“创建或替换函数tpimport(没有时区的dateimport时间戳)返回


12/27/2011')“.”提示:没有函数与给定的名称和参数类型匹配。您可能需要添加显式类型转换。”PGAdmin中带引号的同一行SELECT“TPImport”('12/27/2011')运行良好…我修复了它!感谢Erwin的帮助!问题是,通过PGAdmin的“新函数”创建函数,它将创建为:创建或替换函数“TPImport”(没有时区的dateimport时间戳)返回void AS等…我删除了该函数,并通过SQL语句“创建或替换函数tpimport(没有时区的dateimport时间戳)返回void AS等”再次创建了它。。。“。删除tpimport周围的引号是有效的。实际上,我以前在创建表时遇到过相同的问题…通过pgadmin,它在表名周围使用引号,这使得them@damien:我的建议是不要在标识符周围使用双引号,始终使用小写。这样会使您的生活更轻松。:)但是,在这种情况下。。“tpimport”。。全部小写。。双引号无效。。一开始没问题。没关系,它很管用。
set PGPASSWORD=xxxx
cls
@echo off
C:\Progra~1\PostgreSQL\8.3\bin\psql -d Total -h localhost -p 5432 -U postgres -f C:\TotalProteinImport.sql
copy totalprotein from 'c:/TP.csv' DELIMITERS ',' CSV HEADER;

update anagrafica
set pt=(select totalprotein.resultvalue from totalprotein where totalprotein.accessionnbr=anagrafica.id)
where data_analisi = '12/23/2011';

delete from totalprotein;
C:\Progra~1\PostgreSQL\8.3\bin\psql -d Total -h localhost -p 5432 -U postgres
                                    -c "SELECT ""TPImport""('%dateimport%')"
\set xyz 'abcdef'
select :'xyz';
 ?column? 
----------
abcdef
psql -v xyz=value
@echo off
cd C:\Program Files\PostgreSQL\9.3\bin
psql -p 5432 -h localhost -d myDataBase -U postgres -c "select * from myFunction()"