Error converting data type varchar to int.

2008-09-17 Thread Larry Juncker
Request Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Error converting data type varchar to int. The error occurred in C:\Inetpub\wwwroot\statsandgo\members\Student\Sports\form2action.cfm: line 56 54 :cfprocparam type=In cfsqltype

RE: Error converting data type varchar to int.

2008-09-17 Thread houseoffusion
: 17 September 2008 12:51 To: CF-Talk Subject: Error converting data type varchar to int. I keep getting an error that appears to be in my cfprocresult as follows. Any quick help would be greatly appreciated I hope that I have included enough information for some help. Thanks in advance

Re: Error converting data type varchar to int.

2008-09-17 Thread Larry Juncker
Thank You for the reply... As shown before, my code is below... What are you saying I need to do here? I am still new to Stored Procedures and the use of them. Larry cftransaction cfstoredproc procedure=sp_schol_ins datasource=profilesandgo cfprocparam type=In

RE: Error converting data type varchar to int.

2008-09-17 Thread houseoffusion
Hi Larry, You need to add a cfprocparam for every parameter as follows. So your parameters are: @name varchar(50) = NULL, @schol_type_id int = NULL, @scholarships_uid int = NULL, @academic_uid int = NULL, @tablename varchar(50) = NULL, @Student_UID int = NULL Therefore your call to the stored

RE: Error converting data type varchar to int.

