mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
MSSQL enabled for GW metlink
This commit is contained in:
parent
5b5f43f905
commit
8b6e13a823
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user