using (OracleCommand crtCommand = new OracleCommand("myCommand", conn1))
{
richTextBox1.AppendText(Environment.NewLine);
richTextBox1.AppendText(crtCommand.ExecuteScalar().ToString() + ";");
richTextBox1.AppendText(Environment.NewLine);
}
結果:
CREATE UNIQUE INDEX "XPKTBL_A" ON "TBL_A" ("FIELD_A1")
;
期待される結果:
CREATE UNIQUE INDEX "XPKTBL_A" ON "TBL_A" ("FIELD_A1");