Quantcast
Viewing all articles
Browse latest Browse all 76

The order of records in a select query

HI , I have 2 tables Table and Table_1 which are my destination table in my data upload. They have the same columns and same structure. I am executing two select queries on the two tables which does a LEFT JOIN WITH THE same SOURCE TABLE TO FIND THE NEW RECORDS only and then i insert them seperately. However the select query brings me the same data for both the tables but in different order. The only difference between the select queries is that one has with (nolock) and other doesnt. Is it because of the with (nolock) or could it be because of anything else like indexing. Thanks in advance, Kannan

Viewing all articles
Browse latest Browse all 76

Trending Articles