我的一个朋友抱怨他的系统管理员设置的某些安全设置禁止了 SQL 管理 Studio Express。我建议使用 OSQL
我的问题是
我需要一些基本命令,例如附加、分离和处理 SQL Express 数据库的最佳方式。有任何想法吗?
If you are familiar with normal query syntax, it may be easier for you to write queries to .SQL files (edit in notepad and change the extension), then call from osql with either < filename.sql
or -i filename.sql
. Then you also only have to write out the commands once and can reuse them.