Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Oracle 10g Windows + CF8 Windows doesn't make the insert

Guest
Jan 02, 2009 Jan 02, 2009
Hi!

I have this simple query that is not inserting new values :

<cfquery datasource="THEDATASOURCE">
INSERT INTO SCHEMA.TABLE (ID_COLUMN, SECOND_COLUMN)
VALUES (AUTOINCREMENT_TABLE.NEXTVAL,'<cfoutput>#form.FIELD#</cfoutput>');commit;
</cfquery>

where AUTOINCREMENT_TABLE.NEXTVAL is a sequence made for the ID column of the table.


what can be?
TOPICS
Database access
640
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 02, 2009 Jan 02, 2009
What exactly is it doing? Throwing an error?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 02, 2009 Jan 02, 2009
it's not inserting the text from the web form.
I enclosed the code with a <cftry> but it's not throwing any error.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 02, 2009 Jan 02, 2009
LATEST
What is your indication that the new record is not there? Is the sequence incrementing?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources