News
ON SUBSTRING (ERR.FIRSTNAME,1,3) = SUBSTRING (DEM.FIRSTNAME,1,3) --NOTE- IT WILL ONLY TRY TO MATCH 1ST 3 CHARACTER ON BOTH TABLES AND THAT WILL BE THE SAME --NOTE- IT WILL HELP BCZ PEOPLES NAME'S ...
Is it possible to order by a substring in a returned field?<BR>I've got a query which returns at most probably around 10 or so rows of 1 column. However the way this data is formated, it'd be convient ...
I'm having to hack a report together to pull data from another field in the same table. The row selection is going to be based on various elements in the above 'foreignkey' field - elements 1, 2, 4 & ...
What is the current behavior? It errors out with a not too helpful message: Msg 537, Level 16, State 3, Line 2660 Invalid length parameter passed to the LEFT or SUBSTRING function. I get no results.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results