Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.03 KB

File metadata and controls

35 lines (28 loc) · 1.03 KB
title false Function (XQuery)
description Learn about the false() function that returns the boolean value False.
author rothja
ms.author jroth
ms.date 03/06/2017
ms.service sql
ms.subservice xml
ms.topic reference
helpviewer_keywords
false function
fn:false function
dev_langs
XML

Boolean Constructor Functions - false (XQuery)

[!INCLUDE SQL Server Azure SQL Database]

Returns the xs:boolean value False. This is equivalent to xs:boolean("0").

Syntax

fn:false() as xs:boolean  

Examples

This topic provides XQuery examples against XML instances that are stored in various xml type columns in the AdventureWorks database.

A. Using the false() XQuery Boolean function

For a working sample, see true Function (XQuery).

See Also

Boolean Constructor Functions (XQuery)