are all the same returns true if all of the samples in theĀ  given sample sequence have the same value, ignoring case.

We can also use the expression are not all the same.

For example, given the following case fragment,

 

           01 Jun 03    20 Jun 03    30 Jun 03    15 Oct 03    02 Nov 03
ReqDr         Jones        Jones        Jones        JONES        Jones
CopyDr                     Smith        Smith        Brown        Smith
Tests         Lipids       Lipids                    Lipids       
Insurance     DVA          DVA          DVA

 

ReqDr are all the same

CopyDr are not all the same

Tests are not all the same

Insurance are all the same, where Insurance are available

This function can also be expressed using the slightly different wording all … are the same, for example

all ReqDr are the same

not all Tests are the same