Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

UNABLE TO RETRIEVE data while using between operator

$
0
0
Hi Experts,I came across a weird issue this morningwhile using Between operator am unable to retrieve data that starts with second option,example am using select * from USER where vendor [b]between 'N' and 'V' [/b]here i expect to get all the records that has vendor name starting with N,O,P,......U,Vbut to my surprise i found am just getting [b]N,O ......,U[/b]. am unable to retrieve vendors start with 'V'when i use [b]between 'N' and 'W' [/b] it shows with [b]'V'[/b] also........but not showing vendors with [b]'W'[/b]so i doubt whether between is considering second option [b]'V'[/b] or not.Help me with this Thank you.

Viewing all articles
Browse latest Browse all 3145

Trending Articles