Is there a way to search for a specific varchar value across all fields in a SQL Server DB?
Sounds like you need full text search http://msdn.microsoft.com/en-us/library/ms142571.aspx
Related
I have a number of documents that are in PDF,word and email formats how to store these documents that they can be searched by meta-data?
Non Textual things like that can be stored in an Oracle database as a CLOB or BLOB field.
What sort of metadata do you want to be able to search on?
how to find a table based on some data? i have donzens of tbles in my db and i need a way to find a table by passing the data, how would i achieve that?
using sql server 2008
Take a look at Search all columns in all the tables in a database for a specific value
I have a column, that is encrypted using symmetric key in a database. An encrypted content is just a text. I would like to query this text using full text search. Is it possible?
I was thinking about using full text search filters to index a column, but didn't find any ready-to-use filter.
So is it possible to develop such a filter, in particular, is it possible to access encryption key, that is stored in a database, from filter code and decrypt the text from the column?
Could you recommend any tutorial, how to start with such a development?
From what I understand, there is no support for encrypted indexes. You basically have two options:
You can index partial data in clear (without encryption) and match the partial data to the fully encrypted data.
Decrypt the data before searching
Although this post was for SQL Server 2005, it remains true for SQL Server 2008.
I need to implement Full text search across tables.
what are the different options.
you might be able to Full Text index and indexed view of the tables
How to enable and perform a "full text" search on a table in SQL Server 2005?
I did not quite understand the solution in: How do I use full text search across multiple tables, SQL Server 2005
How hard is it to incorporate full text search with SQL Server?
I think that this video tutorial, should get you a good part of the way there.
you have to setup the index before you can search against it.
You can also have a look at http://msdn.microsoft.com/en-us/library/ms142583.aspx
Begin to Set Up SQL Server 2005 Full-Text Searching.
Then do an overview about the functions you can use:
http://forta.com/blog/index.cfm/2007/1/4/Performing-SQL-Server-CONTAINS-Searches
http://forta.com/blog/index.cfm/2007/1/4/Performing-SQL-Server-FREETEXT-Searches
http://www.forta.com/blog/index.cfm/2007/1/5/Ranking-SQL-Server-2005-FullText-Search-Results