Hi All,
I am running following query in a stored proceudre and it is taking 30 milliseconds to execute. Can anyone help me out to optimize this query:
Table Definition is:
Create Table Customer
(
CustID int not null auto_increment,
CustProdID int,
TimeStamp DateTime,
primary key(CustID)
);
Update Customer
Set TimeStamp = InputTimeStamp (stored procedure's Input)
Where CustID = InputCustID (stored procedure's Input)
and CustProdID = InputCustProdID; (stored procedure's Input);
Also besides primary index this table has simple index on custprodID column.
Thanks in advance. Regards, Manasi