in reply to Re: DBI mysql substring_index syntax error
in thread DBI mysql substring_index syntax error

Got it, changed to:
SELECT DISTINCT SUBSTRING_INDEX(SUBSTRING_INDEX(i.path, '\\\\', -2) , '\\\\', 1) AS dir
Thanks!
  • Comment on Re^2: DBI mysql substring_index syntax error