Can anyone give me a clue here? I've just started working with SQL 7.0 and
stored procedures.
My stored procedure code is as follows:
declare @theaddr varchar(48)
select * from master where addr like '%@theaddr%'
My cold fusion code is as follows:
<cfstoredproc procedure="test1" datasource="test" returncode="Yes">
<cfprocparam type="In"
cfsqltype="CF_SQL_CHAR"
dbvarname="@testaddr"
value="#form.addr">
<cfprocresult name="checkmaster">
</cfstoredproc>
My error is as follows:
ODBC Error Code = 37000 (Syntax error or access violation)
[Microsoft][ODBC SQL Server Driver][SQL Server]Procedure test1 has no
parameters and arguments were supplied.
----------------------------------------------
Can anyone point me in what I am doing wrong?
Thanks,
[EMAIL PROTECTED]
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.