Click here to Skip to main content
15,895,848 members
Home / Discussions / Database
   

Database

 
GeneralRe: Is it recommended to use trigger to manage business rules with SQL Server? Pin
Kornfeld Eliyahu Peter22-Jun-14 22:21
professionalKornfeld Eliyahu Peter22-Jun-14 22:21 
GeneralRe: Is it recommended to use trigger to manage business rules with SQL Server? Pin
Jörgen Andersson22-Jun-14 22:24
professionalJörgen Andersson22-Jun-14 22:24 
GeneralRe: Is it recommended to use trigger to manage business rules with SQL Server? Pin
Kornfeld Eliyahu Peter22-Jun-14 22:28
professionalKornfeld Eliyahu Peter22-Jun-14 22:28 
AnswerRe: Is it recommended to use trigger to manage business rules with SQL Server? Pin
Jörgen Andersson22-Jun-14 19:52
professionalJörgen Andersson22-Jun-14 19:52 
AnswerRe: Is it recommended to use trigger to manage business rules with SQL Server? Pin
Mycroft Holmes23-Jun-14 1:04
professionalMycroft Holmes23-Jun-14 1:04 
QuestionCompare two tabel and add/update query Pin
member002618-Jun-14 20:44
member002618-Jun-14 20:44 
AnswerRe: Compare two tabel and add/update query Pin
Mycroft Holmes18-Jun-14 22:33
professionalMycroft Holmes18-Jun-14 22:33 
QuestionValidate Date Time value on Sqlite before insert / update Pin
rahmat198517-Jun-14 22:29
rahmat198517-Jun-14 22:29 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
Mycroft Holmes17-Jun-14 22:57
professionalMycroft Holmes17-Jun-14 22:57 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen18-Jun-14 0:28
professionalEddy Vluggen18-Jun-14 0:28 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Mycroft Holmes18-Jun-14 12:44
professionalMycroft Holmes18-Jun-14 12:44 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Bernhard Hiller19-Jun-14 22:26
Bernhard Hiller19-Jun-14 22:26 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen20-Jun-14 0:30
professionalEddy Vluggen20-Jun-14 0:30 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 9:45
mvePIEBALDconsult20-Jun-14 9:45 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen20-Jun-14 10:01
professionalEddy Vluggen20-Jun-14 10:01 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 10:30
mvePIEBALDconsult20-Jun-14 10:30 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen20-Jun-14 10:45
professionalEddy Vluggen20-Jun-14 10:45 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 9:43
mvePIEBALDconsult20-Jun-14 9:43 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen18-Jun-14 0:29
professionalEddy Vluggen18-Jun-14 0:29 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
jschell18-Jun-14 11:23
jschell18-Jun-14 11:23 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 9:46
mvePIEBALDconsult20-Jun-14 9:46 
QuestionSQL search question Pin
Jassim Rahma16-Jun-14 22:14
Jassim Rahma16-Jun-14 22:14 
AnswerRe: SQL search question Pin
Eddy Vluggen16-Jun-14 22:29
professionalEddy Vluggen16-Jun-14 22:29 
AnswerRe: SQL search question Pin
NitinDhapte16-Jun-14 23:08
NitinDhapte16-Jun-14 23:08 
AnswerRe: SQL search question Pin
Shameel17-Jun-14 0:48
professionalShameel17-Jun-14 0:48 
It would be something like this:
SQL
SELECT * 
FROM contacts
WHERE (contact_name LIKE '%John%' OR contact_name LIKE '%Dell%')
 OR (company_name LIKE '%John%' OR company_name LIKE '%Dell%')
 OR (service_offered LIKE '%John%' OR service_offered LIKE '%Dell%')


Basically, you'd split the search text into separate words and dynamically build the query above to include all the words.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.