RE: SQL help please

2002-03-14 Thread Kwang Suh
Yeah, I ended up using a cursor to do it. Thanks Bill. -Original Message- From: Bill Grover [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 6:01 AM To: CF-Talk Subject: RE: SQL help please I'm not sure you can do it with a simple select statement. If I understand wha

RE: SQL help please

2002-03-14 Thread Bill Grover
le, MD 20850-1299WWW:http://www.euservices.com __ > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 13, 2002 6:10 PM > To: CF-Talk > Subject: Re: SQL help p

Re: SQL help please

2002-03-13 Thread Nathan Chen
March 13, 2002 4:10 PM Subject: Re: SQL help please > Nope, that doesn't work. > > - Original Message - > From: laszlo <[EMAIL PROTECTED]> > Date: Wednesday, March 13, 2002 4:06 pm > Subject: Re: SQL help please > > > select ... count(paycatid) as samepayc

Re: SQL help please

2002-03-13 Thread ksuh
Nope, that doesn't work. - Original Message - From: laszlo <[EMAIL PROTECTED]> Date: Wednesday, March 13, 2002 4:06 pm Subject: Re: SQL help please > select ... count(paycatid) as samepaycatid group by paycatid > > laszlo > > > [EMAIL PR

Re: SQL help please

2002-03-13 Thread laszlo
select ... count(paycatid) as samepaycatid group by paycatid laszlo [EMAIL PROTECTED] wrote: > Anyone? > > Bueller? Bueller? > > - Original Message - > From: [EMAIL PROTECTED] > Date: Wednesday, March 13, 2002 2:51 pm > Subject: SQL help please > >

Re: SQL help please

2002-03-13 Thread ksuh
Anyone? Bueller? Bueller? - Original Message - From: [EMAIL PROTECTED] Date: Wednesday, March 13, 2002 2:51 pm Subject: SQL help please > Brain not working Must help... > > Here's my data set: > > employeeid startd

SQL help please

2002-03-13 Thread ksuh
Brain not working Must help... Here's my data set: employeeid startdate enddate paycatid --- --- --- --- 936 2002-02-08 2002-02-08 1 936 2002-02-11 2002-02-11 1 936 2002-02-12 2002-02-12 1 936 2002-02-13 2002-02-13 11 936 2002-02-14 2002-02-14 1 936 2002-02-

Breaking records into sets with minimal FK duplication - CF and/or SQL help

2002-02-26 Thread Colin Fyfe
Hi folks, I've simplified the description of the problem but basically here's what I need to do: given a group of people working for a number of different divisions of a company I need to split those people into small teams, ideally with no more than one person from each department in the same te

Re: sql Help

2002-01-22 Thread Douglas Brown
ginal Message - From: "Joshua Tipton" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, January 22, 2002 5:15 AM Subject: sql Help > set dateformat mdy > declare @datevar smalldatetime > set @datevar = 'select getdate()' &g

Re: sql Help

2002-01-22 Thread Douglas Brown
t;[EMAIL PROTECTED]> Sent: Tuesday, January 22, 2002 5:15 AM Subject: sql Help > set dateformat mdy > declare @datevar smalldatetime > set @datevar = 'select getdate()' > select convert(smalldatetime, @datevar, 101) > > > How come this is not working. I am trying

sql Help

2002-01-22 Thread Joshua Tipton
set dateformat mdy declare @datevar smalldatetime set @datevar = 'select getdate()' select convert(smalldatetime, @datevar, 101) How come this is not working. I am trying to get the current date stored in a variable in a mm/dd/ format. Please Help. Joshua Tipton ___

RE: SQL Help

2002-01-11 Thread Bill Grover
demiro Junior [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 11, 2002 6:27 AM > To: CF-Talk > Subject: SQL Help > > > Hi again folks... > > How can I output a variable that was set within a CFQUERY containing > first a insert statement, then a selec

RE: SQL Help

2002-01-11 Thread Daye, Marianne
ds.rti.org -Original Message- From: Allan Pichler [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 8:40 AM To: CF-Talk Subject: RE: SQL Help or you can add a trigger to the sql server that runs on insert statements to that table SELECT @@IDENTITY as newID @llan -Origin

RE: SQL Help

2002-01-11 Thread Allan Pichler
or you can add a trigger to the sql server that runs on insert statements to that table SELECT @@IDENTITY as newID @llan -Original Message- From: Stuart Miller [mailto:[EMAIL PROTECTED]] Sent: 11. januar 2002 14:32 To: CF-Talk Subject: RE: SQL Help Your query will run in Query

RE: SQL Help

2002-01-11 Thread Stuart Miller
TATUS) VALUES ('OBS' , 20) SELECT MAX(COD_REQ) AS ThePrimaryKey FROM TAUX_001 -Original Message- From: Waldemiro Junior [mailto:[EMAIL PROTECTED]] Sent: 11 January 2002 11:27 To: CF-Talk Su

SQL Help

2002-01-11 Thread Waldemiro Junior
Hi again folks... How can I output a variable that was set within a CFQUERY containing first a insert statement, then a select statement? This is my query: INSERT INTO TAUX_001 (DSC_CHKLST , IND_STATUS) VALUES ('OBS' , 20) SELECT @@IDENTITY AS 'COD_R

Re: SQL Help

2002-01-10 Thread Dick Applebaum
In SQL Server, identity fields, a number is never reused... deletes do not reset the counter to the next available identity value. When you think about what goes on under the covers (of SQL), it makes sense. SQL would need to maintain a linked list (or somesuch) of deleted identity values to b

Re: SQL Help

2002-01-10 Thread Waldemiro Junior
Thanks a lot Bill - Original Message - From: "Bill Grover" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 10, 2002 4:17 PM Subject: RE: SQL Help > The system is working as designed. The identity column keeps > in

RE: SQL Help

2002-01-10 Thread Bill Grover
, January 10, 2002 8:27 AM > To: CF-Talk > Subject: SQL Help > > > Hi Folks. > > How can I know the next value to be inserted in an Identity > field data > type (MS SQL Server)? > When I put this query: "SELECT MAX(COD_REQ) FROM TAUX_001" it returns >

Re: SQL Help

2002-01-10 Thread Douglas Brown
products that come out of Berkeley: LSD and [Unix] BSD. We don't believe this to be a coincidence. Doug Brown - Original Message - From: "Waldemiro Junior" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 10, 2002 5:27 AM Sub

SQL Help

2002-01-10 Thread Waldemiro Junior
Hi Folks. How can I know the next value to be inserted in an Identity field data type (MS SQL Server)? When I put this query: "SELECT MAX(COD_REQ) FROM TAUX_001" it returns the value 10, which corresponds correctly to what its recorded on the table, but when I insert something in it, after mak

sql help please

2001-09-18 Thread Won Lee
QUERY === SELECT * FROM surveys S, surveySub SB, categories C LEFT OUTER JOIN questions Q ON (C.categoryID = Q.categoryID) LEFT OUTER JOIN questionsN QN ON (Q.questionID = QN.questionID) LEFT OUTER JOIN questionsW QW ON (

RE: SQL help for a brain that's not awake yet

2001-09-10 Thread Steven Monaghan
. Melville, NY [EMAIL PROTECTED] http://www.mscdirect.com - -Original Message- From: Brian Ferrigno [mailto:[EMAIL PROTECTED]] Sent: Monday, September 10, 2001 11:52 AM To: CF-Talk Subject: SQL help for a brain that's not awake yet I know the answ

SQL help for a brain that's not awake yet

2001-09-10 Thread Brian Ferrigno
I know the answer to my problem is easy I just can't seem to get my brain functioning today. My problem is that I want to get the number of times an integer ID appears in a list of columns for every row in a table. The integer ID is from an outer SQL statement that I am looping through. An exa

RE: SQL help/group in CFOUTPUT not working??????

2001-08-23 Thread Rice, John J
-Rice -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 1:12 PM To: CF-Talk Subject: RE: SQL help/group in CFOUTPUT not working?? I thought that when you were using an ORDER BY with a Union Select you used the column numbers instead

RE: SQL help/group in CFOUTPUT not working??????

2001-08-23 Thread C. Hatton Humphrey
Thursday, August 23, 2001 1:00 PM > To: CF-Talk > Subject: RE: SQL help/group in CFOUTPUT not working?? > > > > You may want to append an > > ORDER BY iCasacApptID > > to the second query in your UNION. > > > > -Original Message- > From: Amanda Ste

RE: SQL help/group in CFOUTPUT not working??????

2001-08-23 Thread Rice, John J
You may want to append an ORDER BY iCasacApptID to the second query in your UNION. -Original Message- From: Amanda Stern [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 11:34 AM To: CF-Talk Subject: SQL help/group in CFOUTPUT not working?? hello, I've been wo

SQL help/group in CFOUTPUT not working??????

2001-08-23 Thread Amanda Stern
hello, I've been working on this query for a while and cant get it to work the way I need it to, i am close though.here is the problem - the cas table is keyed by [iCasacApptID], the cats table has a composite key of [iCasacApptID, cTreatSelectID]. So when I output the results if iCasacApptI

RE: SQL help/group in CFOUTPUT not working??????

2001-08-23 Thread Shawn Regan
ugust 23, 2001 8:34 AM To: CF-Talk Subject: SQL help/group in CFOUTPUT not working?? hello, I've been working on this query for a while and cant get it to work the way I need it to, i am close though.here is the problem - the cas table is keyed by [iCasacApptID], the cats table has a

SQL help/group in CFOUTPUT not working??????

2001-08-23 Thread Amanda Stern
hello, I've been working on this query for a while and cant get it to work the way I need it to, i am close though.here is the problem - the cas table is keyed by [iCasacApptID], the cats table has a composite key of [iCasacApptID, cTreatSelectID]. So when I output the results if iCasacApptI

RE: SQL help

2001-07-30 Thread S R
Thanks. It worked. >From: Glenn Olsen <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: CF-Talk <[EMAIL PROTECTED]> >Subject: RE: SQL help >Date: Mon, 30 Jul 2001 17:21:18 -0400 > >Try ... > >DECLARE @MRID int >SET @MRID = (SELECT MIN(ID

RE: SQL help

2001-07-30 Thread Glenn Olsen
Try ... DECLARE @MRID int SET @MRID = (SELECT MIN(ID) AS MRID FROM HomePageReleases) DELETE HomePageReleases WHERE ID = @MRID -Original Message- From: S R [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 5:02 PM To: CF-Talk Subject: SQL help I'm trying to get thi

SQL help

2001-07-30 Thread S R
I'm trying to get this sql statement to work within sql server in one shot and it seems to be ignoring the DELETE statement completely because when I do a select * from HomePageReleases, nothing is deleted. Do you see anything wrong? SELECT MIN(ID) AS MRID FROM HomePageReleases declare @MRID

RE: SQL help, pretty please...SOLVED

2001-05-09 Thread Erika L Walker
This approach worked marvelously!!! Thank you very much John and Jim!!! Erika (with a *K*) -Original Message- From: John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 11:59 PM To: CF-Talk Subject: RE: SQL help, pretty please... Here is a different approach that would find

Re: SQL help, pretty please...

2001-05-09 Thread sabrina Lotun
nal Message - From: Erika L Walker To: CF-Talk Sent: Thursday, May 10, 2001 7:45 AM Subject: SQL help, pretty please... Some pointing in the right direction please I generate an email based upon a user's attendance of a conference on a particular day. The email is going

Re: SQL help, pretty please...

2001-05-09 Thread Jim McAtee
;Erika L Walker" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 9:45 PM Subject: SQL help, pretty please... > Some pointing in the right direction please > > I generate an email based upon a user's attendance of a confer

RE: SQL help, pretty please...

2001-05-09 Thread John
conferences.CODATE > (Database function to return todays date i.e., getdate(), now()) order by conferences.codate desc John with a "h" ;) -Original Message- From: Erika L Walker [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 10:46 PM To: CF-Talk Subject: SQL help, pretty ple

SQL help, pretty please...

2001-05-09 Thread Erika L Walker
Some pointing in the right direction please I generate an email based upon a user's attendance of a conference on a particular day. The email is going to tell the user when the next conference is. I pull a list of all conferences. Here is my SQL statement: select CORFNBR, CODATE, COTIME

RE: SQL help

2001-04-16 Thread Hoffman, Joe (CIT)
>= #CreateODBCDate(NOW())# ORDER BY titledate ASC Joe Hoffman mailto:[EMAIL PROTECTED] National Institutes of Health Center for Information Technology Division of Computer System Services -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: Monday, April 16, 2001 3

RE: SQL help

2001-04-16 Thread Dave Livingston
02)) ORDER BY date DESC, time DESC Dave Livingston [EMAIL PROTECTED] -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: Monday, April 16, 2001 2:18 PM To: CF-Talk Subject: SQL help *This message was transferred with a trial version of CommuniGate(tm) Pro* Hello cf

SQL help

2001-04-16 Thread Jeff Fongemie
Hello cf-talk, I'm stuck over how to do this. I have a table and each record has a date field (long date format). I need to display the records on a page where the record with the date closest to the current date when the page is viewed will display first, then the records whose dates

RE: SQL: Help!

2001-04-05 Thread Duane Boudreau
Thanks for the quick answer - sorry for the slow reply. Works like a charm. Duane -Original Message- From: Edward Smith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2001 12:07 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: SQL: Help! Database? If it is Oracle, I

RE: SQL: Help!

2001-04-04 Thread Philip Arnold - ASP
> SQL7: > > SELECT C.CompanyID, P.Product ID > FROM Company C, Product P > WHERE WHERE C.CompanyID=P.CompanyID > AND NOT EXISTS > (SELECT C.CompanyID, S.Product ID > FROM Company C, StoreProducts S > WHERE C.CompanyID=S.CompanyID) Obviously you only want one "WHERE" statemen

Re: SQL: Help!

2001-04-04 Thread Edward Smith
Irk, I, of course, forgot to join Company and Products, et al... Oracle: SELECT C.CompanyID, P.Product ID FROM Company C, Product P WHERE C.CompanyID=P.CompanyID MINUS SELECT C.CompanyID, S.Product ID FROM Company C, StoreProducts S WHERE C.CompanyID=S.CompanyID SQL7: SELECT C.CompanyID, P.Pro

Re: SQL: Help!

2001-04-04 Thread Edward Smith
Database? If it is Oracle, I might use the "MINUS" Operator: SELECT C.CompanyID, P.Product ID FROM Company C, Product P MINUS SELECT C.CompanyID, S.Product ID FROM Company C, StoreProducts S To get Company->Product Uniques And swap the two queries to get StoreProducts uniques. Not sure if an

SQL: Help!

2001-04-04 Thread Duane Boudreau
I've got one heckuva mess on my hands. I am trying to straighten out a huge mess of an ecommerce application I have inherited. It went into production w/h zero testing a couple of months ago and now I am in firefighting mode). This app relies heavily on three tables company, products, storeproduc

RE: SQL Help, Please

2001-03-07 Thread Scott Brader
Mobile: 262.490.1376 <http://www.prairiesoftdev.com> Amateurs practice until they get it right, Experts practice until they can't get it wrong. -Original Message- From: DeVoil, Nick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 7:51 AM To: CF-Talk Subject: RE: SQL H

RE: SQL Help, Please

2001-03-07 Thread DeVoil, Nick
, 2001 1:42 PM To: CF-Talk Subject: RE: SQL Help, Please Philip, Thanks for the help. Unfortunately, that didn't do the trick. The query returns a -2. I've put in test records to this point, so I know that the return should be 22. Any other ideas? Tha

RE: SQL Help, Please

2001-03-07 Thread Scott Brader
Philip, Upon further testing, your suggestion does work fine, however, I'm getting the error whenever the times are on two different days; dispatch time was 23:25 and return to quarters time was 02:15. Will I have to change it from short time format to a different date/time format? Thanks, Scott

RE: SQL Help, Please

2001-03-07 Thread Scott Brader
Philip, Thanks for the help. Unfortunately, that didn't do the trick. The query returns a -2. I've put in test records to this point, so I know that the return should be 22. Any other ideas? Thanks, Scott Scott Brader Prairie Software Development LLC 101 East Sadd Street PO Box 235 North Prairi

RE: SQL Help, Please

2001-03-07 Thread Philip Arnold - ASP
> I've built an application for a Fire/Rescue service to log their calls, > meeting attendance, etc. (geared to small, volunteer agencies). One of the > things that's very important for them is a sum of the hours spent > on calls. > Each call record has a uniquely generated call number that is the

OT: SQL Help, Please

2001-03-07 Thread Scott Brader
Sorry for the OT but I'm at a loss on this one. I've built an application for a Fire/Rescue service to log their calls, meeting attendance, etc. (geared to small, volunteer agencies). One of the things that's very important for them is a sum of the hours spent on calls. Each call record has a uni

RE: Single Quotes in SQL HELP PLEASE!

2001-01-22 Thread John McKown
495432 > -Original Message- > From: Phoeun Pha [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 22, 2001 11:59 AM > To: CF-Talk > Subject: Single Quotes in SQL HELP PLEASE! > > > ok, I want to enter this character into a SQL table. ' > > but i get

RE: Single Quotes in SQL HELP PLEASE!

2001-01-22 Thread Benjamin S. Rogers
Ooops! I didn't read your query thoroughly enough. I just glanced at it and escaped the single quote. My apologies. This is what you'll want to do: INSERT INTO MyTABLE ( Stuff ) VALUES ( ) Sorry about that. I'll have to pay more attention next time. :) Benjamin S. Rogers We

RE: Single Quotes in SQL HELP PLEASE!

2001-01-22 Thread Benjamin S. Rogers
> you can use PreserveSingleQuoutes(#var#) Actually, the preserve single quotes function should only be used when you are writing whole the SQL expression (rather than just data values). If you do this, you must take special care to escape all single quotes in your single quoted value strings. >

RE: Single Quotes in SQL HELP PLEASE!

2001-01-22 Thread Raymond B.
ginal Message- From: Phoeun Pha [mailto:[EMAIL PROTECTED]] Sent: January 22, 2001 11:59 To: CF-Talk Subject: Single Quotes in SQL HELP PLEASE! ok, I want to enter this character into a SQL table. ' but i get an error. how do I make it enter ' into the

RE: Single Quotes in SQL HELP PLEASE!

2001-01-22 Thread Philip Arnold - ASP
> ok, I want to enter this character into a SQL table. ' > > but i get an error. how do I make it enter ' into the database? > > INSERT INTO MyTABLE(Stuff) > VALUES = ''' You might want to look into PreserveSingleQuotes() Also, your SQL probably won't work; INSERT INTO myTable (stuff) VALUES

RE: Single Quotes in SQL HELP PLEASE!

2001-01-22 Thread Dylan Bromby
Sent: Monday, January 22, 2001 8:59 AM To: CF-Talk Subject: Single Quotes in SQL HELP PLEASE! ok, I want to enter this character into a SQL table. ' but i get an error. how do I make it enter ' into the database? INSERT INTO MyTABLE(Stuff) VALUES = ''' ~~~

RE: Single Quotes in SQL HELP PLEASE!

2001-01-22 Thread Clint Tredway
you can use PreserveSingleQuoutes(#var#) -Original Message- From: Phoeun Pha [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 10:59 AM To: CF-Talk Subject: Single Quotes in SQL HELP PLEASE! ok, I want to enter this character into a SQL table. ' but i get an error. how

RE: Single Quotes in SQL HELP PLEASE!

2001-01-22 Thread bflynn
One more ' INSERT INTO MyTABLE(Stuff) VALUES = '''' -Original Message- From: Phoeun Pha [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 11:59 AM To: CF-Talk Subject: Single Quotes in SQL HELP PLEASE! ok, I want to enter this character into a SQL

Single Quotes in SQL HELP PLEASE!

2001-01-22 Thread Phoeun Pha
ok, I want to enter this character into a SQL table. ' but i get an error. how do I make it enter ' into the database? INSERT INTO MyTABLE(Stuff) VALUES = ''' ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://ww

RE: SQL help needed - Apples but not Oranges...

2001-01-19 Thread Raymond B.
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: January 19, 2001 14:51 To: CF-Talk Subject: SQL help needed - Apples but not Oranges... I'm trying to select clients who have purchased "Apples", but NOT "Oranges". This query is returning clients who have bought eith

RE: SQL help needed - Apples but not Oranges (SOLVED)...

2001-01-19 Thread ron
ems.orderid AND OrderItems.productid = Products.id AND Products.name LIKE '%Oranges%' ) Thanks to all who have probably already responded here! -ron > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 19, 2001 1:51 PM

RE: SQL help needed - Apples but not Oranges...

2001-01-19 Thread Katrina Chapman
' AND Products.name NOT LIKE '%Oranges%' Blessed Be, --Katrina Chapman http://www.katrinachapman.com http://www.cfchick.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 7:51 PM To: CF-Talk Subject: SQL help needed - Apples but

SQL help needed - Apples but not Oranges...

2001-01-19 Thread ron
I'm trying to select clients who have purchased "Apples", but NOT "Oranges". This query is returning clients who have bought either. SELECT DISTINCT Clients.id, Clients.firstname, Clients.lastname FROM Clients,Orders,OrderItems,Products WHERE ( Clients.id = Orders.clientid AND Orders.id = Order

RE: SQL Help

2001-01-04 Thread bflynn
two different places. Brian -Original Message- From: Todd Ashworth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 03, 2001 4:32 PM To: CF-Talk Subject: OT: SQL Help Sorry about posting this to the wrong list, but I'm having trouble getting mail through to the SQL list. I am ru

Re: SQL Help

2001-01-03 Thread Cami Lawson
What are the columns that are somewhat linked between these tables? - Original Message - From: "Todd Ashworth" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, January 03, 2001 3:32 PM Subject: OT: SQL Help > Sorry about post

OT: SQL Help

2001-01-03 Thread Todd Ashworth
Sorry about posting this to the wrong list, but I'm having trouble getting mail through to the SQL list. I am running a query to see if there is an entry in the database for an event that matches certain date criteria. One of the criteria is that one of the dates that the event is scheduled on d

SQL help

2000-09-26 Thread Richard Kern
#news.Area# #news.Status# #news.Other# end cf code -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Monday, September 25, 2000 11:57 AM To: CF-Talk Subject: Re: SQL Help Richard, Thank you for your help. Maybe if I give a much sim

Re: SQL Help - 3rd attempt to post

2000-09-25 Thread Richard Kern
#news.Area# #news.Status# #news.Other# end cf code -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Monday, September 25, 2000 11:57 AM To: CF-Talk Subject: Re: SQL Help Richard, Thank you for your help. Maybe if I give a much sim

RE: SQL Help

2000-09-25 Thread Hayes, David
create a join which displays all the data? From there you should be able to start adding WHERE clause items. -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Monday, September 25, 2000 12:57 PM To: CF-Talk Subject: Re: SQL Help Richard, Thank you for your help. Ma

Re: SQL Help

2000-09-25 Thread Jim McAtee
y the first of which would have news for 2000. Note that I'm selecting some other fields from TABLE1, but just News from TABLE2. Thanks, Jim -Original Message- From: Richard Kern <[EMAIL PROTECTED]> To: CF-Talk <[EMAIL PROTECTED]> Date: Monday, September 25, 2000 11:12

RE: SQL Help

2000-09-25 Thread Richard Kern
than the FROM) clause using *= (include all rows from first table) or =* (include all rows in second table) -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 24, 2000 4:10 PM To: CF-Talk Subject: SQL Help Try it again, with a subject this time... Can&#x

RE: SQL Help

2000-09-24 Thread Mark Warrick
> To: CF-Talk > Subject: Re: SQL Help > > > Yep. Left, right and inner joins all produce the same result. > > Jim > > > -Original Message- > From: Mark Warrick <[EMAIL PROTECTED]> > To: CF-Talk <[EMAIL PROTECTED]> > Date: Sunday,

Re: SQL Help

2000-09-24 Thread Jim McAtee
Yep. Left, right and inner joins all produce the same result. Jim -Original Message- From: Mark Warrick <[EMAIL PROTECTED]> To: CF-Talk <[EMAIL PROTECTED]> Date: Sunday, September 24, 2000 4:15 PM Subject: RE: SQL Help Silly question but have you tried a right outer joi

RE: SQL Help

2000-09-24 Thread Mark Warrick
[EMAIL PROTECTED]] > Sent: Sunday, September 24, 2000 3:10 PM > To: CF-Talk > Subject: SQL Help > > > Try it again, with a subject this time... > > Can't figure out why the following query behaves like it does, but > I'm guessing there must be someth

SQL Help

2000-09-24 Thread Jim McAtee
Try it again, with a subject this time... Can't figure out why the following query behaves like it does, but I'm guessing there must be something fundamental about how SQL operates that I'm not comprehending. I've got a one:many relationship between table A and table B. Table B records represen

RE: SQL Help Please (in plain text...sorry...)

2000-03-27 Thread Pete Freitag
riginal Message- From: Chris Carpenter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 28, 2000 2:15 AM To: coldfusion Subject: SQL Help Please (in plain text...sorry...) Hi, I have a table with client details ('clients') that is related to another table with category info ('cate

SQL Help Please (in plain text...sorry...)

2000-03-27 Thread Chris Carpenter
Hi, I have a table with client details ('clients') that is related to another table with category info ('category'). Now, each client could have more than 1 category in there CategoryID Field. the user will be clicking on a link which will have one CategoryID as a URL variable, and the state wher

Re: Sql Help Please....

2000-03-27 Thread Jeff
chris, turn off the html mail, post in plain text and we'll try. thanks, .jeff -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_t

Sql Help Please....

2000-03-27 Thread Chris Carpenter
This is a multi-part message in MIME format. --=_NextPart_000_0033_01BF98D5.78A071A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a table with client details ('clients') that is related to = another table with category info ('

<    1   2   3   4   5