RE: SQL Query Question

2005-11-10 Thread Reidy, Ron
Run a 10046 trace to see where you are waiting. -Original Message- From: Vergara, Michael (TEM) [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 2:21 PM To: [email protected] Subject: SQL Query Question Hello Everyone: Thanks to all who have responded to my question about

RE: SQL Query Question

2005-11-09 Thread Vergara, Michael \(TEM\)
Chris: Thanks for your response. The reason I think this might be a DBI/DBD question is that the SQL works in under 1 second from locally-connected SQL*Plus, remote-connected SQL*Plus, and TOAD. Only in Perl is it going away and never returning. I have tried setting SQL_TRACE; no joy. I've tr

Re: SQL Query Question

2005-11-09 Thread Chris Sarnowski
Michael, First, it's unlikely this is on-topic for the list either. There are at least 2 mailing lists, both apparently still active, which have had good Oracle experts as members, at least as of a few years ago. http://www.freelists.org/webpage/oracle-l http://www.lazydba.com/ I am no lo

SQL Query Question

2005-11-09 Thread Vergara, Michael \(TEM\)
 Hello Everyone:   Thanks to all who have responded to my question about logging.  That got me to the problematic SQL.  This SQL, on just one instance, hangs and does not complete.  I have let it run for hours to no avail.  When I run this query at SQL*Plus I get... 'OKAY'--

RE: SQL Query Question

2001-08-24 Thread wsheldah
on 08/23/2001 02:34:06 PM To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc:(bcc: Wesley Sheldahl/Lex/Lexmark) Subject: RE: SQL Query Question select company,carrier from customers where this_month = (select max(this_month) from customers) and carrier = 'QW

RE: SQL Query Question

2001-08-24 Thread Mark Sheinbaum
select company,carrier from customers where this_month = (select max(this_month) from customers) and carrier = 'QWEST' -Original Message- From: Jeff Eckermann [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 11:28 AM To: Isaac; [EMAIL PROTECTED] Subject: Re: SQL Quer

Re: SQL Query Question

2001-08-23 Thread Jeff Eckermann
You need to add "GROUP BY Company" to the end of your SQL statement. I find that easy to forget, but the now-familiar error messages help! - Original Message - From: "Isaac" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 12:5

SQL Query Question

2001-08-23 Thread Isaac
Hello, I am not a db programmer so please excuse this probably simple question but I can't seem to figure it out. There is an Access 2000 database and inside this database there is a table called Customers. Customers has various columns and three of those are called Company, ThisMonth and Carr