Ask a Question related to Coldfusion Database Access, Design and Development.
-
-=MM=- #1
CFQUERYPARAM CFSQLTYPE Datatype Sizes?
Hi,
This is probably come up before, but I'm not having any luck tracking
down info on it. Does anyone have a list of datatype sizes for each type
supported in the CFQUERYPARAM tag's CFSQLTYPE attribute (where applicable)?
Found this documentation:
[url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-b20.htm#wp1102474[/url]
But it doesn't go into any details around the datatypes themselves. Could the
sizes be driven by the database you are connecting to, or are they published in
some standard out there?
Thanks!
-=MM=-
-=MM=- Guest
-
Problem with cfsqltype attribute of cfprocparam
I am using Microsoft SQL server 2000. The cfsqltype attribute of cfprocparam supports the following as shown below (extract from in its... -
Problem using cfqueryparam
CF throw me an error if I use <cfqueryparam cfsqltype="cf_sql_longvarchar"... on MS Access Memo field. My data in the Memo field is around 1000+... -
Invalid data error for CFSQLTYPE CF_SQL_VARBINARY
I'm testing out our news release posting application with our new CF MX 7 server and I'm getting an error posting a news release: Invalid data... -
cfqueryparam
Hi, I am trying to take values passed through a form and do a search based on that, but I am getting an error Error Executing Database Query.... -
boolean cfsqltype
Can someone please advise what cfsqltype should I used for boolean (true/false)? I've tried cf_sql_bit, but my results were inconsistent. i.e. ... -
Jochem van Dieten **AdobeCommunityExpert** #2
Re: CFQUERYPARAM CFSQLTYPE Datatype Sizes?
-=MM=- wrote:
There is no standard, it is all implementation defined. Since the> This is probably come up before, but I'm not having any luck tracking
> down info on it. Does anyone have a list of datatype sizes for each type
> supported in the CFQUERYPARAM tag's CFSQLTYPE attribute (where applicable)?
>
> Found this documentation:
> [url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-b20.htm#wp1102474[/url]
> But it doesn't go into any details around the datatypes themselves. Could the
> sizes be driven by the database you are connecting to, or are they published in
> some standard out there?
cfsqltype datatypes map to the JDBC datatypes, your best bet is
checking the documentation of the JDBC driver of your database to
see the native datatype and the mapping and limitations.
Jochem
--
Jochem van Dieten
Adobe Community Expert for ColdFusion
Jochem van Dieten **AdobeCommunityExpert** Guest



Reply With Quote

