Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Conexión con bases de datos (https://www.clubdelphi.com/foros/forumdisplay.php?f=2)
-   -   OPENROWSET Funciona en MySQL? (https://www.clubdelphi.com/foros/showthread.php?t=40298)

Alexander 12-02-2007 23:29:08

OPENROWSET Funciona en MySQL?
 
He utilizado la funcion OPENROWSET en SQL Server, pero no se si funciona en MySQL.

Yo utilizo generalmente OPENROWSET en Sql Server, esta es la consulta,

Código SQL [-]
SELECT ProductoInv, DescripcionInv, PrecioInv_1 FROM OPENROWSET('MSDASQL','SIIWI012007';'';'','SELECT * FROM TABLA_MAESTRO_INVENTARIOS') 

Pero si la pongo en MySQL no funciona, muestra el siguiente error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '('MSDASQL','SIIWI012007' at line 1

Que funcion la puede reemplazar si no es openrowset?

pd. Lo que hace es: Se comunica por medio de mi servidor SQL server a una ODBC en Relativity ( COBOL ).

Gracias por sus comentarios.

Alexander


La franja horaria es GMT +2. Ahora son las 03:16:45.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi