Click here to Skip to main content
15,941,828 members
Home / Discussions / Database
   

Database

 
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 
I have the following table in MySQL:

table name : contacts

Field:
contact_name
company_name
service_offered

I want the user to be able to search the contact table in this way:

if the user entered

John Dell

then it should search all fields for any of the given words

so if John is the first name and Dell is company
or John Dell is the name (contains)
or John is the name and Dell is the service


etc...

can anyone tell me how can I do such SQL?


Thanks,
Jassim


Technology News @ www.JassimRahma.com

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 
GeneralRe: SQL search question Pin
Jassim Rahma17-Jun-14 1:35
Jassim Rahma17-Jun-14 1:35 
AnswerRe: SQL search question Pin
Shameel17-Jun-14 5:31
professionalShameel17-Jun-14 5:31 
GeneralRe: SQL search question Pin
Eddy Vluggen17-Jun-14 7:41
professionalEddy Vluggen17-Jun-14 7:41 
QuestionHow to Search a Text into a Database objects Pin
Ravindra Bisen16-Jun-14 20:27
Ravindra Bisen16-Jun-14 20:27 
AnswerRe: How to Search a Text into a Database objects Pin
$*Developer - Vaibhav*$16-Jun-14 20:41
$*Developer - Vaibhav*$16-Jun-14 20:41 
GeneralRe: How to Search a Text into a Database objects Pin
Ravindra Bisen16-Jun-14 20:43
Ravindra Bisen16-Jun-14 20:43 
GeneralRe: How to Search a Text into a Database objects Pin
$*Developer - Vaibhav*$16-Jun-14 20:45
$*Developer - Vaibhav*$16-Jun-14 20:45 
AnswerRe: How to Search a Text into a Database objects Pin
Ravindra Bisen16-Jun-14 21:07
Ravindra Bisen16-Jun-14 21:07 
AnswerRe: How to Search a Text into a Database objects Pin
Richard Deeming17-Jun-14 2:09
mveRichard Deeming17-Jun-14 2:09 
QuestionData Warehouse/SSAS Cube/Reporting and date assistance Pin
Member 1088784816-Jun-14 6:02
Member 1088784816-Jun-14 6:02 
AnswerRe: Data Warehouse/SSAS Cube/Reporting and date assistance Pin
Mycroft Holmes16-Jun-14 12:49
professionalMycroft Holmes16-Jun-14 12:49 
GeneralRe: Data Warehouse/SSAS Cube/Reporting and date assistance Pin
Member 1088784816-Jun-14 22:41
Member 1088784816-Jun-14 22:41 
QuestionORM Rant Pin
Tomaž Štih16-Jun-14 0:55
Tomaž Štih16-Jun-14 0:55 
AnswerRe: ORM Rant Pin
Richard MacCutchan16-Jun-14 3:37
mveRichard MacCutchan16-Jun-14 3:37 

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.