如何使用c#执行.sql脚本文件
Process p = new Process();p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.FileName = "sqlplus";p.StartInfo.Arguments = string.Format("xx/xx@{0} @{1}", in_database, s);
p.StartInfo.CreateNoWindow = true;bool started = p.Start();p.WaitForExit();
青春有我
随时随地看视频慕课网APP
相关分类