# GetColumnData Method The GetColumnData method returns a column of the currently opened query. Syntax
    [str=] DatabaseQuery.GetColumnData()
Return Value Returns a String that contains the column. Remarks None. Examples The following example opens a database query and displays the last returned column.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    dbquery = SiteCafe.Server.CreateDatabaseQuery();
    dbquery.Open("SELECT * FROM users");
    dbquery.MoveLast();
    alert(dbquery.GetColumnData());
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top