Quantcast
Channel: SQL Server Database Engine Forum
Viewing all articles
Browse latest Browse all 15872

Problem in Select Top 1

$
0
0

Hi All-


Its looking Strange for me!


I'm using following Query!



SELECT TOP 1 
      [Some_Column]
  FROM [Table] WHERE AlbumID = 'MW0001350412' AND ReleaseID='MR0003238514'


The Problem here is when I'm running the query for the very first time.. I'm getting one value.. If I'm running second time it is giving another value... Again If I'm running the query mulitiple times I'm getting the same value which I have got second time..


I have dropped all the data in table and I was trying the same and I'm getting the same problem..

Could anyone please help me out? I'm fed up

Thanks In Advance

Prabhu







Viewing all articles
Browse latest Browse all 15872


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>