在我的系统中,我在16和17处都安装了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 Anywhere 17.0.0版本中创建数据库如何帮助我
提前致谢
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句