Learn XQuery |
Home:Learn XQuery:White Papers:Generating SQL:XQuery Global Variables XQuery Global VariablesSQL does not have a construct equivalent to XQuery's global variables. When an XQuery global variable is set to values from the database, DataDirect XQuery® generally inlines the variable in the statement created for the query body. Example 12. Global VariablesXQuery declare variable $users := collection('USERS')/USERS;
Generated SQL SELECT ALL |
Try DataDirect XQuery® Free!Put the power, scalability, and performance of DataDirect XQuery® to work for you today! Our free trial lets you see for yourself how easy it is to build data integration applications that access relational, EDI, and other file formats as XML! Stay Informed!XQuery is one of the hottest XML technologies being developed today. Stay informed with vital news about standards, tools, and trends by signing up for the DataDirect XQuery® newsletter. |





