在我的系统中,我已经在16和16之间安装了两个sql。 17,我需要在任何地方使用sql创建一个数据库,但是在powershell中使用dbinit命令时,默认情况下只需16.0.0的sql
我的命令是
$DBLocation = "E:After_Change123"
dbinit $DBLocation ---------> This Command is Working Fine But it creating DB in Sql AnyWhere 16
& 'C:\Program Files\SQL Anywhere 17\bin64\dbinit.exe' -dba xxx,yyyyyy $DBLocation
我的输出是
S C:\Windows\System32> $DBLocation = "E:After_Change"
& 'C:\Program Files\SQL Anywhere 17\bin64\dbinit.exe' -dba dba,sql123 $DBLocation
SQL Anywhere Initialization Utility Version 17.0.0.1358
Usage: dbinit [options] -dba <uid>,<pwd> database
@<data> expands <data> from environment variable <data> or file <data>
Options (use specified case, as shown):
-a accent sensitivity on all UCA string comparisons
-af accent sensitivity (French rules) on all
UCA string comparisons
-b blank padding of strings for comparisons
-c case sensitivity on all string comparisons
我想在Sql的任何地方创建数据库17.0.0版本如何帮助我
先谢谢
答案 0 :(得分:1)