L
Liz C
I have created pass-through queries using a function before, but was
wondering how I would go about creating a function/module to create a regular
select query.
Below is the sql view of the query I want it to create:
SELECT VolumeVAS1Q.meter_number, VolumeVAS1Q.MaxOfacct_period_cym AS
acct_period_cym, VolumeVAS1Q.prod_date_time, VolumeVAS1Q.alloc_dth,
VolumeMeas1Q.btu_factor, VolumeMeas1Q.meter_mcf
FROM VolumeMeas1Q INNER JOIN VolumeVAS1Q ON (VolumeMeas1Q.prod_date_time =
VolumeVAS1Q.prod_date_time) AND (VolumeMeas1Q.meter_number =
VolumeVAS1Q.meter_number)
ORDER BY VolumeVAS1Q.meter_number;
Can someone please help me out?
Thank you in advance!
Liz
wondering how I would go about creating a function/module to create a regular
select query.
Below is the sql view of the query I want it to create:
SELECT VolumeVAS1Q.meter_number, VolumeVAS1Q.MaxOfacct_period_cym AS
acct_period_cym, VolumeVAS1Q.prod_date_time, VolumeVAS1Q.alloc_dth,
VolumeMeas1Q.btu_factor, VolumeMeas1Q.meter_mcf
FROM VolumeMeas1Q INNER JOIN VolumeVAS1Q ON (VolumeMeas1Q.prod_date_time =
VolumeVAS1Q.prod_date_time) AND (VolumeMeas1Q.meter_number =
VolumeVAS1Q.meter_number)
ORDER BY VolumeVAS1Q.meter_number;
Can someone please help me out?
Thank you in advance!
Liz