What is querystring? - Definition from WhatIs.com
Part of the Database glossary:

A querystring is a set of characters input to a computer or Web browser and sent to a query program to recover specific information from a database . On the Internet, a querystring (also called an HTTP querystring) is part of the set of characters automatically input in the address bar of a dynamic Web site when a user makes a request for information according to certain criteria.

In a URL (Uniform Resource Locator), the querystring follows a separating character, usually a question mark (?). Identifying data appears after this separating symbol. For example, consider the following URL:


This produces a list of all the books available from the online bookseller BookFinder4u bearing the author's name Ernest Hemingway, in reverse chronological order by publication date. The querystring in this example consists of one field or variable, technically called a key in this context (here, it is the word "sort"), followed by an equals sign (=), followed by the value for that key (here, it is the word "date"). Each key and its corresponding value, denoted as an equation, is called a key-value pair. A querystring may contain several key-value pairs. When there is more than one key-value pair, they are typically separated by ampersands (&).

This was last updated in April 2006
Posted by: Margaret Rouse

Related Terms


  • structured data

    - Structured data contrasts with unstructured and semi-structured data. The three can be considered to exist on a continuum, with unstructured data being the least formatted and structured data being... (WhatIs.com)


    - SAP S/4HANA is the next generation of the Business Suite ERP platform, built on the SAP HANA in-memory platform. S/4HANA aims to be easier to use and administer to allow enterprises to solve more c... (SearchSAP.com)

  • MPP database (massively parallel processing database)

    - An MPP database is a database that is optimized to be processed in parallel for many operations to be performed by many processing units at a time. (SearchDataManagement.com)


  • Database

    - Terms related to databases, including definitions about relational databases and words and phrases about database management.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Ask a Question. Find an Answer.Powered by ITKnowledgeExchange.com

Ask An IT Question

Get answers from your peers on your most technical challenges

Ask Question

Tech TalkComment



    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.