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

Database

 
GeneralRe: How to search all columns of all tables in a database for a keyword? ( based on indexes) Pin
shaik abdul gani12-Dec-08 15:06
shaik abdul gani12-Dec-08 15:06 
GeneralRe: How to search all columns of all tables in a database for a keyword? ( based on indexes) Pin
Wendelius13-Dec-08 9:44
mentorWendelius13-Dec-08 9:44 
GeneralRe: How to search all columns of all tables in a database for a keyword? ( based on indexes) Pin
shaik abdul gani14-Dec-08 18:54
shaik abdul gani14-Dec-08 18:54 
GeneralRe: How to search all columns of all tables in a database for a keyword? ( based on indexes) Pin
Ashfield14-Dec-08 21:34
Ashfield14-Dec-08 21:34 
GeneralRe: How to search all columns of all tables in a database for a keyword? ( based on indexes) Pin
shaik abdul gani14-Dec-08 22:06
shaik abdul gani14-Dec-08 22:06 
GeneralRe: How to search all columns of all tables in a database for a keyword? ( based on indexes) Pin
Ashfield15-Dec-08 1:37
Ashfield15-Dec-08 1:37 
GeneralRe: How to search all columns of all tables in a database for a keyword? ( based on indexes) Pin
Wendelius15-Dec-08 5:30
mentorWendelius15-Dec-08 5:30 
GeneralRe: How to search all columns of all tables in a database for a keyword? ( based on indexes) Pin
Wendelius15-Dec-08 5:26
mentorWendelius15-Dec-08 5:26 
shaik abdul gani wrote:
we dont know what the user will type and want to search there is no constant keywords predefined


Then why don't you build the index for all words? When adding or updating the data in the database, check all varchar columns and separate all words from them. After that, add them to your index table(s) and apply references to the row containing the data.

If you want to do this in the db, I think it's just modelling question.

Another good approach is the one Bob provided if you can take this to application level.

The need to optimize rises from a bad design.My articles[^]

GeneralRe: How to search all columns of all tables in a database for a keyword? ( based on indexes) Pin
shaik abdul gani15-Dec-08 23:53
shaik abdul gani15-Dec-08 23:53 
GeneralRe: How to search all columns of all tables in a database for a keyword? ( based on indexes) Pin
emiaj15-Dec-08 5:31
emiaj15-Dec-08 5:31 
QuestionInsertion Pin
kirandilip12-Dec-08 0:36
kirandilip12-Dec-08 0:36 
AnswerRe: Insertion Pin
Vimalsoft(Pty) Ltd12-Dec-08 0:59
professionalVimalsoft(Pty) Ltd12-Dec-08 0:59 
GeneralRe: Insertion Pin
Oakman12-Dec-08 2:14
Oakman12-Dec-08 2:14 
QuestionSQL Question Statement "With" Pin
Vimalsoft(Pty) Ltd11-Dec-08 23:02
professionalVimalsoft(Pty) Ltd11-Dec-08 23:02 
AnswerRe: SQL Question Statement "With" Pin
Ashfield12-Dec-08 1:19
Ashfield12-Dec-08 1:19 
GeneralRe: SQL Question Statement "With" Pin
Vimalsoft(Pty) Ltd12-Dec-08 1:22
professionalVimalsoft(Pty) Ltd12-Dec-08 1:22 
GeneralRe: SQL Question Statement "With" Pin
Ashfield12-Dec-08 3:59
Ashfield12-Dec-08 3:59 
QuestionProblem Regarding Cursor Pin
ais0711-Dec-08 22:56
ais0711-Dec-08 22:56 
AnswerRe: Problem Regarding Cursor Pin
Jay Royall11-Dec-08 23:34
Jay Royall11-Dec-08 23:34 
GeneralRe: Problem Regarding Cursor Pin
ais0711-Dec-08 23:39
ais0711-Dec-08 23:39 
GeneralRe: Problem Regarding Cursor Pin
Jay Royall11-Dec-08 23:46
Jay Royall11-Dec-08 23:46 
GeneralRe: Problem Regarding Cursor Pin
ais0711-Dec-08 23:48
ais0711-Dec-08 23:48 
GeneralRe: Problem Regarding Cursor Pin
Vimalsoft(Pty) Ltd12-Dec-08 1:10
professionalVimalsoft(Pty) Ltd12-Dec-08 1:10 
AnswerRe: Problem Regarding Cursor Pin
Ashfield12-Dec-08 1:21
Ashfield12-Dec-08 1:21 
AnswerRe: Problem Regarding Cursor Pin
Mycroft Holmes12-Dec-08 22:28
professionalMycroft Holmes12-Dec-08 22:28 

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.