Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
SQL Problem after Hardware Change ?l

SQL Problem after Hardware Change ?l

2007-07-26       - By Beermann, Albert

 Back
Reply:     1     2  

Hello Everybody !

My application(MaxDB no SAP) connects via odbc to a SAP System with maxdb
database(7.5.00.44) and fires the following command:

DECLARE PUFFER CURSOR FOR WITH RECURSIVE TMPPUFFER
(LEVEL,stlnummer,stlbezeich,stlnr,postp,posnr,matnr,matbezeich,menge,meins
,erskz,stlnrid)  
AS (SELECT 1, ma2.matnr as stlnummer,stltextd.maktg as stlbezeich,stpo.stlnr,
stpo.postp,stpo.posnr,stpo.idnrk as matnr,matextd.maktg as matbezeich,stpo
.menge,stpo.meins,stpo.erskz, ma1.stlnr as stlnrid
from stpo
join mast ma2 on stpo.stlnr = ma2.stlnr and ma2.mandt = '900'
join makt matextd on stpo.idnrk = matextd.matnr and matextd.mandt = '900' and
matextd.spras = 'D'
join makt stltextd on ma2.matnr = stltextd.matnr and stltextd.mandt = '900'
and stltextd.spras = 'D'
left join mast ma1 on stpo.idnrk = ma1.matnr and ma1.mandt = '900'
where stpo.mandt = '900' and stpo.stlty = 'M' and stpo.stlnr = '00216214'
UNION ALL SELECT TMPPUFFER.LEVEL + 1, ma2.matnr as stlnummer,stltextd.maktg as
stlbezeich, stpo.stlnr,
stpo.postp,stpo.posnr,stpo.idnrk as matnr,matextd.maktg as matbezeich,stpo
.menge,stpo.meins,stpo.erskz,
ma1.stlnr as stlnrid
FROM TMPPUFFER,stpo
join mast ma2 on stpo.stlnr = ma2.stlnr and ma2.mandt = '900'
join makt matextd on stpo.idnrk = matextd.matnr and matextd.mandt = '900'  and
matextd.spras = 'D'
join makt stltextd on ma2.matnr = stltextd.matnr and stltextd.mandt = '900'
and stltextd.spras = 'D'
left join mast ma1 on stpo.idnrk = ma1.matnr and ma1.mandt = '900'
where stpo.mandt = '900' and stpo.stlty = 'M' and stpo.stlnr = TMPPUFFER
.stlnrid)
SELECT TMPPUFFER.* FROM TMPPUFFER
order by level,stlnr,posnr


For more than 6 month everything works as expected.
I use the result cursor to update spezial tables in my system.

Now the SAP System was migrated from HP-UX on a PA-Risc Server to HP-UX on a
Integrity Server. (Same MaxDB Version).
SAP is running quick and fine, but my command stops with the following error

1526
Connectivity-Fehler: [SAP AG][SQLOD32 DLL][MaxDB] Base table or view already
exists;-6000 POS(1) Duplicate table name
[SAP AG][SQLOD32 DLL][MaxDB] Base table or view already exists;-6000 POS(1)
Duplicate table name
S0001
-6000

????????????????
Any help welcomed


Best regards
__ ____ ____ ____ ____ ____ ____ ____ __

<file://%25logonserver%25/netlogon/eMailSignature/pd-logo.bmp> <file://
%25logonserver%25/netlogon/eMailSignature/pd-logo.bmp> Albert Beermann  
Abteilungsleiter
Informationsverarbeitung


  Piepenbrock Service GmbH + Co. KG
 Hannoversche Str. 91-95
 49084 Osnabr?ck
 Tel: +49 (0) 541/5841-868
 Fax: +49 (0) 541/5841-869
 Mobil: +49 (0) 177/9400868
 E-Mail:A.Beermann@(protected)
 www.piepenbrock.de
__ ____ ____ ____ ____ ____ ____ ____ __

Kommanditgesellschaft Sitz Osnabr?ck HRA 6519 AG Osnabr?ck phG: Piepenbrock
Service Verwaltungs- und Beteiligungsgesellschaft mbH HRB 19436 AG Osnabr?ck
Gesch?ftsf?hrer: Arnulf Piepenbrock, Olaf Piepenbrock Paul Richter St-Nr.FA:66
/204/26100 Osnabr?ck-Stadt Ust.-ID-Nr.: DE 166472497 Sicherheitsnr
Bauabzugssteuer: 236620320479


Diese eMail enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese eMail irrt?mlich erhalten
haben, informieren Sie bitte sofort den Absender und vernichten diese eMail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser eMail ist nicht
gestattet.





