MSSQL enabled for GW metlink

This commit is contained in:
Geoff Munn 2009-03-25 21:06:06 +00:00
parent 5b5f43f905
commit 8b6e13a823

View File

@ -965,6 +965,7 @@ class MSSQLDatabase extends Database {
$tables[]="SELECT ID, '{$row['TABLE_NAME']}' AS Source FROM \"{$row['TABLE_NAME']}\" WHERE CONTAINS(\"{$row['FULLTEXT_COLUMN_NAME']}\", N'$keywords')"; $tables[]="SELECT ID, '{$row['TABLE_NAME']}' AS Source FROM \"{$row['TABLE_NAME']}\" WHERE CONTAINS(\"{$row['FULLTEXT_COLUMN_NAME']}\", N'$keywords')";
} }
//We'll do a union query on all of these tables... it's easeier! //We'll do a union query on all of these tables... it's easeier!
$query=implode(' UNION ', $tables); $query=implode(' UNION ', $tables);