1
版本在我的系統我已經安裝了的SQL Anywhere 16 & 17,我需要將SQL Anywhere 17創建一個數據庫,但同時在PowerShell中使用dbinit命令採取SQL其默認隨時隨地16.0.0只如何在指定使用dbinit
我的命令是
$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版本,該怎麼做幫助我
在此先感謝
指定到'dbinit'實用 –
的正確版本的完整路徑如何指定的完整路徑 –