Re: SQL stored procedure question

2004-10-11 Thread Don
to null is a starter but not good enough.  Ponder on that, but if you don't want to do that, either follow up here or send me an email. Cheers, Don >  -Original Message- >  From: Pratte, Jeff [mailto:[EMAIL PROTECTED] >  Sent: Friday, October 08, 2004 2:06 PM >  To: CF-Tal

RE: SQL stored procedure question

2004-10-09 Thread Joe Eugene
job done, once you start getting to complex application development... cfQuery and SQL all over the application is Messy. Joe Eugene   -Original Message-   From: Gaulin, Mark [mailto:[EMAIL PROTECTED]   Sent: Friday, October 08, 2004 3:50 PM   To: CF-Talk   Subject: RE: SQL stored procedure

RE: SQL stored procedure question

2004-10-08 Thread Gaulin, Mark
a real pain. I'd suggest sticking with cfquery for now.  SQL Server is going to better (faster,more stable) than Access even if you don't use stored procedures for everything.     Mark -Original Message- From: Pratte, Jeff [mailto:[EMAIL PROTECTED] Sent: Friday, Octobe

RE: SQL stored procedure question

2004-10-08 Thread Mark A Kruger
use the code below - adding CFQUERYPARAM for speed and security. -Mark   -Original Message-   From: Pratte, Jeff [mailto:[EMAIL PROTECTED]   Sent: Friday, October 08, 2004 1:06 PM   To: CF-Talk   Subject: SQL stored procedure question   OK, after hearing everybody say don't use Access

SQL stored procedure question

2004-10-08 Thread Pratte, Jeff
OK, after hearing everybody say don't use Access and an converting my Check Request System to MS SQL Server. And I am trying to use Stored Procedures. However, I am finding it more difficult then I anticipated. For instance, I used to have a query like this: blockfactor="100"> selec

Re: stored procedure question

2004-03-24 Thread Nick Han
Of course it can be done in Oracle. You can have multiple recorders produced from one procedure. Here's the equivalent in pl/sql for the example below: snippet create or replace procedure test( p_username in varchar2, p_password in varchar2 ) is v_user_idnumber; select user_id i

Re: stored procedure question

2004-03-24 Thread Rob
On Wed, 2004-03-24 at 11:23, Burns, John D wrote: > I've done simple stored procedures before to "increase performance" > (which I already heard today doesn't necessarily do that) but I'm > wanting to get into using SQL stored procedures for more in depth stuff. > One thing I'm not sure on how it w

RE: stored procedure question

2004-03-24 Thread Barney Boisvert
assword = '#form.password#' ) > -Original Message- > From: Burns, John D [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 24, 2004 11:23 AM > To: CF-Talk > Subject: stored procedure question > > I've done simple stored procedures before to "increase perfo

stored procedure question

2004-03-24 Thread Burns, John D
I've done simple stored procedures before to "increase performance" (which I already heard today doesn't necessarily do that) but I'm wanting to get into using SQL stored procedures for more in depth stuff. One thing I'm not sure on how it works is as follows: CREATE PROCEDURE [dbo].[sm_login] @

RE: Stored Procedure question

2002-06-05 Thread Phillip Broussard
I made a stored procedure that works great in the query analyzer. I do a simple call to it with CF and it works fine. When I put it in a cfoutput with the query defined I get 0 records back from the DB. Thanks. Here is some of the code select id from dealers where region = 'B

RE: Stored Procedure question

2002-06-05 Thread Mark A. Kruger - CFG
ently try to do a cfoutput within the cfoutput using a result set returned from the SP. Mark -Original Message- From: Phillip Broussard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 2:23 PM To: CF-Talk Subject: Stored Procedure question Can you call to a stored procedure in a

Re: Stored Procedure question

2002-06-05 Thread cstredway
> Can you call to a stored procedure in a cfloop and have it work right? Yes, as long as the procedure is called by cfquery or cfstoredproc tag. > Can you call to a stored procedure in a cfoutput with the query named > defined and have it work right? Yes, as long as the procedure is called by

Stored Procedure question

2002-06-05 Thread Phillip Broussard
Can you call to a stored procedure in a cfloop and have it work right? Can you call to a stored procedure in a cfoutput with the query named defined and have it work right? Trying to use stored procedures for the first time and they are really staring to tick me off. Gr Thanks, Phillip

Re: Stored Procedure Question

2001-11-20 Thread Brian Silvers
of the things I don't like about ColdFusion because sometimes it is very hard to find out what is happening in cases as this. - Original Message - From: "Bruce Sorge" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001

Re: Stored Procedure Question

2001-11-20 Thread Bruce Sorge
L_DATE >to work properly. > >- Original Message - >From: "Bruce Sorge" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Tuesday, November 20, 2001 1:27 PM >Subject: Stored Procedure Question > > >> OK, I have been using SP for

Re: Stored Procedure Question

2001-11-20 Thread Kwang Suh
Hmm. Try using CF_SQL_TIMESTAMP. I've NEVER been able to get CF_SQL_DATE to work properly. - Original Message - From: "Bruce Sorge" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001 1:27 PM Subject: Stored P

Stored Procedure Question

2001-11-20 Thread Bruce Sorge
OK, I have been using SP for a while with no problems. Now I am encountering an issue. I have a stored procedure that looks like this: CREATE PROCEDURE Next30Days @Next30 DateTime, @TodayDate DateTime AS SELECT Title, Copy, EventDate, EventTime FROMCalendar Where EventDate < @Next30 And

RE: Stored Procedure Question

2001-10-04 Thread Mark Stewart
:37 PM To: CF-Talk Subject: Re: Stored Procedure Question To add to this, you can also create multiple querysets from one query. Just do: In fact, you can also do: Just so you can drive other developers crazy :) - Original Message - From: "Jared Stark" <[EM

Re: Stored Procedure Question

2001-10-04 Thread Kwang Suh
TED]> Sent: Thursday, October 04, 2001 9:35 AM Subject: Re: Stored Procedure Question > > > > > > > > > > The only difference is you need to add the RESULTSET attribute, like this... > > > > The RESULTSET attribute is what determines where the

