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

"Nested" queries clobber datasource in query they are called from!

New Here ,
Aug 27, 2009 Aug 27, 2009

Copy link to clipboard

Copied

Much to my dismay, I discovered that "nested" queries clobber the datasource in the query they are called from.  You can get a nested query if inside <cfquery> tags you call a function (through # signs) that runs its own query.  If that query is to a different datasource, then the original query will actually be run against the nested query's datasource.

I thought I'd let you all know to see your thoughts, and ask if there is a better way to report this "Bug" (if we all agree its a bug) to Adobe.

TOPICS
Database access

Views

644

Translate

Translate

Report

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 ,
Aug 27, 2009 Aug 27, 2009

Copy link to clipboard

Copied

LATEST

This came up a couple of weeks ago, and has been raised as a bug: http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=79382

It might help for you to vote for it.

--

Adam

Votes

Translate

Translate

Report

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
Documentation