BackupQuery(String) Method
In This Topic
Generates a script with a backup of the data, returned by the specified query, and writes it to the
DumpText property.
Syntax
|
|---|
'Declaration
Public Overloads Sub BackupQuery( _
ByVal As String _
) |
|
|---|
public void BackupQuery(
string
) |
Parameters
- query
- The query, returning data for backup.
Example
The following example dumps the query data to the
DumpText property.
|
|---|
dump.BackupQuery("SELECT * FROM DEPT WHERE Deptno > 50"); |
|
|---|
dump.BackupQuery('SELECT * FROM DEPT WHERE Deptno > 50') |
See Also