Specifies an SACommand that is used during Fill or FillSchema to obtain a result set from the database for copying into a DataSet.
Visual Basic Public Property SelectCommand As SACommand
C# public SACommand SelectCommand { get; set; }
When SelectCommand is assigned to a previously-created SACommand, the SACommand is not cloned. The SelectCommand maintains a reference to the previously-created SACommand object.
If the SelectCommand does not return any rows, no tables are added to the DataSet, and no exception is raised.
The SELECT statement can also be specified in the SADataAdapter constructor.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |