{"id":271,"date":"2012-07-24T10:13:29","date_gmt":"2012-07-24T09:13:29","guid":{"rendered":"http:\/\/clausoncode.dk\/wp\/?p=271"},"modified":"2012-07-19T10:16:21","modified_gmt":"2012-07-19T09:16:21","slug":"change-select-top-1000-to-select-top-xxx","status":"publish","type":"post","link":"https:\/\/clausoncode.dk\/wp\/?p=271","title":{"rendered":"Change \u201dselect top 1000\u201d to \u201dSelect top XXX\u201d"},"content":{"rendered":"<p>In SQL server management studio, when you right click on a table, there is a shortcut to select top 1000 or edit top 200 rows. Se pic below.<\/p>\n<p><a href=\"http:\/\/clausoncode.dk\/wp\/wp-content\/topxxx1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"116\" height=\"241\" class=\"alignnone  wp-image-272\" title=\"topxxx1\" src=\"http:\/\/clausoncode.dk\/wp\/wp-content\/topxxx1.png\" alt=\"\" \/><\/a><\/p>\n<p>It is an easy way, when you just want to see some of the data in a table, or if you want to edit some values in a small table. If you are using the 2 shortcuts you can change 1000 and 200 to values that make sense to you.<\/p>\n<p>Click options-&gt;SQL Server Object Explorer. Then you get the options as shown in the pic below.<\/p>\n<p><a href=\"http:\/\/clausoncode.dk\/wp\/wp-content\/Topxxx2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"173\" class=\"alignnone  wp-image-273\" title=\"Topxxx2\" src=\"http:\/\/clausoncode.dk\/wp\/wp-content\/Topxxx2-300x173.jpg\" alt=\"\" srcset=\"https:\/\/clausoncode.dk\/wp\/wp-content\/uploads\/Topxxx2-300x173.jpg 300w, https:\/\/clausoncode.dk\/wp\/wp-content\/uploads\/Topxxx2.jpg 643w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Change the values to your needs, and voila, now you have select top yyyy \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In SQL server management studio, when you right click on a table, there is a shortcut to select top 1000 or edit top 200 rows. Se pic below. It is an easy way, when you just want to see some of the data in a table, or if you want to edit some values in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_ti_tpc_template_sync":false,"_ti_tpc_template_id":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-ms-sql-server"],"_links":{"self":[{"href":"https:\/\/clausoncode.dk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clausoncode.dk\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clausoncode.dk\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clausoncode.dk\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clausoncode.dk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=271"}],"version-history":[{"count":5,"href":"https:\/\/clausoncode.dk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":279,"href":"https:\/\/clausoncode.dk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions\/279"}],"wp:attachment":[{"href":"https:\/\/clausoncode.dk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clausoncode.dk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clausoncode.dk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}