Skip to content

Commit

Permalink
correção getFields
Browse files Browse the repository at this point in the history
  • Loading branch information
emalherbi committed Jul 4, 2019
1 parent adc377c commit d8f2ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MyMssql.php
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@ private function getFields($sxName)
$sql .= ' SYSOBJECTS AS TABLES, ';
$sql .= ' SYSCOLUMNS AS COLUMNS, ';
$sql .= ' SYSTYPES AS TYPES ';
$sql .= ' WHERE ';
$sql .= ' TABLES.ID = COLUMNS.ID ';
$sql .= ' WHERE TABLES.ID = COLUMNS.ID ';
$sql .= ' AND COLUMNS.XTYPE = TYPES.XTYPE ';
$sql .= ' AND COLUMNS.USERTYPE = TYPES.USERTYPE ';
$sql .= " AND TABLES.NAME = '".$sxName."'";
$sql .= ' ORDER BY TABLES.ID ';
Expand Down

0 comments on commit d8f2ff3

Please sign in to comment.