Foros del Web » Programación para mayores de 30 ;) » Bases de Datos General »

ORA-00936: missing expresion

Estas en el tema de ORA-00936: missing expresion en el foro de Bases de Datos General en Foros del Web. Hola, Estoy programando el siguiente código y cuando lo voy a ejecutar me sale el erro ORA-00936:missing expression. ¿Por que puede ser eso? @import url("http://static.forosdelweb.com/clientscript/vbulletin_css/geshi.css"); ...
  #1 (permalink)  
Antiguo 04/02/2013, 08:53
 
Fecha de Ingreso: abril-2012
Mensajes: 449
Antigüedad: 12 años
Puntos: 7
Exclamación ORA-00936: missing expresion

Hola,
Estoy programando el siguiente código y cuando lo voy a ejecutar me sale el erro ORA-00936:missing expression. ¿Por que puede ser eso?

Código vb.net:
Ver original
  1. Dim conn As New OracleConnection()
  2.         conn.ConnectionString = ConfigurationManager.ConnectionStrings("conexionOracle").ConnectionString.ToString
  3.  
  4.         Dim comm As OracleCommand = New OracleCommand("INSERT INTO sapsr3.ZGASTOS_GEN(MANDT,ZIG,PRCTR,KOSTL,AUFNR,PSPID,ERDAT,ZPEPKM,ZCONTKM, " & _
  5.                                                 "ZIMPTEAP,ZIMPRELAPUB,ZIMTEAP2,ZIMTEKM,ZIMGASVI,ZIMKM2,ZIMPARK,ZIMPARK2,ZIMEALOJ,ZIMEALOJ2,ZIMPORJ2,ZIMPTRANS, " & _
  6.                                                 "ZIMPTRANS2,ZIMPOVEHI,ZIMPOVEHI2,ZIPOCOMBUS,ZIPOCOMBUS2,ZIPORAMAN,ZIPORAMAN2,ZIPORTMAT,ZISUCONT, " & _
  7.                                                 "ZIPFEREXP,ZIREGALOB,ZIMINTER,ZIPGSTEXC,ZICATAFOL,ZPERIOD,ZEJERCIC,ZCONTAP,ZCONTPARK, " & _
  8.                                                 "ZCONTALOJ,ZCONRELAPU,ZCONTBITRA,ZCONTALVEH,ZCONTCOMBU,ZCONTMANU,ZONTKM2,ZCONTAP2,ZCONTPARK2, " & _
  9.                                                 "ZCONTALOJ2,ZCNTBITRNS2,ZCNTALVE2,ZCONTCOMBUS2,ZCONTMANU2,ZCNTGASVIA2,ZCNTGASVIA,ZCONTPUBLI2,ZCONTOTROMAT, " & _
  10.                                                 "ZCONTSUBCONTR,ZCONERIAEXP,ZCONTREGAOBS,ZCATAFOLLET,ZCUETAINTER,ZGASTSEXCEP,ZELEMENTAP, " & _
  11.                                                 "ZELEMTPARKI,ZELEMALOJA,ZELEMPEPBIT,ZELEPALVEHI,ZELERELPUBL,ZELETPEPCOMB,ZELEMTPEMANU, " & _
  12.                                                 "ZELEMOTROMAT,ZELEMTSUBCON,ZELEMTPEPFER,ZELEMPEPREGOB,ZELEMPEPCATFOL,ZELEMPEPINTER,ZELEMTPEPGSEXT, " & _
  13.                                                 "TRATADO,XBLNR) " & _
  14.                                                 "VALUES(@mandt,@numhoja,@codigolinea,@ceco,@orden,@proyecto,@fechacreacion,@elementopepKm,@cuentakm,@importeAp, " & _
  15.                                                 "@importerelapublic,@importeAp2,@importekm,@importegastosviaje,@importekm2,@importeParking,@importeParking2,@importeAlojamiento, " & _
  16.                                                 "@importeAlojamiento2,@importeTotal,@importeBiTrans,@importeBiTrans2,@importeAlVehi,@importeAlVehi2, " & _
  17.                                                 "@importeCombustible,@importeCombustible2,@importeManu,@importeManu2,@importeOtrosMateriales, " & _
  18.                                                 "@importeSubcontratas,@importeFeriExpo,@importeRegalObs,@importeInternet,@importeGastosExcep, " & _
  19.                                                 "@importeCataFolletos,@mes,@año,@cuentaAp,@cuentaParking,@cuentaAlojamiento,@cuentarelapublic,@cuentaBiTrans,@cuentaAlVehi, " & _
  20.                                                 "@cuentaCombustible,@cuentaManu,@cuentakm2,@cuentaAp2,@cuentaParking2,@cuentaAlojamiento2,@cuentaBiTrans2, " & _
  21.                                                 "@cuentaAlVehi2,@cuentaCombustible2,@cuentaManu2,@cuentaGastosViaje2,@cuentaGastosViaje,@cuentarelapublic2,@cuentaOtrosMateriales, " & _
  22.                                                 "@cuentaSubcontratas,@cuentaFeriExpo,@cuentaRegalObs,@cuentaCataFolletos,@cuentaInternet,@cuentaGastosExcep, " & _
  23.                                                 "@elementopepAp,@elementopepParking,@elementopepAlojamiento,@elementopepBiTrans,@elementopepAlVehi, " & _
  24.                                                 "@elementopepRelaPublic,@elementopepCombustible,@elementopepManu,@elementopepOtrosMateriales,@elementopepSubcontratas, " & _
  25.                                                 "@elementopepFeriExpo,@elementopepRegalObs,@elementopepCataFolletos, " & _
  26.                                                 "@elementopepInternet,@elementopepGastosExcep,@tratado,@nombreApellidos)", conn)
__________________
Gracias por todo;

Un saludo

Etiquetas: expresion, fecha, missing
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 20:21.