Of course!
Btw, I'm using MySQL 5.1 with latest version of Devart dotConnect for MySQL
First run:
Method Enter: CreatePagingSelectDQ
Method Enter: CreateSelectDQ
Method Enter: CreateSelectDQ
Generated Sql query:
Query: SELECT `staff`.`Active`, `staff`.`Address`, `staff`.`Address2`, `staff`.`AddressNr`, `staff`.`BirthDate`, `staff`.`BranchID` AS `BranchId`, `staff`.`CityID` AS `CityId`, `staff`.`CountryID` AS `CountryId`, `staff`.`CURP` AS `Curp`, `staff`.`DistrictID` AS `DistrictId`, `staff`.`FName` AS `Fname`, `staff`.`HireDate`, `staff`.`LastUpdate`, `staff`.`LName` AS `Lname`, `staff`.`Mail`, `staff`.`Mobile`, `staff`.`ObservationID` AS `ObservationId`, `staff`.`Password`, `staff`.`Phone`, `staff`.`PictureID` AS `PictureId`, `staff`.`PostalCodeID` AS `PostalCodeId`, `staff`.`StaffID` AS `StaffId`, `staff`.`UserName` FROM `staff` WHERE ( `staff`.`UserName` = @p1)
Parameter: @p1 : AnsiString. Length: 16. Precision: 0. Scale: 0. Direction: Input. Value: "Dave".
Method Exit: CreateSelectDQ
Method Exit: CreatePagingSelectDQ: no paging.
The thread '<No Name>' (0x15b8) has exited with code 0 (0x0).
Method Enter: CreatePagingSelectDQ
Method Enter: CreateSelectDQ
Method Enter: CreateSelectDQ
Generated Sql query:
Query: SELECT DISTINCT `department`.`DepartmentID` AS `DepartmentId`, `department`.`LastUpdate`, `department`.`Name` FROM (( `staff` `LPA_S1` INNER JOIN `staffgroup` `LPA_S2` ON `LPA_S1`.`StaffID`=`LPA_S2`.`StaffID`) INNER JOIN `department` ON `department`.`DepartmentID`=`LPA_S2`.`DepartmentID`) WHERE ( ( ( `LPA_S2`.`StaffID` = @p1)))
Parameter: @p1 : Int32. Length: 0. Precision: 0. Scale: 0. Direction: Input. Value: 2.
Method Exit: CreateSelectDQ
Method Exit: CreatePagingSelectDQ: no paging.
Method Enter: CreatePagingSelectDQ
Method Enter: CreateSelectDQ
Method Enter: CreateSelectDQ
Generated Sql query:
Query: SELECT DISTINCT `LPA_S1`.`StaffID` AS `StaffId0`, `department`.`DepartmentID` AS `DepartmentId1` FROM (( `staff` `LPA_S1` INNER JOIN `staffgroup` `LPA_S2` ON `LPA_S1`.`StaffID`=`LPA_S2`.`StaffID`) INNER JOIN `department` ON `department`.`DepartmentID`=`LPA_S2`.`DepartmentID`) WHERE ( ( ( ( `LPA_S2`.`StaffID` = @p1))))
Parameter: @p1 : Int32. Length: 0. Precision: 0. Scale: 0. Direction: Input. Value: 2.
Method Exit: CreateSelectDQ
Method Exit: CreatePagingSelectDQ: no paging.
Method Enter: CreatePagingSelectDQ
Method Enter: CreateSelectDQ
Method Enter: CreateSelectDQ
Generated Sql query:
Query: SELECT `staff`.`Active`, `staff`.`Address`, `staff`.`Address2`, `staff`.`AddressNr`, `staff`.`BirthDate`, `staff`.`BranchID` AS `BranchId`, `staff`.`CityID` AS `CityId`, `staff`.`CountryID` AS `CountryId`, `staff`.`CURP` AS `Curp`, `staff`.`DistrictID` AS `DistrictId`, `staff`.`FName` AS `Fname`, `staff`.`HireDate`, `staff`.`LastUpdate`, `staff`.`LName` AS `Lname`, `staff`.`Mail`, `staff`.`Mobile`, `staff`.`ObservationID` AS `ObservationId`, `staff`.`Password`, `staff`.`Phone`, `staff`.`PictureID` AS `PictureId`, `staff`.`PostalCodeID` AS `PostalCodeId`, `staff`.`StaffID` AS `StaffId`, `staff`.`UserName` FROM `staff` WHERE ( ( `staff`.`StaffID` = @p1))
Parameter: @p1 : Int32. Length: 0. Precision: 0. Scale: 0. Direction: Input. Value: 2.
Method Exit: CreateSelectDQ
Method Exit: CreatePagingSelectDQ: no paging.
Method Enter: CreatePagingSelectDQ
Method Enter: CreateSelectDQ
Method Enter: CreateSelectDQ
Generated Sql query:
Query: SELECT `branch`.`Active`, `branch`.`Address`, `branch`.`Address2`, `branch`.`AddressNr`, `branch`.`BranchID` AS `BranchId`, `branch`.`CityID` AS `CityId`, `branch`.`CompanyID` AS `CompanyId`, `branch`.`CountryID` AS `CountryId`, `branch`.`CreatedDate`, `branch`.`DistrictID` AS `DistrictId`, `branch`.`Fax`, `branch`.`LastUpdate`, `branch`.`Mail`, `branch`.`Name`, `branch`.`Phone`, `branch`.`PostalCodeID` AS `PostalCodeId` FROM `branch` WHERE ( ( `branch`.`BranchID` = @p1))
Parameter: @p1 : Byte. Length: 1. Precision: 0. Scale: 0. Direction: Input. Value: 1.
Method Exit: CreateSelectDQ
Method Exit: CreatePagingSelectDQ: no paging.
Second run:
Method Enter: CreatePagingSelectDQ
Method Enter: CreateSelectDQ
Method Enter: CreateSelectDQ
Generated Sql query:
Query: SELECT `staff`.`Active`, `staff`.`Address`, `staff`.`Address2`, `staff`.`AddressNr`, `staff`.`BirthDate`, `staff`.`BranchID` AS `BranchId`, `staff`.`CityID` AS `CityId`, `staff`.`CountryID` AS `CountryId`, `staff`.`CURP` AS `Curp`, `staff`.`DistrictID` AS `DistrictId`, `staff`.`FName` AS `Fname`, `staff`.`HireDate`, `staff`.`LastUpdate`, `staff`.`LName` AS `Lname`, `staff`.`Mail`, `staff`.`Mobile`, `staff`.`ObservationID` AS `ObservationId`, `staff`.`Password`, `staff`.`Phone`, `staff`.`PictureID` AS `PictureId`, `staff`.`PostalCodeID` AS `PostalCodeId`, `staff`.`StaffID` AS `StaffId`, `staff`.`UserName` FROM `staff` WHERE ( `staff`.`UserName` = @p1)
Parameter: @p1 : AnsiString. Length: 16. Precision: 0. Scale: 0. Direction: Input. Value: "Dave".
Method Exit: CreateSelectDQ
Method Exit: CreatePagingSelectDQ: no paging.
The 2nd time it doesn't complete...