Hi,
I have a pass through query to a Sybase table which does not group properly. The query is
select d.businessDate, d.companyCode, c.clientCode, d.cusip, DailyBalance=Sum(p.dailyBalance), c.customerCategory, d.borrowLoanPledgeReceipt, d.issueCurrency, d.strategyCode
from CLIENT_DETAILS c, DAILY_DEAL_LEVEL_INFO d, DAILY_PNL_INFO_IN_USD p
where p.dealReference = d.dealReference
and d.clientVersionNumber = c.clientVersionNumber
and d.clientCode = c.clientCode
and d.companyCode = c.companyCode
and (p.dailyBalance <> 0)
and ((d.borrowLoanPledgeReceipt ="B") )
and (c.customerCategory <> "IG")
group by d.businessDate, d.companyCode, d.clientCode, d.cusip, c.customerCategory, d.borrowLoanPledgeReceipt, d.issueCurrency, d.strategyCode
Can you turn server side grouping off. It worked initially, and Ive been wondering if (as it returns a large data set) if the DBA has changed the server response.
Can a DBA see what pass through queries are coming through, is it likely that they would flag querys which produced result sets which were to large?
Thanks
Mordja
I have a pass through query to a Sybase table which does not group properly. The query is
select d.businessDate, d.companyCode, c.clientCode, d.cusip, DailyBalance=Sum(p.dailyBalance), c.customerCategory, d.borrowLoanPledgeReceipt, d.issueCurrency, d.strategyCode
from CLIENT_DETAILS c, DAILY_DEAL_LEVEL_INFO d, DAILY_PNL_INFO_IN_USD p
where p.dealReference = d.dealReference
and d.clientVersionNumber = c.clientVersionNumber
and d.clientCode = c.clientCode
and d.companyCode = c.companyCode
and (p.dailyBalance <> 0)
and ((d.borrowLoanPledgeReceipt ="B") )
and (c.customerCategory <> "IG")
group by d.businessDate, d.companyCode, d.clientCode, d.cusip, c.customerCategory, d.borrowLoanPledgeReceipt, d.issueCurrency, d.strategyCode
Can you turn server side grouping off. It worked initially, and Ive been wondering if (as it returns a large data set) if the DBA has changed the server response.
Can a DBA see what pass through queries are coming through, is it likely that they would flag querys which produced result sets which were to large?
Thanks
Mordja