End Google Ads 201810 - BS.net 01 -->
i am having so much fun with ODP.NET/C#
CREATE TABLE GENERICPROPERTY (
...
CreatedBy numeric(19,0) DEFAULT -1 NOT NULL,
...
)
Also tried numeric(18,0) for .NET Int64 or long type. No luck!
Keep getting error: {"ORA-01722: invalid number"} System.Exception {Oracle.DataAccess.Client.OracleException}"
This is the code - I've isolated it down to this parameter by trial and error (commenting out param one-by-one)
oParam = oCmd.CreateParameter();
oParam.ParameterName = DBUtil.FixParameterNameForOracle(oContext.DefaultDBProvider, "@CreatedBy");
oParam.DbType = DbType.Int64;
oParam.Direction = ParameterDirection.Input;
oParam.Value = oContext.LogonUserId;
مواقع النشر (المفضلة)