Egal написал:
Иванов Г. А. написал(а):
Есть R/3 4.0B
Центральная инстанция на Solaris 5.6 ORACLE 8.0.5
Диалог на Windows 2003 Server.
Хочу законнектиться к MSSQL посредством
exec sql.
connect to 'имя коннекта'
endexec.
Прога валится в дамп - говорит нет записи 'имя коннекта' в DBCON, хотя в DBCON такая запись есть.
Это как-нибудь лечится?
я чегото видимо не впариваю - а причем тут MS SQL ?

или причем тут exec sql ?
Вот причем
When you start the R/3 System, an initial connection is opened to the R/3 database.
The multi-connect allows you to open other connections to other databases of the same, or a different, type. The only condition is that the database must be supported by SAP . When you activate a database connection, the subsequent Native SQL statements are executed by this database system. Each connection that you want to address using multi connect must be described by a record in the table DBCON.
You open a connection with the command CONNECT TO dbs, where dbs is the name of the connection as specified in the table DBCON. You can specify the name either as a host variable or a literal. You can use the AS alias addition to specify an alias name for the connection. This is necessary if you want to open more than one connection to the same database. To make connection dbs the current connection, use the statement SET CONNECTION dbs. All subsequent Native SQL statements are then processed by this connection. SET CONNECTION DEFAULT resets the initial connection. To close the current connection, use the DISCONNECT command
