Dean Lawrence
02/06/2023, 10:04 PMSELECT * FROM dbo.memberFile WHERE id = '961E4BFF-0B9D-AD1D-492BD68DF5093086'
Also, this has been working for years, it is just this one particular UUID that I am having an issue with.rstewart
02/06/2023, 10:07 PMDean Lawrence
02/06/2023, 10:10 PMrstewart
02/06/2023, 10:12 PMDean Lawrence
02/06/2023, 10:15 PMDean Lawrence
02/06/2023, 10:21 PMrstewart
02/06/2023, 10:22 PM… where like '961E% then … where like '961E4BFF%, etc?rstewart
02/06/2023, 10:25 PMDean Lawrence
02/06/2023, 10:29 PMrstewart
02/06/2023, 10:33 PMDean Lawrence
02/06/2023, 10:36 PMrstewart
02/06/2023, 10:36 PMMichael Schmidt
02/06/2023, 10:53 PMDECLARE @StringToSearch as char(35) = '961E4BFF-0B9D-AD1D-492BD68DF5093086'
DECLARE @RowID as char(35)
SELECT @RowID = ID FROM dbo.memberFile where ID like concat(@stringToSearch, '%')
And then I would play with the data to see where it stops being a match ... print out both if it doesn't fin dit then start reducing how many characters are in you @stringToSearch...websolete
02/06/2023, 11:54 PMAdam Cameron
char(35).
Are you passing the value as a param, or hard-coding it in the SQL statement? If the latter, any difference if you do it using a parameter instead?Dave Merrill
02/07/2023, 8:58 AMevagoras
02/07/2023, 9:32 AMdswitzer
02/07/2023, 12:22 PMdswitzer
02/07/2023, 12:23 PMdswitzer
02/07/2023, 12:24 PMdswitzer
02/07/2023, 12:25 PMALTER INDEX ALL ON dbo.memberFile REBUILDrstewart
02/08/2023, 4:22 PMDean Lawrence
02/09/2023, 1:50 PMDean Lawrence
02/09/2023, 1:51 PM