RE: Stored Procedure Question

2001-10-04 Thread Andy Ewings
close, copy, distribute, or retain this message. Please notify us on +44 (0)207 387 8890. -Original Message- From: Jared Stark [mailto:[EMAIL PROTECTED]] Sent: 04 October 2001 16:36 To: CF-Talk Subject: Re: Stored Procedure Question > > > > The only difference is yo

Re: Stored Procedure Question

2001-10-04 Thread Jared Stark
ay, October 04, 2001 8:17 AM Subject: Stored Procedure Question > All, > > I've been using stored procedures for a while now but I've never really > needed to create one that returned multiple result sets. My question is, > how do you do that? Would someone be kind en

Stored Procedure Question

2001-10-04 Thread Mark Stewart
All, I've been using stored procedures for a while now but I've never really needed to create one that returned multiple result sets. My question is, how do you do that? Would someone be kind enough to show me a little pseudo code or a snippet of code on how to accomplish this? I assume in cf, I

Re: Stored Procedure Question

2001-08-22 Thread Clint Tredway
Try running this stored procedure within cfquery... I bet it will work.. -- Original Message -- from: "Bruce Sorge" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] date: Tue, 21 Aug 2001 17:24:53 -0500 I have the following code: I have the SP on

Re: Stored Procedure Question

2001-08-21 Thread Don Vawter
TED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, August 21, 2001 4:24 PM Subject: Stored Procedure Question > I have the following code: > > > > > > > > I have the SP on the SQl Server and it works. However, when I run the page, I recei

RE: Stored Procedure Question

2001-08-21 Thread Darryl Lyons
xpect params. Darryl -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 22, 2001 8:25 AM To: CF-Talk Subject: Stored Procedure Question I have the following code: I have the SP on the SQl Server and it works. However, when I run the page, I re

Re: Stored Procedure Question