<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Nachricht</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=934002414-26072007>Hello Everybody
!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=934002414-26072007></SPAN></FONT>&nbsp
;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=934002414-26072007>My application
(MaxDB
no SAP)&nbsp;connects via odbc to a SAP System with maxdb database(7.5.00.44)
and fires the following command:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=934002414-26072007></SPAN></FONT>&nbsp
;</DIV>
<DIV><FONT face=Arial size=2>DECLARE PUFFER CURSOR FOR WITH RECURSIVE TMPPUFFER
<BR>(LEVEL,stlnummer,stlbezeich,stlnr,postp,posnr,matnr,matbezeich,menge,meins
,erskz,stlnrid)&nbsp;
<BR>&nbsp;AS (SELECT 1, ma2.matnr as stlnummer,stltextd.maktg as
stlbezeich,stpo.stlnr,<BR>&nbsp;stpo.postp,stpo.posnr,stpo.idnrk as
matnr,matextd.maktg as matbezeich,stpo.menge,stpo.meins,stpo.erskz, ma1.stlnr
as
stlnrid <BR>&nbsp;from stpo <BR>&nbsp;join mast ma2 on stpo.stlnr = ma2.stlnr
and ma2.mandt = '900' <BR>&nbsp;join makt matextd on stpo.idnrk = matextd.matnr
and matextd.mandt = '900' and matextd.spras = 'D'<BR>&nbsp;join makt stltextd
on
ma2.matnr = stltextd.matnr and stltextd.mandt = '900' and stltextd.spras =
'D'<BR>&nbsp;left join mast ma1 on stpo.idnrk = ma1.matnr and ma1.mandt = '900'
<BR>&nbsp;where stpo.mandt = '900' and stpo.stlty = 'M' and stpo.stlnr
=&nbsp;<SPAN class=934002414-26072007>'00216214'</SPAN><BR>&nbsp;UNION ALL
SELECT TMPPUFFER.LEVEL + 1, ma2.matnr as stlnummer,stltextd.maktg as stlbezeich
,
stpo.stlnr,<BR>&nbsp;stpo.postp,stpo.posnr,stpo.idnrk as matnr,matextd.maktg as
matbezeich,stpo.menge,stpo.meins,stpo.erskz,<BR>&nbsp;ma1.stlnr as stlnrid
<BR>&nbsp;FROM TMPPUFFER,stpo <BR>&nbsp;join mast ma2 on stpo.stlnr = ma2.stlnr
and ma2.mandt = '900' <BR>&nbsp;join makt matextd on stpo.idnrk = matextd.matnr
and matextd.mandt = '900'&nbsp; and matextd.spras = 'D' <BR>&nbsp;join makt
stltextd on ma2.matnr = stltextd.matnr and stltextd.mandt = '900' and
stltextd.spras = 'D'<BR>&nbsp;left join mast ma1 on stpo.idnrk = ma1.matnr and
ma1.mandt = '900' <BR>&nbsp;where stpo.mandt = '900' and stpo.stlty = 'M' and
stpo.stlnr = TMPPUFFER.stlnrid) <BR>&nbsp;SELECT TMPPUFFER.* FROM TMPPUFFER
<BR>&nbsp;order by level,stlnr,posnr<BR>&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=934002414-26072007>For more than 6
month everything works as expected.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=934002414-26072007>I use the result
cursor to update spezial tables in my system.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=934002414-26072007></SPAN></FONT>&nbsp
;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=934002414-26072007>Now the SAP System
was migrated from HP-UX on a PA-Risc Server to HP-UX on a Integrity Server.
(Same MaxDB Version).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=934002414-26072007>SAP is running
quick
and fine, but my command stops with the following
error</SPAN></FONT></DIV><FONT>
<DIV><BR><FONT face=Arial size=2>&nbsp;1526<BR>Connectivity-Fehler: [SAP
AG][SQLOD32 DLL][MaxDB] Base table or view already exists;-6000 POS(1)
Duplicate
table name<BR>[SAP AG][SQLOD32 DLL][MaxDB] Base table or view already
exists;-6000 POS(1) Duplicate table name<BR>S0001<BR>-6000</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=934002414-26072007>????????????????<
/SPAN></FONT></DIV>
<DIV></FONT><SPAN class=934002414-26072007><FONT face=Arial size=2>Any help
welcomed</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<P><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><SPAN class
=934002414-26072007></SPAN></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: black">B
<SPAN class=934002414-26072007>est
regards</SPAN><BR>__ ____ ____ ____ ____ ____ ____ ____ __</SPAN><SPAN style=
"COLOR: black"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /></SPAN></P>
<P></P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT
-FAMILY: Arial"><A></A><SPAN style="mso-spacerun: yes"><FONT color=#000000><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><A></A><SPAN style=
"mso-spacerun: yes"><FONT color=#000000><STRONG>Albert Beermann
&nbsp;<BR></STRONG>Abteilungsleiter <BR>Informationsverarbeitung
<BR><BR></FONT></SPAN></SPAN></FONT><BR>&nbsp;<IMG src="cid:934002414@(protected)
-182E">&nbsp;Piepenbrock Service GmbH + Co. KG
<BR>&nbsp; Hannoversche Str. 91-95 <BR></SPAN></SPAN><FONT color=#000000><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp; 49084 Osnabr?ck <BR>&nbsp;
Tel: +49 (0) 541/5841-868 <BR>&nbsp; Fa<FONT color=#000000>x: +49 (0)
541/5841-869 <BR>&nbsp; Mobil: +49 (0) 177/9400868 <BR>&nbsp;
E-Mail:A.Beermann@(protected) <BR></FONT></SPAN></FONT><SPAN style="FONT
-SIZE: 10pt"><FONT face=Arial>&nbsp; www.piepenbrock.de
</FONT><BR>__ ____ ____ ____ ____ ____ ____ ____ __<BR><BR><FONT face=Arial
color=#000000 size=1>Kommanditgesellschaft Sitz Osnabr?ck HRA 6519 AG Osnabr?ck

phG: Piepenbrock Service Verwaltungs- und Beteiligungsgesellschaft mbH HRB
19436
AG Osnabr?ck Gesch?ftsf?hrer: Arnulf Piepenbrock, Olaf Piepenbrock Paul Richter
St-Nr.FA:66/204/26100 Osnabr?ck-Stadt Ust.-ID-Nr.: DE 166472497 Sicherheitsnr
Bauabzugssteuer: 236620320479 <BR></FONT></SPAN></P></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT
color=#000000><FONT size=1>Diese eMail enth?lt vertrauliche und/oder rechtlich
gesch?tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
eMail irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten diese eMail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser eMail ist nicht gestattet.</FONT></FONT></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN>
&nbsp;</P><!--eMS4.8.5.D26M.7Y.2007-->
<DIV>&nbsp;</DIV></BODY></HTML>