Click here to Skip to main content
15,896,063 members
Home / Discussions / Database
   

Database

 
Questionsearch from multiple tables Pin
test-0913-Apr-10 21:17
test-0913-Apr-10 21:17 
AnswerRe: search from multiple tables Pin
www.Developerof.NET13-Apr-10 21:50
www.Developerof.NET13-Apr-10 21:50 
AnswerRe: search from multiple tables Pin
Mycroft Holmes13-Apr-10 22:38
professionalMycroft Holmes13-Apr-10 22:38 
GeneralRe: search from multiple tables Pin
test-0913-Apr-10 22:54
test-0913-Apr-10 22:54 
GeneralRe: search from multiple tables Pin
Mycroft Holmes13-Apr-10 23:06
professionalMycroft Holmes13-Apr-10 23:06 
GeneralRe: search from multiple tables Pin
test-0913-Apr-10 23:12
test-0913-Apr-10 23:12 
GeneralRe: search from multiple tables Pin
Mycroft Holmes13-Apr-10 23:38
professionalMycroft Holmes13-Apr-10 23:38 
AnswerRe: search from multiple tables Pin
Eddy Vluggen14-Apr-10 5:37
professionalEddy Vluggen14-Apr-10 5:37 
test-09 wrote:
Now i need to search columns from 5 tables How can i do it....

One alternative would be to build some views, consisting of a tablename, columnname and a varchar representing the value. Create a union of those views to search all columns with a single select-statement and the LIKE operator.

What database are you using? If you're on Sql Express, have you considered using the Full Text Search[^] component?
I are Troll Suspicious | :suss:

QuestionConcatenating all fields in a resultset Pin
Dewald13-Apr-10 4:46
Dewald13-Apr-10 4:46 
AnswerRe: Concatenating all fields in a resultset Pin
David Mujica13-Apr-10 5:33
David Mujica13-Apr-10 5:33 
GeneralRe: Concatenating all fields in a resultset Pin
Dewald13-Apr-10 21:01
Dewald13-Apr-10 21:01 
AnswerRe: Concatenating all fields in a resultset Pin
Mycroft Holmes13-Apr-10 22:35
professionalMycroft Holmes13-Apr-10 22:35 
GeneralRe: Concatenating all fields in a resultset Pin
Dewald14-Apr-10 0:38
Dewald14-Apr-10 0:38 
GeneralRe: Concatenating all fields in a resultset Pin
Mycroft Holmes14-Apr-10 2:06
professionalMycroft Holmes14-Apr-10 2:06 
QuestionWhat is the Best Approach for this Request Pin
Vimalsoft(Pty) Ltd13-Apr-10 0:56
professionalVimalsoft(Pty) Ltd13-Apr-10 0:56 
AnswerRe: What is the Best Approach for this Request Pin
Mycroft Holmes13-Apr-10 2:37
professionalMycroft Holmes13-Apr-10 2:37 
GeneralRe: What is the Best Approach for this Request Pin
Vimalsoft(Pty) Ltd13-Apr-10 2:54
professionalVimalsoft(Pty) Ltd13-Apr-10 2:54 
GeneralRe: What is the Best Approach for this Request Pin
Mycroft Holmes13-Apr-10 4:15
professionalMycroft Holmes13-Apr-10 4:15 
GeneralRe: What is the Best Approach for this Request Pin
Vimalsoft(Pty) Ltd13-Apr-10 4:17
professionalVimalsoft(Pty) Ltd13-Apr-10 4:17 
QuestionFamily Tree Database Pin
vdtrip12-Apr-10 10:06
vdtrip12-Apr-10 10:06 
AnswerRe: Family Tree Database Pin
Jörgen Andersson12-Apr-10 11:51
professionalJörgen Andersson12-Apr-10 11:51 
AnswerRe: Family Tree Database Pin
Mycroft Holmes12-Apr-10 14:18
professionalMycroft Holmes12-Apr-10 14:18 
GeneralRe: Family Tree Database Pin
vdtrip13-Apr-10 1:43
vdtrip13-Apr-10 1:43 
GeneralRe: Family Tree Database Pin
J4amieC13-Apr-10 2:11
J4amieC13-Apr-10 2:11 
GeneralRe: Family Tree Database Pin
Mycroft Holmes13-Apr-10 2:30
professionalMycroft Holmes13-Apr-10 2:30 

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.