Here is the way to keep the recordnumber (SQL_ROWID in my sample) without stored proc.
Code: Select all
"STATEID" "SALARY" "RANK" "IDS"
"NE" "1407200,00" "1" "315,418,214,195,295,84,232,370,490,145,249,385,55,475,99,335"
"NY" "1323200,00" "2" "432,329,17,158,487,365,260,112,126,451,468,209,244"
"IN" "1256800,00" "3" "45,11,106,376,135,302,321,238,121,254,150,202,184,392,169"
"HI" "1236000,00" "4" "389,118,251,181,353,442,57,298,9,405,23,87,166,493"
"AR" "1166600,00" "5" "361,171,326,91,62,305,49,108,241,499,287,271,343,14,483"
"OK" "1096200,00" "6" "149,479,301,58,42,168,236,120,284,424,200,320,88"
"IL" "1088600,00" "7" "275,33,227,309,175,4,1,347,381,191,399,141,80"
"MT" "1082700,00" "8" "379,466,485,225,94,173,51,243,64,125"
"WI" "1055400,00" "9" "319,354,24,494,406,133,267,235,390,72,282"
"DE" "988100,00" "10" "316,296,215,22,233,265,250,439,386,457,70,146,56"
"KY" "982900,00" "11" "470,415,367,97,278,160,211,114,19,331,348,434,246"
"SC" "979700,00" "12" "107,324,122,152,427,482,393,342,47,221,377"
"RI" "957500,00" "13" "102,216,477,441,387,86,338,71,8"
"NC" "956500,00" "14" "240,90,28,463,76,256,61,447,410,13"
"WA" "951400,00" "15" "323,151,360,27,286,270,136,12,498,220,186,255,303"
"LA" "931600,00" "16" "332,82,416,230,20,311,129,471,67,349,383,143,193,161"
"WY" "911700,00" "17" "128,81,400,293,469,277,142,261,18,3"
"FL" "894300,00" "18" "183,357,408,134,375,253,391,25,445,43"
"WV" "883900,00" "19" "7,351,264,100,456,337,437,164,476,131"
"NJ" "856100,00" "20" "252,119,339,460,199,443,423,182,148,299,355"
"MN" "831300,00" "21" "481,497,185,239,89,446,285,409"
"CA" "808600,00" "22" "53,159,452,382,66,229,310,192,34,210,113,488,176"
"GA" "791800,00" "23" "223,288,500,156,448,172,307,465,258,429"
"PA" "764600,00" "24" "362,327,50,188,109,30,63,138,484"
"VT" "750200,00" "25" "259,380,32,207,111,396,16,290,189,308,364"
"ID" "748900,00" "26" "231,248,5,83,369,162,454,194,474,130,36,435"
"NH" "746100,00" "27" "266,440,317,372,132,165,117,420,281,40,492,297,234"
"OR" "745300,00" "28" "411,205,272,394,123,154,428,187,137"
"UT" "736000,00" "29" "139,449,110,412,273,363,157,345,206"
"CT" "675900,00" "30" "436,419,116,37,263,6,336,371,163"
"OH" "662600,00" "31" "85,39,458,101,404,352,180,197"
"MD" "636700,00" "32" "147,388,198,421,318,459,103,373"
"MS" "632800,00" "33" "78,289,93,31,224,430,15,344,395,124"
"SD" "602900,00" "34" "144,334,384,489,262,247,313,453,401,473,212"
"TN" "598800,00" "35" "203,75,60,46,462,26,359,341"
"AL" "591300,00" "36" "425,105,218,74,340,358,496"
"AK" "591100,00" "37" "283,73,495,104,407,10,356,300,444,268"
"NM" "583000,00" "38" "461,237,44,269,219,59,480,201"
"AZ" "542900,00" "39" "226,330,52,398,96,291,245,414"
"KS" "526400,00" "40" "306,29,77,378,92,155,257,242"
"MA" "513500,00" "41" "276,292,127,433,366,228,2"
"IA" "510000,00" "42" "294,333,68,54,368,417,177,472,35,312"
"NV" "495700,00" "43" "140,346,328,95,208,450,431,190,413"
"ME" "495000,00" "44" "403,280,179,38,438,196,491"
"MI" "462500,00" "45" "374,41,422,167,478,217"
"ND" "449600,00" "46" "98,279,115,455,314,350"
"CO" "423700,00" "47" "153,304,204,464,48,222,325"
"TX" "394200,00" "48" "467,65,486,274,397,174,79"
"VA" "306100,00" "49" "178,213,21,402,69"
"MO" "212400,00" "50" "170,322,426"