在MSSQL中,我通常使用下面的參數是這樣的:PosgreSQL:如何在查詢中定義PARAMETER?
declare @StartDate as date, @EndDate as date
set @StartDate = '08/01/2015' set @EndDate = '08/15/2015'
----------- and use it here as my Date Range of Records:
Select * from Table_Name
where DateRange between @StartDate and @EndDate
我怎樣才能生成報表/記錄這樣做是PostgreSQL的?
我不能找到類似或回答我的問題 – fLen