The getSource and setSource methods of the Recordset class indicate or set the source for the data in a Recordset object (Command object, SQL statement, table name, or stored procedure), respectively.
public String getSource();
public void setSource(Command command);
public void setSource(String query);
The setSource method sets a Command object reference or String value. The getSource method returns only a String value.
command | A Command object reference. |
query | A string value. |