Hello,
I have a similar problem if anyone can please help:
Error
-----
System.Data.OleDb.OleDbException was caught
Message="ORA-06550: line 1, column 83:\nPLS-00103: Encountered the symbol \")\" when expecting one of the following:\n\n ( - + case mod new not null others <an identifier>\n <a double-quoted delimited-identifier> <a bind variable> avg\n count current exists max min prior sql stddev sum variance\n execute forall merge time timestamp interval date\n <a string literal with character set specification>\n <a number> <a single-quoted SQL string> pipe\n <an alternatively-quoted string literal with character set specification>\n <an alternatively-q"
Source="Microsoft OLE DB Provider for Oracle"
ErrorCode=-2147217900
StackTrace:
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at Microsoft.ApplicationBlocks.Data.SqlHelper.Execute NonQuery(OleDbConnection connection, CommandType commandType, String commandText, OleDbParameter[] commandParameters) in C:\Documents and Settings\Administrator\Desktop\awni\oledb\oledb\V3 \CSSCommServer\CSSCommServer\CSSCommServer\SqlHelp er.cs:line 336
at CSSTrackWell.CJDataBase.Insert(String szSPName, OleDbParameter[] arParms) in C:\Documents and Settings\Administrator\Desktop\awni\oledb\oledb\V3 \CSSCommServer\CSSCommServer\CSSCommServer\CJDataB ase.cs:line 252
Proc
----
CREATE OR REPLACE PROCEDURE InsertGPRMC
(
IMEI IN CHAR DEFAULT NULL,
chCarLicensePlate IN CHAR DEFAULT NULL,
Date_Time IN timestamp DEFAULT NULL,
Lon IN float DEFAULT NULL,
Lat IN float DEFAULT NULL,
Speed IN float DEFAULT NULL,
Direction IN float DEFAULT NULL,
Status IN CHAR DEFAULT NULL,
ID IN char
)
AS
BEGIN
INSERT INTO GPRMC
( IMEI ,
CarLicencePlate ,
Date_Time ,
Lon ,
Lat ,
Speed ,
Direction ,
Status,
ID )
VALUES ( InsertGPRMC.IMEI ,
InsertGPRMC.chCarLicensePlate ,
InsertGPRMC.Date_Time ,
InsertGPRMC.Lon ,
InsertGPRMC.Lat ,
InsertGPRMC.Speed ,
InsertGPRMC.Direction ,
InsertGPRMC.Status,
InsertGPRMC.ID );
END;
/
|