---
title: "Meaning & Key Takeaway of: When you execute a program that retrieves…"
description: "\"“When you execute a program that retrieves a small subset of rows from a large table, it can be time-consuming for PROC SQL to read the rows sequential..."
image: "https://sms4smile.com/quotes/i/2f1/anonymous-1_programming_when-you-execute-a-program-that-retrieve_3228929.jpg"
---

#  When you execute a program that retrieves a small subset…

![“When you execute a program that retrieves a small subset of rows from a large table, it can be time-consuming for PROC SQL to read the rows sequentially. In some situations, using an index on a table allows PROC SQL to access a subset of rows more efﬁciently. An index stores unique values for a…” quote by Anonymous](https://sms4smile.com/quotes/i/2f1/anonymous-1_programming_when-you-execute-a-program-that-retrieve_3228929.jpg)   [Download](https://sms4smile.com/quotes/i/2f1/anonymous-1_programming_when-you-execute-a-program-that-retrieve_3228929.jpg) [Open image](https://sms4smile.com/quotes/i/2f1/anonymous-1_programming_when-you-execute-a-program-that-retrieve_3228929.jpg)

> ““When you execute a program that retrieves a small subset of rows from a large table, it can be time-consuming for PROC SQL to read the rows sequentially. In some situations, using an index on a table allows PROC SQL to access a subset of rows more efﬁciently. An index stores unique values for a speciﬁed column or columns in ascending value order, and includes information about the location of those values in the table. That is, an index is composed of value/identiﬁer pairs that enable you to access a row directly, by value. For example, suppose you have created an index on your table that is based””

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

Indexes let databases locate rows quickly by storing sorted key‑value pairs, reducing scan time for queries.

**In simple terms:** Indexes speed up data retrieval by mapping keys to rows.

Key Takeaway

Use indexes to improve query performance.

Themes

databases performance SQL

Mood

analytical practical

Type

technical educational

When to use this quote

- large datasets
- reporting
- data analysis
- software development

Key Concepts

indexing query optimization

Questions to Reflect On

- When should you add an index?
- What trade‑offs exist?

A Different Perspective

Indexes add overhead for writes and storage.

★ ★ ★ ★ ★   No ratings yet

[Programming](https://sms4smile.com/quotes/about/programming/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [It's 2006, why are they still using the index finger?](https://sms4smile.com/quotes/karl-pilkington/it-s-2006-why-are-they-still-using-the-index-finger/)

[Karl Pilkington](https://sms4smile.com/quotes/author/karl-pilkington/)

> [“at least half of all developers make less than $500 per app per month.”](https://sms4smile.com/quotes/anonymous/at-least-half-of-all-developers-make-less-than-500-per-app-per-month/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [There are no standards for computer programmers and no group to certify them.](https://sms4smile.com/quotes/anonymous/there-are-no-standards-for-computer-programmers-and-no-group-to/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“Despite the “R” in CRM and the $11 billion spent on CRM software annually, many companies don’t understand customer relationships at all. They lack…](https://sms4smile.com/quotes/anonymous/despite-the-r-in-crm-and-the-11-billion-spent-on-crm-software/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“Programmer Chris Camfield was in charge of implementing the tactical layer battle mechanics. A lifelong player of pencil-and-paper role-playing games as well as strategy…](https://sms4smile.com/quotes/anonymous/programmer-chris-camfield-was-in-charge-of-implementing-the-tactical/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [It goes against the grain of modern education to teach children to program. What fun is there in making plans, acquiring discipline in organizing…](https://sms4smile.com/quotes/anonymous/it-goes-against-the-grain-of-modern-education-to-teach-children-to/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [My most cryptic, strange songs might be my most personal, but that isn't how people are going to receive them, because they don't know…](https://sms4smile.com/quotes/anonymous/my-most-cryptic-strange-songs-might-be-my-most-personal-but-that-isn/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“Optimize for readability first. What slows down developers when reading code”](https://sms4smile.com/quotes/anonymous/optimize-for-readability-first-what-slows-down-developers-when/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“Kindle is no longer a test Kindle and is unable to test items previously signed by authorized developers. If you want your device to…](https://sms4smile.com/quotes/anonymous/kindle-is-no-longer-a-test-kindle-and-is-unable-to-test-items/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [In short: developers do not give players enough credit. And maybe even players don't give players enough credit.](https://sms4smile.com/quotes/anonymous/in-short-developers-do-not-give-players-enough-credit-and-maybe-even/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“Creating code that fails with reasonable error messages takes minor effort in the present but provides value forever.”](https://sms4smile.com/quotes/anonymous/creating-code-that-fails-with-reasonable-error-messages-takes-minor/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Systems program building is an entropy-decreasing process, hence inherently metastable. Program maintenance is an entropy-increasing process, and even its most skillful execution only delays…](https://sms4smile.com/quotes/anonymous/systems-program-building-is-an-entropy-decreasing-process-hence/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“It’s usually not a good idea to stop doing features entirely, to “clean up” the code. It might be, but I’d bet it isn’t.”](https://sms4smile.com/quotes/anonymous/it-s-usually-not-a-good-idea-to-stop-doing-features-entirely-to-clean/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Even with cheat codes, you can't get on my level.](https://sms4smile.com/quotes/anonymous/even-with-cheat-codes-you-can-t-get-on-my-level/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“By rendering the model in ASN.1, the NCBI created a system that combined objects (DNA sequences, protein sequences, references, sequence features) from a variety…](https://sms4smile.com/quotes/anonymous/by-rendering-the-model-in-asn-1-the-ncbi-created-a-system-that/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

## More by Anonymous

> [And a tear rolled down her cheek, as she said goodbye; because she's walking away, and she's never looking back](https://sms4smile.com/quotes/anonymous/and-a-tear-rolled-down-her-cheek-as-she-said-goodbye-because-she-s/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Life is full of change. That's how we learn and grow.](https://sms4smile.com/quotes/anonymous/life-is-full-of-change-that-s-how-we-learn-and-grow/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [You'll seldom experience regret for anything that you've done. It is what you haven't done that will torment you. The message, therefore, is clear.…](https://sms4smile.com/quotes/anonymous/you-ll-seldom-experience-regret-for-anything-that-you-ve-done-it-is/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Scrabble - The game is available in Braille. That’s a nice fact. This makes me feel better about humanity for some reason. I can’t…](https://sms4smile.com/quotes/anonymous/scrabble-the-game-is-available-in-braille-that-s-a-nice-fact-this/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Everyone needs someone to love, and I choose you.](https://sms4smile.com/quotes/anonymous/everyone-needs-someone-to-love-and-i-choose-you/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“THIS tale of my sore-troubled life I write,    To thank the God of nature, who conveyed    My soul to me, and with such care…](https://sms4smile.com/quotes/anonymous/this-tale-of-my-sore-troubled-life-i-write-to-thank-the-god-of-nature/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Put on my J's and dance the whole night away Im naughty by nature like Im hip-hop hooray With my hands in the sky,…](https://sms4smile.com/quotes/anonymous/put-on-my-j-s-and-dance-the-whole-night-away-im-naughty-by-nature/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Me.. I have been through a lot, but I still manage to have a smile on my face. Im not worried about the past…](https://sms4smile.com/quotes/anonymous/me-i-have-been-through-a-lot-but-i-still-manage-to-have-a-smile-on-my/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Distance is a test of love. many will fail for those who can't withstand it, but for those who can, theres only one answer…](https://sms4smile.com/quotes/anonymous/distance-is-a-test-of-love-many-will-fail-for-those-who-can-t/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Im sorry I ever tried...](https://sms4smile.com/quotes/anonymous/im-sorry-i-ever-tried/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Being betrayed by the one you love is the worst feeling in the world...](https://sms4smile.com/quotes/anonymous/being-betrayed-by-the-one-you-love-is-the-worst-feeling-in-the-world/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Let children support their parents or be imprisoned.](https://sms4smile.com/quotes/anonymous/let-children-support-their-parents-or-be-imprisoned/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [The only person I've ever purposely caused pain here is myself...By simply sharing, caring too much.](https://sms4smile.com/quotes/anonymous/the-only-person-i-ve-ever-purposely-caused-pain-here-is-myself-by/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“Start a business, not a startup”](https://sms4smile.com/quotes/anonymous/start-a-business-not-a-startup/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [The truth is, of course, that the curtness of the Ten Commandments is an evidence, not of the gloom and narrowness of a religion,…](https://sms4smile.com/quotes/anonymous/the-truth-is-of-course-that-the-curtness-of-the-ten-commandments-is/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

[Explore all 162,899 Anonymous quotes ](https://sms4smile.com/quotes/author/anonymous/)

## More Programming quotes

> [Of everything I have done, 'The Archers' always gets the most excitement; there's a sort of uncontrollable joy from fans of the program.](https://sms4smile.com/quotes/felicity-jones/of-everything-i-have-done-the-archers-always-gets-the-most-excitement/)

[Felicity Jones](https://sms4smile.com/quotes/author/felicity-jones/)

> [When we shipped 'Borderlands 2,' we didn't ship it with a plan of how the level cap was going to increase. We didn't have…](https://sms4smile.com/quotes/randy-pitchford/when-we-shipped-borderlands-2-we-didn-t-ship-it-with-a-plan-of-how/)

[Randy Pitchford](https://sms4smile.com/quotes/author/randy-pitchford/)

> [It is no secret that I have read 'The Da Vinci Code' several times. I genuinely believe that 'The Da Vinci Code' and 'Angels…](https://sms4smile.com/quotes/ashwin-sanghi/it-is-no-secret-that-i-have-read-the-da-vinci-code-several-times-i/)

[Ashwin Sanghi](https://sms4smile.com/quotes/author/ashwin-sanghi/)

> [“Check the program before you two start undressing and...well, doing whatever freaky shit you talked Harley into.” I”](https://sms4smile.com/quotes/james-cox/check-the-program-before-you-two-start-undressing-and-well-doing/)

[James Cox](https://sms4smile.com/quotes/author/james-cox/)

> [Programmers are always surrounded by complexity; we cannot avoid it… If our basic tool, the language in which we design and code our programs,…](https://sms4smile.com/quotes/tony-hoare/programmers-are-always-surrounded-by-complexity-we-cannot-avoid-it-if/)

[Tony Hoare](https://sms4smile.com/quotes/author/tony-hoare/)

> [One of my most productive days was throwing away 1,000 lines of code.](https://sms4smile.com/quotes/ken-thompson/one-of-my-most-productive-days-was-throwing-away-1-000-lines-of-code/)

[Ken Thompson](https://sms4smile.com/quotes/author/ken-thompson/)

> [Writing code means always having to say you're sorry.](https://sms4smile.com/quotes/paul-ford/writing-code-means-always-having-to-say-you-re-sorry/)

[Paul Ford](https://sms4smile.com/quotes/author/paul-ford/)

> [Limit use of shareware and public domain software to systems without fixed disks. If you do use them on fixed disks, allocate separate subdirectories...…](https://sms4smile.com/quotes/john-mcafee/limit-use-of-shareware-and-public-domain-software-to-systems-without/)

[John McAfee](https://sms4smile.com/quotes/author/john-mcafee/)

> [I'm publicist, patron of nine charities, creative director, food consultant, recipe developer - and mum.](https://sms4smile.com/quotes/jack-monroe/i-m-publicist-patron-of-nine-charities-creative-director-food/)

[Jack Monroe](https://sms4smile.com/quotes/author/jack-monroe/)

> [With VR, we have this same vision, which is create this ultimate platform for sharing your imagination. Our huge community of 300,000 developers creates…](https://sms4smile.com/quotes/david-baszucki/with-vr-we-have-this-same-vision-which-is-create-this-ultimate/)

[David Baszucki](https://sms4smile.com/quotes/author/david-baszucki/)

> [It would be a piece of ingenuousness to accuse the man of today of his lack of moral code. The accusation would leave him…](https://sms4smile.com/quotes/jose-ortega-y-gasset/it-would-be-a-piece-of-ingenuousness-to-accuse-the-man-of-today-of/)

[Jose Ortega y Gasset](https://sms4smile.com/quotes/author/jose-ortega-y-gasset/)

> [A lot of the kids gave a lot of positive feedback about if I ever became a coach, they would love to play in…](https://sms4smile.com/quotes/penny-hardaway/a-lot-of-the-kids-gave-a-lot-of-positive-feedback-about-if-i-ever/)

[Penny Hardaway](https://sms4smile.com/quotes/author/penny-hardaway/)

> [I loved 'Chicago Code;' I watched that a lot. It was great because it really captured the city - I'm from Chicago, too.](https://sms4smile.com/quotes/jessy-schram/i-loved-chicago-code-i-watched-that-a-lot-it-was-great-because-it/)

[Jessy Schram](https://sms4smile.com/quotes/author/jessy-schram/)

> [I kind of pride myself on coming onto things that are well-oiled machines and finding a way to bring what I bring and fit…](https://sms4smile.com/quotes/rob-lowe/i-kind-of-pride-myself-on-coming-onto-things-that-are-well-oiled/)

[Rob Lowe](https://sms4smile.com/quotes/author/rob-lowe/)

> [“By rendering the model in ASN.1, the NCBI created a system that combined objects (DNA sequences, protein sequences, references, sequence features) from a variety…](https://sms4smile.com/quotes/anonymous/by-rendering-the-model-in-asn-1-the-ncbi-created-a-system-that/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

[Browse all 6,477 Programming quotes ](https://sms4smile.com/quotes/about/programming/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“When you execute a program that retrieves a small subset of rows from a large table, it can be time-consuming for PROC SQL to read the rows sequentially. In some situations, using an index on a table allows PROC SQL to access a subset of rows more efﬁciently. An index stores unique values for a speciﬁed column or columns in ascending value order, and includes information about the location of those values in the table. That is, an index is composed of value/identiﬁer pairs that enable you to access a row directly, by value. For example, suppose you have created an index on your table that is based”",
            "creator": {
                "@type": "Person",
                "name": "Anonymous"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/anonymous/when-you-execute-a-program-that-retrieves-a-small-subset-of-rows-from/",
            "about": {
                "@type": "Thing",
                "name": "Programming"
            },
            "@id": "https://sms4smile.com/quotes/anonymous/when-you-execute-a-program-that-retrieves-a-small-subset-of-rows-from/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/2f1/anonymous-1_programming_when-you-execute-a-program-that-retrieve_3228929.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/2f1/anonymous-1_programming_when-you-execute-a-program-that-retrieve_3228929.jpg",
                "url": "https://sms4smile.com/quotes/i/2f1/anonymous-1_programming_when-you-execute-a-program-that-retrieve_3228929.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“When you execute a program that retrieves a small subset of rows from a large table, it can be…” — Anonymous",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Anonymous",
                    "item": "https://sms4smile.com/quotes/author/anonymous/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“When you execute a program that...",
                    "item": "https://sms4smile.com/quotes/anonymous/when-you-execute-a-program-that-retrieves-a-small-subset-of-rows-from/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/anonymous/when-you-execute-a-program-that-retrieves-a-small-subset-of-rows-from/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
