B
Benjamin
Here is my development environment.
..Net 1.1 Framework
Is it possible to issue more than one SQL statement for a command Object.
Below is the code.
Dim cmdObject As New SqlCommand
cmdObject.Connection = AmisysCon
cmdObject.CommandType = CommandType.Text
cmdObject.CommandText = "DELETE FROM TABLE1;DELETE FROM TABLE2"
intCmdResults = cmdObject.ExecuteNonQuery()
Is it possible to issue more than one SQL statements as mentioned above? Is
there any unknown consequences?
Thanks,
Benjamin
..Net 1.1 Framework
Is it possible to issue more than one SQL statement for a command Object.
Below is the code.
Dim cmdObject As New SqlCommand
cmdObject.Connection = AmisysCon
cmdObject.CommandType = CommandType.Text
cmdObject.CommandText = "DELETE FROM TABLE1;DELETE FROM TABLE2"
intCmdResults = cmdObject.ExecuteNonQuery()
Is it possible to issue more than one SQL statements as mentioned above? Is
there any unknown consequences?
Thanks,
Benjamin