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

Why all this additional code?

Community Beginner ,
Feb 18, 2010 Feb 18, 2010

Hi,

To INSERT db2 data my code uses

<cfqueryparam

value="#UCASE(arguments.myData)#" cfsqltype="CF_SQL_CHAR" maxlength="40">,

however

#UCASEarguments.myData#)

is just as effective and the debugger shows the final code result instead of ? where it becomes necessary to match the arguments to get the final result.

What, if any, advantage does the cfqueryparam tag provide?

Can someone enlighten me pleasse?

Thank You in Advance.

TOPICS
Database access
473
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

LEGEND , Feb 18, 2010 Feb 18, 2010

Do you need more information than is already presented in the documentation?

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7f6f.html

--

Adam

Translate
LEGEND ,
Feb 18, 2010 Feb 18, 2010

Do you need more information than is already presented in the documentation?

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7f6f.html

--

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
Community Beginner ,
Feb 18, 2010 Feb 18, 2010
LATEST

Thanks Adam! That's what I needed know.

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