RhythmAddict112
Programmer
Hi all. Im tryin to do a simple insert from an ASP page into an Oracle DB. I'm receiving this error:
ORA-01401: inserted value too large for column
So I Response.Write my SQL and go over to oracle:
SQL> INSERT INTO tbl_Batch (dCreated,cRegion,cCreatorID,cBSys,cComment) Values ('19-AUG-2004','NY ','greenj','V','Test value');
1 row created.
SQL>
Works with no issue whatsoever. Which to me means it's got to be something in ASP page. I can't for the life of me figure out what it may be.
As I stated, this is just a simple Insert statement:
Anyone have any idea on what this may be? Thank you in advance.
ORA-01401: inserted value too large for column
So I Response.Write my SQL and go over to oracle:
SQL> INSERT INTO tbl_Batch (dCreated,cRegion,cCreatorID,cBSys,cComment) Values ('19-AUG-2004','NY ','greenj','V','Test value');
1 row created.
SQL>
Works with no issue whatsoever. Which to me means it's got to be something in ASP page. I can't for the life of me figure out what it may be.
As I stated, this is just a simple Insert statement:
Code:
cBSys = RS_Select(0)
GlbUser = Session("glbUser")
GlbRegion = Session("glbRegion")
dCreated = OracleDate(date)
InsertString = "INSERT INTO tbl_Batch (dCreated,cRegion,cCreatorID,cSys,cComment) Values ('" & dCreated & "','" & GlbRegion & "','" & GlbUser & "','" & cBSys & "','" & strPromoCodes & "')"
Set RS_Insert = DB.Execute(InsertString)
RS_Insert.Close
Set RS_Insert = Nothing
Anyone have any idea on what this may be? Thank you in advance.