2008-09-17 Thread Larry Juncker
: houseoffusion [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 8:42 AM To: CF-Talk Subject: RE: Error converting data type varchar to int. Hi Larry, You need to add a cfprocparam for every parameter as follows. So your parameters are: @name varchar(50) = NULL, @schol_type_id int

RE: Error converting data type varchar to int.

2008-09-17 Thread Larry Juncker
the empty cfprocparams for the fields and set them to null=yes Thanks for youyr help Larry -Original Message- From: Larry Juncker [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 8:51 AM To: CF-Talk Subject: RE: Error converting data type varchar to int. The only parts

RE: Error converting data type varchar to int.

2008-09-17 Thread houseoffusion
/cfstoredproc I have added the check for NULL to each parameter that requires it null=#NOT len(FORM.schol_type_id)#. Later, Niall. -Original Message- From: Larry Juncker [mailto:[EMAIL PROTECTED] Sent: 17 September 2008 14:51 To: CF-Talk Subject: RE: Error converting data type varchar to int

RE: Error converting data type varchar to int.

2008-09-17 Thread houseoffusion
To: CF-Talk Subject: RE: Error converting data type varchar to int. I got it cftransaction cfstoredproc procedure=sp_schol_ins datasource=profilesandgo cfprocparam type=In cfsqltype=CF_SQL_VARCHAR dbVarName=Name value=#FORM.Sport# null

RE: Error converting data type varchar to int.

2008-09-17 Thread Dave Watts
cftransaction cfstoredproc procedure=sp_schol_ins datasource=profilesandgo ... /cfstoredproc /cftransaction Why do you have a CFTRANSACTION there? It doesn't seem to be doing anything. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides

RE: Error converting data type varchar to int.

2007-06-19 Thread Robertson-Ravo, Neil (RX)
deprecated, but made a welcome return in a recent updater/CF8 I believe. -Original Message- From: Dean Lawrence [mailto:[EMAIL PROTECTED] Sent: 18 June 2007 16:19 To: CF-Talk Subject: Re: Error converting data type varchar to int. Rob, I think I remember what caused me to have this error

RE: Error converting data type varchar to int.

2007-06-19 Thread Robert Rawlins - Think Blue
Thanks for your help on this Neil, It now works an absolute charm. I owe you a pint. Rob -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 19 June 2007 09:37 To: CF-Talk Subject: RE: Error converting data type varchar to int. I spoke with Rob, the fix

Re: Error converting data type varchar to int.

2007-06-18 Thread Dean Lawrence
Rob, I think I remember what caused me to have this error. Try removing the variable attribute of the cfprocparam tags. If the variable names do not explicitely match the variables defined in your stored proc, CF will throw an error. Variable names were depriciated in CFMX and were basically

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sat Jun 16 21:32:59 2007 Subject: Re: Error converting data type varchar to int. Hello Neil, I'm running SQL Server 2005, and this is a create table script

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sat Jun 16 21:32:59 2007 Subject: Re: Error converting data type varchar to int. Hello Neil, I'm running SQL Server 2005, and this is a create table script for you. CREATE TABLE Credential

Re: Error converting data type varchar to int.

2007-06-17 Thread robert . rawlins
this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sat Jun 16 21:32:59 2007 Subject: Re: Error converting data type varchar to int. Hello Neil, I'm running SQL Server

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Jun 17 10:08:28 2007 Subject: Re: Error converting data type varchar to int. Morning Niel, Thanks for that info

Re: Error converting data type varchar to int.

2007-06-17 Thread robert . rawlins
are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Jun 17 10:08:28 2007 Subject: Re: Error converting data type varchar to int. Morning Niel, Thanks for that info, I'm

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Jun 17 10:44:08 2007 Subject: Re: Error converting data type varchar to int. Thanks N, Ok, so it looks like that cumulative patch was already installed on the box, I must have placed it on when I built the server and forgotten about it, I've reinstalled

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Jun 17 10:44:08 2007 Subject: Re: Error converting data type varchar to int. Thanks N, Ok, so it looks like that cumulative patch was already installed on the box, I must have placed

Re: Error converting data type varchar to int.

2007-06-17 Thread robert . rawlins
://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Jun 17 10:44:08 2007 Subject: Re: Error converting data type varchar to int. Thanks N, Ok, so it looks like that cumulative patch was already installed on the box, I must have placed it on when I built

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
. Visit our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Jun 17 10:44:08 2007 Subject: Re: Error converting data type varchar to int. Thanks N, Ok, so it looks like that cumulative patch was already installed on the box, I must

Re: Error converting data type varchar to int.

2007-06-17 Thread robert . rawlins
17 10:44:08 2007 Subject: Re: Error converting data type varchar to int. Thanks N, Ok, so it looks like that cumulative patch was already installed on the box, I must have placed it on when I built the server and forgotten about it, I've reinstalled the patch and rebooted the box, So

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
. Visit our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Jun 17 12:03:30 2007 Subject: Re: Error converting data type varchar to int. Mate, I've just spotted a few blog posts that 3.3 is the out of date version which was listed a bug

Re: Error converting data type varchar to int.

2007-06-17 Thread robert . rawlins
this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Jun 17 12:03:30 2007 Subject: Re: Error converting data type varchar to int. Mate, I've just spotted

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
-Talk Sent: Sun Jun 17 12:13:52 2007 Subject: Re: Error converting data type varchar to int. Hello Mate, There are only 2 or 3 rows currently in the table, from where I've been running the stored procs from SSMS. Maybe it would be worth you trying to replicate the issue, I dont want you to spend

Re: Error converting data type varchar to int.

2007-06-17 Thread robert . rawlins
Hi Neil, I've just tried an in-line query and that appears to work just fine. I'm unable to try the other elements as my SSMS seems to have decided to forget my connection passoword so I cant get connected untill I'm in the office, doh! Rob

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
:11 2007 Subject: Re: Error converting data type varchar to int. Hi Neil, I've just tried an in-line query and that appears to work just fine. I'm unable to try the other elements as my SSMS seems to have decided to forget my connection passoword so I cant get connected untill I'm in the office

Re: Error converting data type varchar to int.

2007-06-17 Thread robert . rawlins
Hi Neil, I tried the truncate method and that didnt have any effect. I created a new version of the proc as follows. cfquery name=LOCAL.qUpdate datasource=SecurityModel CREATE PROC Proc_Credential_Create @User_ID INTEGER

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Jun 17 13:25:43 2007 Subject: Re: Error converting data type varchar to int. Hi Neil, I tried the truncate method and that didnt have any effect. I created a new version of the proc as follows. cfquery name=LOCAL.qUpdate datasource

Re: Error converting data type varchar to int.

2007-06-17 Thread robert . rawlins
Jun 17 13:25:43 2007 Subject: Re: Error converting data type varchar to int. Hi Neil, I tried the truncate method and that didnt have any effect. I created a new version of the proc as follows. cfquery name=LOCAL.qUpdate datasource=SecurityModel CREATE

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
: Sun Jun 17 13:25:43 2007 Subject: Re: Error converting data type varchar to int. Hi Neil, I tried the truncate method and that didnt have any effect. I created a new version of the proc as follows. cfquery name=LOCAL.qUpdate datasource=SecurityModel

Re: Error converting data type varchar to int.

2007-06-17 Thread robert . rawlins
. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Jun 17 13:52:22 2007 Subject: Re: Error converting data type varchar to int

Re: Error converting data type varchar to int.

2007-06-17 Thread Robertson-Ravo, Neil (RX)
Sent: Sun Jun 17 15:31:47 2007 Subject: Re: Error converting data type varchar to int. Thanks Neil, It certainly is very odd, I have no idea what its doing, like you say with that explicite string definition it should be fine. I've sent a mail to my SQL guy to see whether he has any suggestions

RE: Error converting data type varchar to int.

2007-06-16 Thread Robert Rawlins - Think Blue
in the cf that's causing the problem, it really is most wierd. Thanks for any further ideas you guys have on this. Rob -Original Message- From: Dean Lawrence [mailto:[EMAIL PROTECTED] Sent: 15 June 2007 22:41 To: CF-Talk Subject: Re: Error converting data type varchar to int. Rob

Re: Error converting data type varchar to int.

2007-06-16 Thread James Holmes
In the cfstoredproc call, for your int type you still have a maxlength defined, which is only useful for strings: cfprocparam value=#ARGUMENTS.UserID# variable=User_ID cfsqltype=cf_sql_integer maxlength=128 / Perhaps it's messing up the assignment to the int - try removing it. On 6/16/07,

RE: Error converting data type varchar to int.

2007-06-16 Thread Robert Rawlins - Think Blue
Hi James, Thanks for the suggestion mate, I've tried changing that but still get the same error. :-( Thanks, Rob -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 16 June 2007 13:44 To: CF-Talk Subject: Re: Error converting data type varchar to int

Re: Error converting data type varchar to int.

2007-06-16 Thread Robertson-Ravo, Neil (RX)
at http://www.reedexpo.com -Original Message- From: Robert Rawlins - Think Blue To: CF-Talk Sent: Fri Jun 15 10:56:00 2007 Subject: RE: Error converting data type varchar to int. Right you are Jochem! Here is the stored proc code: CREATE PROCEDURE Sp_Credential_Create @User_ID

Re: Error converting data type varchar to int.

2007-06-16 Thread robert . rawlins
- From: Robert Rawlins - Think Blue To: CF-Talk Sent: Fri Jun 15 10:56:00 2007 Subject: RE: Error converting data type varchar to int. Right you are Jochem! Here is the stored proc code: CREATE PROCEDURE Sp_Credential_Create @User_IDINTEGER, @Username VARCHAR

Re: Error converting data type varchar to int.

2007-06-16 Thread Robertson-Ravo, Neil (RX)
://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sat Jun 16 20:06:54 2007 Subject: Re: Error converting data type varchar to int. Hi Neil, Thanks for the tip on the name of sp's I didnt realize that was the case, I'll rename them all from now on in, just to keep to the best

Re: Error converting data type varchar to int.

2007-06-16 Thread robert . rawlins
-Original Message- From: [EMAIL PROTECTED] To: CF-Talk Sent: Sat Jun 16 20:06:54 2007 Subject: Re: Error converting data type varchar to int. Hi Neil, Thanks for the tip on the name of sp's I didnt realize that was the case, I'll rename them all from now on in, just to keep to the best

RE: Error converting data type varchar to int.

2007-06-15 Thread Robert Rawlins - Think Blue
what's causing this. Thanks, Rob -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: 14 June 2007 18:21 To: CF-Talk Subject: Re: Error converting data type varchar to int. Robert Rawlins - Think Blue wrote: [Macromedia][SQLServer JDBC Driver][SQLServer]Error

Re: Error converting data type varchar to int.

2007-06-15 Thread Dean Lawrence
On 6/15/07, Robert Rawlins - Think Blue [EMAIL PROTECTED] wrote: cfset VARIABLES.DAO.create(1, 'TestUser, 'TestPassword') / Rob, I don't know if this was just your typing into the email, but in the above statement you did not place a closing quote after the second value. So instead it should

RE: Error converting data type varchar to int.

2007-06-15 Thread Robert Rawlins - Think Blue
:[EMAIL PROTECTED] Sent: 15 June 2007 13:52 To: CF-Talk Subject: Re: Error converting data type varchar to int. On 6/15/07, Robert Rawlins - Think Blue [EMAIL PROTECTED] wrote: cfset VARIABLES.DAO.create(1, 'TestUser, 'TestPassword') / Rob, I don't know if this was just your typing

RE: Error converting data type varchar to int.

2007-06-15 Thread Robert Rawlins - Think Blue
-Original Message- From: Dean Lawrence [mailto:[EMAIL PROTECTED] Sent: 15 June 2007 17:29 To: CF-Talk Subject: Re: Error converting data type varchar to int. On 6/15/07, Robert Rawlins - Think Blue [EMAIL PROTECTED] wrote: Thanks Dean, That was just a typo on my part, the actual code I've

Re: Error converting data type varchar to int.

2007-06-15 Thread Dean Lawrence
On 6/15/07, Robert Rawlins - Think Blue [EMAIL PROTECTED] wrote: Thanks Dean, That was just a typo on my part, the actual code I've been testing with has the quote after it. Looking at the SQL code in the error message those strings seem to encrypt fine as well. Yea, I figured it probably

Re: Error converting data type varchar to int.

2007-06-15 Thread Dean Lawrence
Rob, Hmmm, it certainly appears to be passing in an int and 2 strings. What is killing me is that I know I had run up against this error in the past, and for the life of me, I cannot remember exactly what the problem was. You may want to double check the field names and types that are defined in

Error converting data type varchar to int.

2007-06-14 Thread Robert Rawlins - Think Blue
Hello guys, I've got a stored proc that enters information into a table on my SQL Server database, and I'm getting the following error message when trying to run it. [Macromedia][SQLServer JDBC Driver][SQLServer]Error converting data type varchar to int. This is a snippet of the query

Re: Error converting data type varchar to int.

2007-06-14 Thread Jochem van Dieten
Robert Rawlins - Think Blue wrote: [Macromedia][SQLServer JDBC Driver][SQLServer]Error converting data type varchar to int. This is a snippet of the query details thrown back in the error, it simple takes 3 parameters, the first is an integer and the second 2 are strings/varchar