Database.ADO.select() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Database.ADO Class Summary

Availability
Windows

Usage
mdm.Database.ADO.select(query:String):Void

Parameters
query:String - SQL query

Returns
Nothing

Description
Runs a SELECT statement on the database after a successful connection.

Notes
This command will ONLY run a SELECT statement. For other SQL queries, use ADO.runQuery()

Example Code
// 3 Different SQL Statements are shown below:
//
mdm.Database.ADO.select("SELECT * FROM myTable");
mdm.Database.ADO.select("SELECT firstName, lastName, nickName FROM myTable");
mdm.Database.ADO.select("SELECT * FROM myTable WHERE maxNumber > 0");

mdm.Database.ADO Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page