Sql Server and c# Code Snippet
Sunday, January 24, 2010
Search a Text in a Database
This Query will help you in searching a text in a Database.
SELECT Distinct sysobjects.Name
FROM sysobjects
JOIN syscomments on sysobjects.Id = syscomments.ID
AND sysobjects.Type = 'P'
AND Text LIKE '% Alwyn%'
ORDER BY sysobjects.Name
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment