store procedure in MySQL 5

2004-01-06 Thread Cabanillas Dulanto, Ulises
Hi,

I downloaded the 5.0 binary for windows and installed it, but I can't create
store procedure using MySQL Control Center, does the 5.0 alpha-binary have
store procedure feature?.

TIA,
Ulises


RE: Connecting to MySQL from ASP

2003-08-14 Thread Cabanillas Dulanto, Ulises
See http://www.connectionstrings.com/

Regards,
Ulises

-Mensaje original-
De: Ratmil Torres [mailto:[EMAIL PROTECTED]
Enviado el: MiƩrcoles 6 de Agosto de 2003 07:11 AM
Para: [EMAIL PROTECTED]
Asunto: Connecting to MySQL from ASP


Hi. I am developing a web site using ASP. I need to connect to a MySQL
Server. I am using ODBC, so how should the connection string be? I have
already installed the ODBC driver for MySQL. 
Thanks.


RE: MySql Control Center

2003-08-14 Thread Cabanillas Dulanto, Ulises
The option Automatically limit SELECT queries to  must be set in the
Query Configuration Dialog. 

Regards,
Ulises

-Mensaje original-
De: Trevor Morrison [mailto:[EMAIL PROTECTED]
Enviado el: Viernes 8 de Agosto de 2003 09:36 AM
Para: [EMAIL PROTECTED]
Asunto: MySql Control Center


Hi,

I am new to using the Control Center-0.9.2-beta.  My problem is that I
cannot seem to display more than 1000 rows in my result set when I know that
there is 1534 rows.  I know that it is a setting somewhere, but is it in
MySql or in the Control Center somewhere.  I am running this on a Windows
2000 machine.

TIA

Trevor


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]



RE: order by question

2003-08-14 Thread Cabanillas Dulanto, Ulises
I execute the SELECT and it works!. I have MySQL 4.0.4

Regards,
Ulises

-Mensaje original-
De: motorpsychkill [mailto:[EMAIL PROTECTED]
Enviado el: Jueves 7 de Agosto de 2003 04:43 PM
Para: mysql
Asunto: RE: order by question

 -Original Message-
 From: Roger Baklund [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 07, 2003 10:54 AM
 To: mysql
 Cc: motorpsychkill
 Subject: Re: order by question


 * motorpsychkill
  SELECT  *  FROM kf_gallery WHERE gallery_id IN ( 3, 1, 2 )  ORDER  BY ?
 
  What I'm trying to do is get the results in the order specified
  in the IN
  clause, i.e. (3, 2, 1).  Is this possible?  (I'm having trouble
 searching
  the mail archives).  Thanks!

 Use the FIELD() function:

 SELECT  *  FROM kf_gallery
   WHERE gallery_id IN ( 3, 1, 2 )
   ORDER  BY FIELD(gallery_id, 3, 1, 2)

 HTH,

 --
 Roger

Thanks Roger, but that didn't seem to work.  It still gave me the results
ASC, i.e. by gallery_id 1, 2, 3.  Anyone else? :)


RE: SQL Help...

2003-07-24 Thread Cabanillas Dulanto, Ulises
Try:

select task, resource, department, max(priority) 
from table
group by task, resource, department

Regards,
Ulises

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: Jueves 24 de Julio de 2003 02:53 PM
Para: [EMAIL PROTECTED]
Asunto: SQL Help...


After some searching around different books/manuals/google I still can't
seem to figure out how do to this. What I have is a table with 4 cols
(task, resource, department, priority) and what I want to do is be able to
select distinct resources and list what their highest priority is.
In other words, if a resource is in a high priority task and a low
priority task, I only want to show the high priority task.

Thanks for the help!
-Nick

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]



RE: SELECT help

2003-07-18 Thread Cabanillas Dulanto, Ulises
Try with :

SELECT tparts.name,
   a.name,  
   b.name,  
tmovement.quantity
FROMtmovement inner join tparts on (tmovement.part_id = tparts.Id)
 inner join twarehouse a on (
tmovement.incoming_id =  a.Id )
 inner join twarehouse b on (
tmovement.outgoing_id =  b.Id )


Ulises

-Mensaje original-
De: Gyurasits Zoltan [mailto:[EMAIL PROTECTED]
Enviado el: Martes 18 de Febrero de 2003 04:11 PM
Para: MYSQL Lista
Asunto: SELECT help


HI all!


I want make the SELECT  for this situation.

Example:

Twarehouse
--
IDname
---
01Spring_WH
02Screw_WH
03Toll_WH


Tparts
--
IDname
---
01M3 screw
02M4 screw
03Hammer



Tmovement

--
part_ID incoming_IDoutgoing_ID quantity
---- -

01010210
0201031
0302015



I want build list about movement, with warehouse's names

SELECT
twarehouse.name,  ??# incoming warehouse
name
twarehouse.name,  ??# outgoing warehouse
name

tparts.name,
tmovement.quantity
FROM
tparts, twarehouse
INNER JOIN  tmovement
ON
tmovement.part_ID=tparts.ID 

AND 
tmovement.incoming_ID=twarehouse.ID   
AND
tmovement.outgoing_ID=twarehouse.ID   


Please help me, who can . How can I do??
I don't want make temorary table, if is possible


Thank You!