I've got the following:
remote function Save(Param) {
local.svc = new storedproc();
local.svc.setProcedure("Save");
local.svc.addParam(cfsqltype="cf_sql_varchar",type= "in",value='#arguments.Param#');
local.obj = local.svc.execute();
local.result = {};
local.result.msg = local.obj.getprocOutVariables().msg;
return local.result;
}
It looks like the limit as to the size that I can pass up to SQL Server is around 2k.
Q: Is that right, and can I increase it?
Edit:
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7d52.html
says a maxLength of 0 allows any length, but when I added that, I got an "Invalid data value" error.