|
|
Choosing A Webhost: |
AW: Strange problem with SAPDB 7.4.03.27: msg#00425db.maxdb
I have one addition: My workaround works not correctly. Now Access interprets the last row of my result as strings and I can't use them for my report. -----Ursprüngliche Nachricht----- Von: Hübschen, Peter Gesendet: Dienstag, 28. Oktober 2003 11:17 An: Mailingliste MaxDB (E-Mail) Betreff: Strange problem with SAPDB 7.4.03.27 Hello, I've developed an Access-App 97 with an SAPDB-Backend. Some days ago I updated vom 7.4.03.25 to 7.4.03.27 on a RH 9 Box. Now I'm having a strange problem with the follwing stored procedure. CREATE DBPROC SP_RPTAUSWERTUNG (IN ANFANG DATE, IN ENDE DATE, IN SPARTE3 CHAR(2), IN SPARTE1 CHAR(2)) RETURNS CURSOR AS $CURSOR = 'rptAuswertung_Cursor'; DECLARE :$cursor CURSOR FOR SELECT ANGEBOTE.GESAMT, 'Anzahl abgegebene Angebote' AS TITEL, DECODE (ANGEBOTE.GESAMT, 0, 0, Fixed(1,5,4)) AS PROZENT FROM ..... UNION SELECT ERHALTEN.ANZAHL, 'Anzahl erhaltene Aufträge' , DECODE (ANGEBOTE.GESAMT, 0, 0, FIXED(ERHALTEN.ANZAHL / ANGEBOTE.GESAMT,10,4)) FROM .... UNION .... If I execute this proc in SQLStudio I get the values I want: x Anzahl abgegebene Angebote 1 y Anzahl Projekte gestorben .xxxx .... If I execute my proc from Access through a Pass-Through-Query, everything worked fine with SAPDB version .25. After my upgrade to .27 I get the following results: x Anzahl abgegebene Angebote 1 y Anzahl Projekte gestorben 0 z Anzahl bla 0 .... At least I found a workaround by changing Fixed(1,5,4) to Fixed(1,5,4)/1, but I think it's very strange. Mit freundlichen Grüßen P. Hübschen -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=peter.huebschen@xxxxxxx -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | odbc connection timeout and SQLmode ORACLE, Ajit Aranha |
|---|---|
| Next by Date: | RE: Performance on DUAL processor, Dittmar, Daniel |
| Previous by Thread: | Strange problem with SAPDB 7.4.03.27, "Hübschen, Peter" |
| Next by Thread: | cachedirectory full, Alejandro D. Burne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |