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

Unable to execute INSERT in RDS Query Viewer

Guest
Dec 04, 2010 Dec 04, 2010

Attempting to execute an INSERT statement within RDS Query Viewer within ColdFusion Builder but receive the message:

"Statement.executeQuery() cannot be called with a statementthat returns a row count."

Is this a configuration issue. Following Ben Forta's book seems to indicate a config issue but the book does not seem to match CF Builder or I messed up the config.

TOPICS
Database access
1.1K
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 ,
Dec 04, 2010 Dec 04, 2010

Not quite sure what you are talking about but the error message suggests that queryaddrow and querysetcell may work for you.

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
Guide ,
Dec 17, 2010 Dec 17, 2010

Posting here just so this guy replies again for my own amusement.

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 ,
Dec 17, 2010 Dec 17, 2010

Don't feed 'em.

(I've reported the first one as spam, because that's all I think it is...)

--

Adam

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 ,
Jun 10, 2011 Jun 10, 2011
LATEST

It's not spam, although the OP doesn't give enough information. How do I know? Because I found this thread looking for answer to the same problem:

Using Coldfusion Builder 2 with Forta's WACK volume 1, page 72, he has this INSERT statement:

INSERT INTO Directors(FirstName,LastName)
VALUES('Ben','Forta')

That generates the error the OP mentions if you try to execute from Builder's RDS Query Viewer. The database uses Derby Embedded. Anyone know what the problem with the above is?

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