- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我使用的是 sqlserver2008,这适用于 sqlserver2008 吗??
我已经给了java -jar "D:\Program Files\SchemaSpy\schemaSpyGUI.jar"-dp "D:\jtds-1.2.5-dist\jtds-1.2.5.jar"-t mssql-jtds -db EnterpriseVaultDirectory -host localhost -端口 1433 -u sa -connprops "D:\Program Files\SchemaSpy\properties\mssql-jtds.properties"-o "D:\Schema"
还是不行...
谁能帮帮我
最佳答案
请检查“D:\Program Files\SchemaSpy\schemaSpyGUI.jar”?schemaSpyGUI.jar 只是 UI 程序。你需要 schemaspy 5.0.0 ( http://sourceforge.net/projects/schemaspy/files/latest/download?source=files )并像这样使用 (java -jar "your_path\schemaSpy_5.0.0.jar"...)
如果可能,请使用最新版本的 jtds(当前为 jtds-1.3.0.jar)。
将“-t mssql-jtds”替换为您为系统修改“mssql-jtds.properties”的文件(我使用的是我用 mssql05-jtd.properties 编辑的 mssql05-jtds_mysystem(见下文) .所以我不使用 connprops 选项。当然 -t 选项不需要 extentname 部分(=>.properties)。
你为什么不使用 Graphviz。制作简单的 ERD 图像。你必须添加 -gv 选项
----下面----
# see http://schemaspy.sourceforge.net/dbtypes.html
# for configuration / customization details
#
# Provided by Ernest Zapata, Larry Walker and Emilian Turbatu
description=jTDS JDBC Driver for Microsoft SQL 2000/2005 Server
# majority of settings are identical to jTDS:
extends=mssql-jtds
# return the table comments
selectTableCommentsSql=SELECT OBJECT_NAME(t.object_id) AS TABLE_NAME, ex.value AS comments FROM ( sys.tables t LEFT OUTER JOIN sys.extended_properties ex ON ex.major_id = t.object_id AND ex.name = 'MS_Description' AND minor_id = 0) \ **--> You must change this line! you need () and no line feed'\'**
JOIN sys.schemas s ON t.schema_id = s.schema_id AND s.name = :schema \
WHERE OBJECTPROPERTY(t.object_id, 'IsMsShipped')=0 \
ORDER BY OBJECT_NAME(t.object_id)
# return the column comments
selectColumnCommentsSql=SELECT OBJECT_NAME(c.object_id) AS TABLE_NAME, c.name AS COLUMN_NAME, ex.value AS comments \
FROM sys.columns c \
LEFT OUTER JOIN sys.extended_properties ex \
ON ex.major_id = c.object_id AND ex.minor_id = c.column_id AND ex.name = 'MS_Description' \
JOIN sys.tables t ON t.object_id = c.object_id \
JOIN sys.schemas s ON t.schema_id = s.schema_id AND s.name = :schema \
WHERE OBJECTPROPERTY(c.object_id, 'IsMsShipped')=0 \
ORDER BY OBJECT_NAME(c.object_id), c.column_id
关于database - 用于 sqlserver2008 的 schemaSpy?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14681870/
在我的 Windows 类库(由 MVC 网站使用)中,我安装了 NugetPackage Microsoft.SqlServer.Types (Spatial)。 现在,我正在使用 ado.net
测试sql: 复制代码代码如下: SET STATISTICS IO ON SET STATISTICS TIME ON SELECT COUNT(1)&n
我正在从 SqlConnection 构建 DbContext。当我使用它时,我收到以下错误: The Entity Framework provider type 'System.Data.Enti
我使用dotNet 4.5创建了WCF服务。数据库层是使用Entity Framework 6构建的。 我使用IIS 8托管了该服务。它运行正常。 现在,我需要使用Windows窗体客户端使用该服务,
我正在尝试从 SqlServer 1 上的 sql 数据库中导出一些表。在我们的内部网 LAN(就在我旁边)中有一个我制作的临时 Sql Server,称为 SqlServer 2。 我不想备份整个数
Error 1 Copying file bin\EntityFramework.SqlServer.xml to obj\Debug\Package\PackageTmp\bin\Entit
我正在尝试使用 SMO 通过 Powershell 恢复数据库,但是当我尝试定义和使用服务器对象时,出现以下错误: Cannot convert argument "srv", with value:
出于某种原因,我需要将我的表列之一从“NOT NULL”更新为“NULL”。命令很简单: ALTER TABLE TBLOGDOCMESSAGE ALTER COLUMN PROCESSID BIGI
我想知道我正在尝试做的事情是否可行。我相信它是在 TSQL 中使用 PIVOT 函数,但对 PIVOT 函数没有足够的经验来知道从哪里开始。 基本上,我正在尝试采用以下名为 #tmpbudgetdat
我正在尝试将子查询作为带有条件的列。 我从 SQL Server 得到的错误是: 子查询返回了 1 个以上的值。当子查询跟随 =、!=、、>= 或当子查询用作表达式时,这是不允许的。 我正在选择更多的
我有一个正在查询的 SQL 服务器数据库,我只想在特定行为空时获取信息。我使用了一个 where 语句,例如: WHERE database.foobar = NULL 它不返回任何东西。但是,我知道
1、拼接字符串(整个字符串不分割)步骤: 首先在字符串的前后加单引号; 字符串中的变量以'''+@para+'''在字符串中表示; 若在执行时存在类型转换错误,则应用相应的类型
说明: 收缩日志的原因有很多种,有些是考虑空间不足,有些则是应用程序限制导致的。 ?
Rand()函数是系统自带的获取随机数的函数,可以直接运行select rand() 获取0~1之间的float型的数字。 如果想要获取0~100之间的整数随机数,可以这样使用 select ro
将以下内容保存为 openSql.bat 双击运行即可 复制代码 代码如下: @echo ========= SQL Server Ports =================== @ech
新增的APPLY表运算符把右表表达式应用到左表表达式中的每一行。它不像JOIN那样先计算那个表表达式都可以,APPLY必选先逻辑地计算左表达式。这种计算输入的逻辑顺序允许吧右表达式关联到左表表达式。
SQL Server本身提供了这么一个DMV来返回这些信息,它就是sys.dm_exec_sessions 。 比如在我的机器上做一下查询: 复制代码 代码如下: SELECT * FROM
尽管从技术上讲,其它排名函数的计算与ROW_NUMBER类似,但它们的的实际应用却少很多。RANK和DENSE——RANK主要用于排名和积分。NTILE更多地用于分析。 先创建一个示例表: 复制
1、文件和文件组的含义与关系 每个数据库有一个主数据文件.和若干个从文件。文件是数据库的物理体现。 文件组可以包括分布在多个逻辑分区的文件,实现负载平衡。文件组允许对文件进行分组,以便于管理和数据的
我想很多人都知道,在oracle里面,存储过程里面可以传入数组(如int[]),也就是说,可以传多条记录到数据,从而一起更新。减少数据库的请求次数。 但SqlServer呢?bulk Insert这
我是一名优秀的程序员,十分优秀!