SnowflakeCommand Constructor(String)
Initializes a new instance of the
SnowflakeCommand class with the text of the query.
The following example creates a
SnowflakeCommand and sets some of its properties.
|
|---|
public void CreateSnowflakeCommand()
{
string mySelectQuery = "SELECT * FROM your_database.your_schema.employees";
SnowflakeCommand snowflakeCommand = new SnowflakeCommand(mySelectQuery);
} |
|
|---|
Public Sub CreateSnowflakeCommand()
Dim mySelectQuery As String = "SELECT * FROM your_database.your_schema.employees"
Dim snowflakeCommand As New SnowflakeCommand(mySelectQuery)
End Sub |