# 22. Virtuoso Functions Guide - quote_dotted

Chapter Contents | Prev | Next
Keyword Search:
www.openlinksw.com
docs.openlinksw.com
Book Home
Contents
Preface
Virtuoso Functions Guide
Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Remote SQL Data Source
att_local_name
quote_dotted
rclose
rexecute
rmoreresults
rnext
rstmtexec
sql_columns
sql_config_data_sour...
sql_data_sources
sql_driver_connect
sql_get_installed_dr...
sql_get_private_prof...
sql_gettypeinfo
sql_primary_keys
sql_procedures
sql_remove_dsn_from_...
sql_special_columns
sql_statistics
sql_tables
sql_transact
sql_write_file_dsn
sql_write_private_pr...
vd_remote_data_sourc...
vd_remote_proc_wrapp...
vd_remote_table
vd_statistics
vdd_disconnect_data_...
vdd_measure_rpc_time
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY
Functions Index

## quote_dotted

Returns an quoted identifier.
varchar quote_dotted (in dsn varchar, in identifier varchar);
Description

The quote_dotted() function will return the identifier (table name or column name) appropriately quoted for the remote data source. This function will obtain the appropriate quote characters from the remote data source. This function can be used in conjuction with rexecute function.

Parameters
dsn – The remote DSN name.
identifier – The string containing the identifier. The identifier can be a one, two or three part name, separated with the dot, '.', character.
Return Types

A string will be returned containing the quoted identifier.

Errors

SQLState | Error Code | Error Text | Description
--- | --- | --- | ---
22023 | VD011 | Supplied DSN [name] is not valid |

Examples
Using the quote_dotted() function

This simple example shows an identifier from a remote Oracle data source being correctly quoted using the quote_dotted() function from ISQL.

    SQL> select quote_dotted ('oracle', 'DEMO.EMP');
    callret
    VARCHAR
    _______________________________________________________________________________

    "DEMO"."EMP"

    1 Rows. -- 2 msec.

See Also

rexecute()