What are string constants in PostgreSQL?

  • Sharad Jaiswal
  • 22nd Feb, 2018

1 answer(s) :

  •   Reply
    img

    Priyag Chaudhary

    04th Feb, 2020
    "

    A sequence of characters bound by single quotes is contained by string constants. This feature is used when one needs to insert a character or to pass a character to database objects. PostgreSQL allows the usage of single quotes but embedded by a C style backslash. A string constant is a sequence of characters bound together by single quotes instead of double quotes, which is generally the case with string type variables. This feature is mostly used when a character is being inserted or when a character needs to be passed to database objects. This feature is exceptionally important while parsing data. PostgreSQL lets a user use single quotes only when it is embedded by the specific C-style backslash.

Post your Answer :

Valid name is required.

Valid name is required.

Valid email id is required.