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

cfquery inserting multiple values into tables?

New Here ,
Apr 26, 2008 Apr 26, 2008
Hi
I am extremely new to CF and I am stuck. I have queries to inserts data into to multiple tables which works fine in SQL plus, but when I try it using a cold fusion form, it doesn't work and I get the error noted below.
The RelNo.NEXTVAL and RelNo.CURRVAL are the primary keys in the two noted tables so that that the number is the same in both tables. I tried breaking it into 2 cfquery, but it didn't work. Any suggestions would be helpful. Thanks.
David


Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Oracle][ODBC][Ora]ORA-00933: SQL command not properly ended

The error occurred in C:\ColdFusion8\wwwroot\dbclass2\newdonorinsert.cfm: line 11
TOPICS
Getting started
295
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

correct answers 1 Correct answer

New Here , Apr 30, 2008 Apr 30, 2008
Thanks. It was driving me nuts
Translate
LEGEND ,
Apr 26, 2008 Apr 26, 2008
Each sql query must be in separate cfquery tags.
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
New Here ,
Apr 30, 2008 Apr 30, 2008
LATEST
Thanks. It was driving me nuts
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