I use MySQL database (innodb)
I use Visual Basic 2008
I have a table Employees with two fields EmpNo and Managerno
ALTER TABLE Employees ADD PRIMARY KEY (EmpNo
CREATE INDEX index_Managerno ON Employees (ManagerNo)
How do i now IF Mysql using this index is if i do this:
SELECT * FROM Employees WHERE Managerno = 123451
dre-logics -1 Junior Poster
Nutster 58 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.