Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set mysql variables in ColdFusion?

Status
Not open for further replies.

Dawg06

Programmer
Jul 24, 2006
13
0
0
CA
Hey there,

I am trying to figure out how to set a global variable in CF. What I need to do is change the max length of a variable in mysql. How do I do this in CF and what file do I put it in?

Here is what I need to set as by default it is too low for what I need it for.

SET [SESSION | GLOBAL] group_concat_max_len = 1000000;

Thanks for any help I can get with this :)
 
haven't needed it myself but i think you can just run the SET statement in a CFQUERY tag like any other statement

r937.com | rudy.ca
 
I have tried setting it in the cfquery and had no sucess. Any other ideas?

Thanks
 
Perfect thanks very much for your help, that worked great!
Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top