Skip to content

Commit

Permalink
Bug 2815629 - Correct case-sensitive name is INFORMATION_SCHEMA.TABLES
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Aug 17, 2010
1 parent 6be9231 commit b962127
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion dist/releaseNotes.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@
<h3><a href='http://schemaspy.sourceforge.net'>SchemaSpy</a> Release Notes</h3>
<ul>

<li class='release'>5.0.0 - 08/16/2010
<li class='release'>x.x.x - xx/xx/xxxx - Subversion revision xxx
<ul>
<li>Resolved <a href="https://sourceforge.net/tracker/?func=detail&aid=2815629&group_id=137197&atid=737988">
bug 2815629</a> - Case sensitive MS SQL INFORMATION_SCHEMA.TABLES<br>
Corrected the query of MS SQL table details so that it works with databases
that have case sensitivity enabled.<br>
Thanks to sadas for reporting the issue.
</li>
</ul>
</li>
<li class='release'>5.0.0 - 08/16/2010 - Subversion revision 591
<ul>
<li>Added SQL to query view details for MySQL databases.
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/net/sourceforge/schemaspy/dbTypes/mssql.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ WHERE OBJECTPROPERTY(OBJECT_ID(i_s.TABLE_SCHEMA+'.'+i_s.TABLE_NAME), 'IsMsShippe

# return table_name, comments for current schema
# SQL provided by Frank Biedermann
selectTableCommentsSql=SELECT i_s.TABLE_NAME, s.value AS comments FROM INFORMATION_SCHEMA.Tables i_s \
selectTableCommentsSql=SELECT i_s.TABLE_NAME, s.value AS comments FROM INFORMATION_SCHEMA.TABLES i_s \
INNER JOIN sysproperties s ON s.id = OBJECT_ID(i_s.table_catalog + '..' + i_s.table_name) \
WHERE s.type = 3 AND s.name = 'MS_Description'

Expand Down

0 comments on commit b962127

Please sign in to comment.