Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 3 of 3 total |
Troubles with stored procedures in external modules |
Fri, Mar 27 2009 3:53 PM | Permanent Link |
Tiago Ameller | I'm just curious about is there any incident report about this:
SELECT Matricula, M.Nombre AS Nombre_Marca, Modelo, T.Nombre AS Nombre_Tipo, NumTarjeta, Clase, Ambito, ExpedicionTarjeta, CaducidadTarjeta, NOMBRECOMPLETO(C.RAZONSOCIAL,C.APELLIDO2,C.NOMBRE) AS Nombre_Completo, --* DOMICILIOCOMPLETO(SV.Sigla,C.ViaPublica,C.NumeroVia,C.Escalera,C.Piso,C.Puerta) AS Domicilio_Completo, --* MUNICIPIOCOMPLETO(C.CPostal,C.Municipio,PR.Nombre) AS Municipio_Completo --* FROM MAVEHICU INNER JOIN MAMARVEH M ON (M.CODIGO = MARCA) INNER JOIN MATIPVEH T ON (T.CODIGO = TIPOVEHICULO) INNER JOIN MACLIENT C ON (C.NIF = PROPIETARIO) INNER JOIN MASIGLAV SV ON (C.SiglaViaCod = SV.Codigo) INNER JOIN MAPROVIN PR ON (C.Provincia = PR.Sigla) WHERE CADUCIDADTARJETA BETWEEN :DFecha AND :HFecha ORDER BY MATRICULA; --* stands for stored procedures in an external dll runs fine most of times, but suddenly server raises an access violation (running stand alone) or simply hangs (running as a service) when preparing it. I found problem is in external module .dll Stored code is very simply (just string concatenation) And it fails randomly. Any idea? |
Mon, Mar 30 2009 9:59 AM | Permanent Link |
Tiago Ameller | I found it.
My stored procedures were compiled with just one package: edb202r2007run.bpl This implies other vcl packages implicity included. In a *more than one session on server* use of string stored functions causes random a.v. at server side. Now, I compiled all .dll with no packages and a.v. are gone. (but my deployment package is some MB larger ) |
Mon, Mar 30 2009 4:47 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Tiago,
<< I found it. My stored procedures were compiled with just one package: edb202r2007run.bpl This implies other vcl packages implicity included. In a *more than one session on server* use of string stored functions causes random a.v. at server side. >> Wow, that's a tough one to find, so I'm glad you found it out instead of me. Thanks, -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Sunday, May 5, 2024 at 07:30 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |