A solution to search Suffix is given below as its a limitation in FTS that FTS cannot search suffix.
Its not recommended and not efficient as it requires another column but its a solution which can help you out in some cases.
1. Add a column in your table which stores the reverse of the string
like
SET NewColumnName = REVERSE(ColumnName)
One of the two SQL Server Speakers of Professional Association for SQL Server in SQLPASS Lahore General Conference. (http://lahore.sqlpass.org/Home.aspx?EventID=5615) 9+ Years of Database Development & Administration experience with Medical Billing, Start up & Financial Companies Microsoft® Certified Solutions Expert: Data Management and Analytics (SQL Server 2012/2014) Microsoft® Certified Solutions Expert: Data Platform (SQL Server 2012/2014)
Wednesday, May 27, 2009
Tuesday, May 05, 2009
Identify missing indexes in sql server 2005
SELECT DISTINCT DB_NAME(Database_ID) [Database]
,OBJECT_NAME(Object_ID) [Table]
,Equality_Columns
,Included_Columns
FROM sys.dm_db_missing_index_details mid
WHERE Database_ID = DB_ID()
ORDER BY 2
,OBJECT_NAME(Object_ID) [Table]
,Equality_Columns
,Included_Columns
FROM sys.dm_db_missing_index_details mid
WHERE Database_ID = DB_ID()
ORDER BY 2
Subscribe to:
Posts (Atom)