在C#中运行oracle命令脚本文件 [英] Running oracle commands script file inside C#
问题描述
你好
我有一个有oracle数据库的应用程序,所以安装应用程序需要运行一些oracle命令脚本文件来创建数据库并执行一些DDL操作。
我正在尝试使用C#表单应用程序准备安装向导。该向导需要运行这些命令。我的问题是:C#windows form app是一个很好的选择吗?以及如何执行它?即如何从应用程序内部运行oracle命令脚本文件?我确实需要一个函数,它将文件路径作为输入参数并执行脚本文件中的命令...
提前谢谢
Hello
I have an application which has an oracle database, so the installation of the application needs running some oracle commands script files to create the database and perform some DDL operations.
I was trying to prepare an installation wizard using C# forms application. This wizard needs to run these commands. My questions are: Is C# windows forms app a good choice to achieve that? And how to perform it? i.e. how to run oracle commands script files from inside the application? I exactly need a function that takes the file path as input parameter and executes the commands within the script files...
Thanks in advance
推荐答案
这篇关于在C#中运行oracle命令脚本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!