2001-08-21 Thread Kwang Suh
Let's see the SP. - Original Message - From: "Bruce Sorge" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, August 21, 2001 4:24 PM Subject: Stored Procedure Question > I have the following code: > > > > >

Stored Procedure Question

2001-08-21 Thread Bruce Sorge
I have the following code: I have the SP on the SQl Server and it works. However, when I run the page, I receive the following error message: Error Diagnostic Information ODBC Error Code = 37000 (Syntax error or access violation) [Microsoft][ODBC SQL Server Driver][SQL Server]Proced

COMPILATION - ODBC does not like Overloaded Stored Procedures Was : (Oracle stored procedure question.)

2001-05-11 Thread Kevin Gilchrist
y 04, 2001 11:25 AM To: CF-Talk (E-mail) Subject: Oracle stored procedure question. Hi All, I need another set of eyes on a problem. I have a piece of code that calls an Oracle stored procedure that just refuses to work with either the Oracle or Microsoft ODBC drivers on my personal development

Oracle stored procedure question.

2001-05-04 Thread Kevin Gilchrist
Hi All, I need another set of eyes on a problem. I have a piece of code that calls an Oracle stored procedure that just refuses to work with either the Oracle or Microsoft ODBC drivers on my personal development Win2K box (CF Pro 4.5.1 SP2). However, it does work with the Oracle native drivers t

RE: Stored Procedure Question (Sybase)

2001-02-28 Thread Andy Ewings
01 15:08 To: CF-Talk Subject: RE: Stored Procedure Question (Sybase) I'm not sure about Sybase, I suppose it's the same principle as in SQL Server. You have to either generate a dynamic query, by building a string and running it via the execute function, or have a conditional statemen

RE: Stored Procedure Question (Sybase)

2001-02-28 Thread Windle, Kevan
The first option is more flexible the second more efficent. -Original Message- From: Sandi Benditt [mailto:[EMAIL PROTECTED]] Sent: 27 February 2001 19:28 To: CF-Talk Subject: Stored Procedure Question (Sybase) We are in the process of moving all our queries to stored procedures, but

Stored Procedure Question (Sybase)

2001-02-27 Thread Sandi Benditt
We are in the process of moving all our queries to stored procedures, but I've run into a problem that maybe someone can help me with. Take the following query. If I move it to a stored procedure and try to pass the sort variable to it I get an error along the lines of you can't use a varia

RE: SQL Stored Procedure Question...

2000-09-27 Thread Top-Link Tech (John Ceci)
Peter & Nick... You da'Man! Thanks a ton, worked perfectly... John -Original Message- From: Peter Stolz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 26, 2000 5:09 PM To: CF-Talk Subject: RE: SQL Stored Procedure Question... Try: CREATE PROCEDURE GetContacts @alpha

Re: SQL Stored Procedure Question...

2000-09-26 Thread Nick Slay
This is a multi-part message in MIME format. --B9336A7DD898E0D1B5936117 Content-Type: multipart/alternative; boundary="778FA7AB3A393FFA7903E735" --778FA7AB3A393FFA7903E735 Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F

RE: SQL Stored Procedure Question...

2000-09-26 Thread Peter Stolz
t: Tuesday, September 26, 2000 3:36 PM To: CF-Talk Subject: SQL Stored Procedure Question... Hey All, Got a quick one for all of you... I am implementing a stored procedure and I cant seem to get a LIKE clause to work with a variable passed in: SHORT VERSION OF CODE: = CREATE

RE: SQL Stored Procedure Question...

2000-09-26 Thread Hayes, David
LIKE @alpha + '%' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 26, 2000 2:36 PM To: CF-Talk Subject: SQL Stored Procedure Question... Hey All, Got a quick one for all of you... I am implementing a stored procedure and I ca

SQL Stored Procedure Question...

2000-09-26 Thread Top-Link Tech (John Ceci)
Hey All, Got a quick one for all of you... I am implementing a stored procedure and I cant seem to get a LIKE clause to work with a variable passed in: SHORT VERSION OF CODE: = CREATE PROCEDURE GetContacts @alpha varchar(1) AS SELECT Contacts_Main.company FROM Contact