HELLO!!
In Sql Server I have a problem setting up a linked server to the navision DB using C\ODBC.
i can read data,
select * from OPENQUERY(SERV,'SELECT * FROM TEMP_REFERENCIA')
runs ok
but statement insert like this is bad.
INSERT INTO OPENQUERY(SERV,'SELECT * FROM TEMP_REFERENCIA')
(REF_IDENTIFICADOR,REF_ID,REF_NOMBRE,REF_ALIAS,REF_TELEFONO,REF_FAX,REF_URL,REF_SEC_ID,REF_EST_ID,REF_USU_ALTA,REF_USU_MODIF,REF_FALTA,REF_FMODIF,REF_FBAJA,REF_BLOQUEADA,REF_NIFCIF,REF_TRATADO,REF_FTRATADO,REF_TACCION)
SELECT 1,REF_ID_NAVISION, REF_NOMBRE,REF_ALIAS,REF_TELEFONO,REF_FAX,REF_URL,'0005',REF_EST_ID,REF_USU_ALTA,'ARSALES','28/07/2005','28/07/2005','28/07/2005',0,REF_NIFCIF,0,'01/01/1900',0
FROM arsales.arsales.referencia
WHERE REF_ID='REF1'
it returns isam error.
El proveedor OLE DB 'MSDASQL' informa de un error.
[OLE/DB provider returned message: [Navision Software a/s][Navision Financials ODBC Driver]ISAM error]
Traza de error de OLE DB [OLE/DB Provider 'MSDASQL' IRowsetChange::InsertRow returned 0x80004005: ].
Please help me!!
0
Comments
If you can help me do it, please.
Thanks.
I have the same problem. Navision DataBase linked with Microsoft SQL Server via ODBC Driver.
Select and update works.
But when i try this :
I get this ](*,) ](*,) ](*,) :
Have you an idea ?! #-o
Thanks !