RE: Stored Process

2002-04-19 Thread Dave Watts
> Since lists are also strings why not pass it in as a > varchar using cfsqltype="CF_SQL_VARCHAR" > > then within the stored procedure > > select * from country > where country_id IN (@countries) > > just make sure the varchar is large enough to hold a > little more than the maximum number of

RE: Stored Process

2002-04-18 Thread Eric Gilbert
characters that the list can contain At 03:52 AM 4/16/2002, you wrote: >Adrian, >Im not sure as I am new to stored procedures.What do you think it should >be ? > > >-Original Message- >From: Adrian Lynch [mailto:[EMAIL PROTECTED]] >Sent: 16 April 2002 11:43 >To:

RE: Stored Process

2002-04-16 Thread Jerry Staple
Thanks very Much Mike -Original Message- From: Mike Bruce [mailto:[EMAIL PROTECTED]] Sent: 16 April 2002 12:07 To: CF-Talk Subject: Re: Stored Process Unfortunately building an 'in' statement in a stored procedure is not as straight forward as one would like. You can not simp

RE: Stored Process

2002-04-16 Thread Adrian Lynch
6 April 2002 11:52 To: CF-Talk Subject: RE: Stored Process Adrian, Im not sure as I am new to stored procedures.What do you think it should be ? -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED]] Sent: 16 April 2002 11:43 To: CF-Talk Subject: RE: Stored Process cfsqltype

Re: Stored Process

2002-04-16 Thread Mike Bruce
#x27; EXEC spExecuteSQL @SQLStatement --- Check Books online to verify the syntax. Mike Bruce - Original Message - From: "Jerry Staple" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, April 16, 2002 6:52 AM Subje

RE: Stored Process

2002-04-16 Thread Jerry Staple
Adrian, Im not sure as I am new to stored procedures.What do you think it should be ? -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED]] Sent: 16 April 2002 11:43 To: CF-Talk Subject: RE: Stored Process cfsqltype="CF_SQL_INTEGER" <<<<<<<<

RE: Stored Process

2002-04-16 Thread Adrian Lynch
cfsqltype="CF_SQL_INTEGER" is that correct?? -Original Message- From: Jerry Staple [mailto:[EMAIL PROTECTED]] Sent: 16 April 2002 11:31 To: CF-Talk Subject: Stored Process Hi , I am transferring few queries into stored procedures but I have come across a stumbling block