RE: buildmsg.pl - SDBMSG_DBMSRV_ENUMERATION

2004-11-16 Thread Döhr, Markus ICC-H
Hi Tilo, > could you please check, whether SQL, TOOSMALL or NOMEDIA are > defined in your context by inserting something like: > > #if defined(SQL) > #error SQL is already defined > #endif > > into your DBMSrvMsg_Error.hpp, right in front of the enum ErrorID. I did this: 45 class DBMSrvM

c++ app using ODBC to connect/MaxDB

2004-11-16 Thread Steve Young
I'm trying to build a c++ application to use ODBC with MaxDB and I'm finding the ODBC Manual for MaxDB a little difficult to follow. I have been trying to use: #include "/opt/sapdb/indep_prog/incl/WINDOWS.H" #include "/opt/sapdb/indep_prog/incl/sql.h" #include "/opt/sapdb/indep_prog/incl/sqlext

RE: Create view with order by clause

2004-11-16 Thread Dittmar, Daniel
>Can anyone suggest me that is it possible to create view with >"order by" >clause... This is not possible. Views are Sets/Relations that have no sort order. Sorting is applicable only to cursors. If you want only a 'canned query', then you could create a stored procedure that executes the sel

AK Duplicate catalog information

2004-11-16 Thread [EMAIL PROTECTED]
When i try to create a Stored Procedure with the following code: CREATE DBPROC CREATE_ESITI_TEMP (IN PID_SESSIONE FIXED(10,0)) AS BEGIN DELETE FROM "ATLAS"."ESITI_TEMP" WHERE ID_SESSIONE=:PID_SESSIONE; DELETE FROM "ATLAS"."ESITI_TEMP_BOTTOM" WHERE ID_SESSIONE=:PID_SESSIONE; INSERT INTO "ATLAS"."ES

General Error 9206: System error: AK Duplicate catalog information

2004-11-16 Thread [EMAIL PROTECTED]
When i try to create a Stored Procedure with the following code: CREATE DBPROC CREATE_ESITI_TEMP (IN PID_SESSIONE FIXED(10,0)) AS BEGIN DELETE FROM "ATLAS"."ESITI_TEMP" WHERE ID_SESSIONE=:PID_SESSIONE; DELETE FROM "ATLAS"."ESITI_TEMP_BOTTOM" WHERE ID_SESSIONE=:PID_SESSIONE; INSERT INTO "ATLAS"."ES

General Error -9206: System error: AK Duplicate catalog information

2004-11-16 Thread [EMAIL PROTECTED]
When i try to create a Stored Procedure with the following code: CREATE DBPROC CREATE_ESITI_TEMP (IN PID_SESSIONE FIXED(10,0)) AS BEGIN DELETE FROM "ATLAS"."ESITI_TEMP" WHERE ID_SESSIONE=:PID_SESSIONE; DELETE FROM "ATLAS"."ESITI_TEMP_BOTTOM" WHERE ID_SESSIONE=:PID_SESSIONE; INSERT INTO "ATLAS"."ES

AW: Re : AW: Migration with SDBUPD - cannot find DB instance

2004-11-16 Thread Weinmann, Alexander
I re-read your response ... Your installation seems to be alright and I understand that all your paths exists. So let's see if there is a /etc/opt/sdb that could break the update. If it is there, give us the contents. > -Ursprüngliche Nachricht- > Von: Weinmann, Alexander > Gesendet: Di

Error when I create a view from a query

2004-11-16 Thread David Pérez Gómez
Hello. I have a query that works fine: SELECT "ROOT"."t1".*, "ROOT"."t2"."descripcion" FROM"ROOT"."t1","ROOT"."t2" WHERE "ROOT"."t1"."cod"= "ROOT"."t2"."cod" (+) But when I create the corresponding view of that query: CREATE VIEW "base" ( "t2.field", "t1.*" ) AS SELEC

Create view with order by clause

2004-11-16 Thread David Pérez Gómez
Hello. Can anyone suggest me that is it possible to create view with "order by" clause... I have tried to create views with thah clause and I have got an error: "Syntax error or access violation;-3014 POS(204) Invalid end of SQL statement." thank you very much in advance __

RE: php module environment

2004-11-16 Thread Simenec, Thomas
Hi, Please download the corrected DLLs (one for PHP 4, one for PHP 5) from the following link. They should fix the error. An official update will be available on the MySQL page soon. http://sapmats-de.sap-ag.de/download/download.cgi? id=52Z1TIKJY0FX2XGR9QPLJBWX50FXPCNZ4E8Y3AVC9J4N2T1ZEF Regard

AW: Re : AW: Migration with SDBUPD - cannot find DB instance

2004-11-16 Thread Weinmann, Alexander
OK, it is getting more interesting now: The _OPTSAPDB is an "internal" entry which is not relevant. The tool says that it cannot find your /var/opt/sapdb/indep_data - Directory Does this directory exist? (There should also be somewhere a subdirectory DEMO where you will find the working directo

RE: Maximum query size in MaxDB

2004-11-16 Thread Schroeder, Alexander
Hello Alexei, there is the parameter _PACKET_SIZE defining the maximum size of one communication packet sent by the database. The maximum length of the statement directly depends on it, but there's no easy formula that derives directly from the _PACKET_SIZE the maximum length of an SQL statement