Hi, thank your for assistance ajb.
Here is the output of the command above:
array(5) { ["sql"]=> string(1708) " TPN_SM_BPro_data_1 AS r WHERE r.active=1 AND (((r.f_client IS NOT NULL AND (r.f_client IN (11,19,29,59,129,247,410,461,498,525,542,611,626,632,689,740,743,855,949,997,1106,1121,1171,1233,1250,1282,1288,1404,1451,1457,1585,1639,1665,1700,1703,1806,1810,1813,1816,1834,1849,1998,2006,2017,2023,2083,2087,2095,2111,2167,2188,2209,2226,2241,2252,2262,2263,2284,2295,2301,2348,2382,2387,2400,2511,2538,2547,2559,2562,2579,2582,2600,2612,2613,2614,2615,2616,2617,2618,2619,2623,2625,2626,2627,2639,2646,2651,2652,2700,2726,2729,2776,2804,2817,2821,2822,2826,2831,2840,2843,2846,2855,2859,2864,2868)))) AND (((r.f_client IS NOT NULL AND (r.f_client IN (11,19,29,59,129,247,410,461,498,525,542,611,626,632,689,740,743,855,949,997,1106,1121,1171,1233,1250,1282,1288,1404,1451,1457,1585,1639,1665,1700,1703,1806,1810,1813,1816,1834,1849,1998,2006,2017,2023,2083,2087,2095,2111,2167,2188,2209,2226,2241,2252,2262,2263,2284,2295,2301,2348,2382,2387,2400,2511,2538,2547,2559,2562,2579,2582,2600,2612,2613,2614,2615,2616,2617,2618,2619,2623,2625,2626,2627,2639,2646,2651,2652,2700,2726,2729,2776,2804,2817,2821,2822,2826,2831,2840,2843,2846,2855,2859,2864,2868)))) OR (((r.f_client IS NOT NULL AND (r.f_client IN (11,19,29,59,129,247,410,461,498,525,542,611,626,632,689,740,743,855,949,997,1106,1121,1171,1233,1250,1282,1288,1404,1451,1457,1585,1639,1665,1700,1703,1806,1810,1813,1816,1834,1849,1998,2006,2017,2023,2083,2087,2095,2111,2167,2188,2209,2226,2241,2252,2262,2263,2284,2295,2301,2348,2382,2387,2400,2511,2538,2547,2559,2562,2579,2582,2600,2612,2613,2614,2615,2616,2617,2618,2619,2623,2625,2626,2627,2639,2646,2651,2652,2700,2726,2729,2776,2804,2817,2821,2822,2826,2831,2840,2843,2846,2855,2859,2864,2868)))))))" ["vals"]=> array(0) { } ["order"]=> string(0) "" ["tab"]=> string(23) "TPN_SM_BPro_data_1 AS r" ["where"]=> string(1677) "r.active=1 AND (((r.f_client IS NOT NULL AND (r.f_client IN (11,19,29,59,129,247,410,461,498,525,542,611,626,632,689,740,743,855,949,997,1106,1121,1171,1233,1250,1282,1288,1404,1451,1457,1585,1639,1665,1700,1703,1806,1810,1813,1816,1834,1849,1998,2006,2017,2023,2083,2087,2095,2111,2167,2188,2209,2226,2241,2252,2262,2263,2284,2295,2301,2348,2382,2387,2400,2511,2538,2547,2559,2562,2579,2582,2600,2612,2613,2614,2615,2616,2617,2618,2619,2623,2625,2626,2627,2639,2646,2651,2652,2700,2726,2729,2776,2804,2817,2821,2822,2826,2831,2840,2843,2846,2855,2859,2864,2868)))) AND (((r.f_client IS NOT NULL AND (r.f_client IN (11,19,29,59,129,247,410,461,498,525,542,611,626,632,689,740,743,855,949,997,1106,1121,1171,1233,1250,1282,1288,1404,1451,1457,1585,1639,1665,1700,1703,1806,1810,1813,1816,1834,1849,1998,2006,2017,2023,2083,2087,2095,2111,2167,2188,2209,2226,2241,2252,2262,2263,2284,2295,2301,2348,2382,2387,2400,2511,2538,2547,2559,2562,2579,2582,2600,2612,2613,2614,2615,2616,2617,2618,2619,2623,2625,2626,2627,2639,2646,2651,2652,2700,2726,2729,2776,2804,2817,2821,2822,2826,2831,2840,2843,2846,2855,2859,2864,2868)))) OR (((r.f_client IS NOT NULL AND (r.f_client IN (11,19,29,59,129,247,410,461,498,525,542,611,626,632,689,740,743,855,949,997,1106,1121,1171,1233,1250,1282,1288,1404,1451,1457,1585,1639,1665,1700,1703,1806,1810,1813,1816,1834,1849,1998,2006,2017,2023,2083,2087,2095,2111,2167,2188,2209,2226,2241,2252,2262,2263,2284,2295,2301,2348,2382,2387,2400,2511,2538,2547,2559,2562,2579,2582,2600,2612,2613,2614,2615,2616,2617,2618,2619,2623,2625,2626,2627,2639,2646,2651,2652,2700,2726,2729,2776,2804,2817,2821,2822,2826,2831,2840,2843,2846,2855,2859,2864,2868)))))))" }