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.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |