Click here to Skip to main content
15,891,718 members
Home / Discussions / Database
   

Database

 
GeneralRe: conditional select statment Pin
Luc Pattyn6-Mar-09 0:42
sitebuilderLuc Pattyn6-Mar-09 0:42 
GeneralRe: conditional select statment Pin
Rupesh Kumar Swami6-Mar-09 1:07
Rupesh Kumar Swami6-Mar-09 1:07 
Questionhow to encrypt stored procedure. Pin
Manprit.bagga5-Mar-09 18:10
Manprit.bagga5-Mar-09 18:10 
AnswerRe: how to encrypt stored procedure. Pin
Eddy Vluggen6-Mar-09 0:03
professionalEddy Vluggen6-Mar-09 0:03 
QuestionRe: how to encrypt stored procedure. Pin
Manprit.bagga6-Mar-09 23:45
Manprit.bagga6-Mar-09 23:45 
AnswerRe: how to encrypt stored procedure. Pin
Adrian Pasik7-Mar-09 3:44
Adrian Pasik7-Mar-09 3:44 
Questionsql query and index Pin
Shajeel5-Mar-09 17:36
Shajeel5-Mar-09 17:36 
QuestionClient would like to search.... Everything Pin
thrakazog5-Mar-09 14:00
thrakazog5-Mar-09 14:00 
The program I'm working on has a screen full of project data. The client wants to be able to run a "Google like" text search across all the text/lookup fields to return matching projects. Of course they want to be able to search on phrases also, matching all words, some words, etc.

The data is spread across around 10 tables. My first thought was to use Contains() in some capacity, but the db isn't full-text indexed. I'm not sure it would help if it was.

My remaining options seem to be:
1. Concatenate all the string info for each record into a field. Build up a custom select string with multiple Like searches, one for each word in the phrase to search. Run this with exec. Pretty sure the performance will suck on this one.

or

2. Concatenate all the string info for each record into a field. Select this data into a temp table and use a cursor to delete the non-matches for each word in the phrase to search. Pretty sure the performance will suck on this one also.

Are there any options I'm missing or has anyone got any better ideas?
AnswerRe: Client would like to search.... Everything Pin
Eddy Vluggen6-Mar-09 0:01
professionalEddy Vluggen6-Mar-09 0:01 
AnswerRe: Client would like to search.... Everything [modified] Pin
Eddy Vluggen7-Mar-09 3:00
professionalEddy Vluggen7-Mar-09 3:00 
Questionerror? Pin
suni_dotnet5-Mar-09 11:27
suni_dotnet5-Mar-09 11:27 
AnswerRe: error? Pin
Blue_Boy5-Mar-09 13:04
Blue_Boy5-Mar-09 13:04 
GeneralRe: error? Pin
suni_dotnet5-Mar-09 13:24
suni_dotnet5-Mar-09 13:24 
GeneralRe: error? Pin
Blue_Boy5-Mar-09 13:43
Blue_Boy5-Mar-09 13:43 
GeneralRe: error? Pin
suni_dotnet5-Mar-09 13:48
suni_dotnet5-Mar-09 13:48 
GeneralRe: error? Pin
Blue_Boy5-Mar-09 13:50
Blue_Boy5-Mar-09 13:50 
GeneralRe: error? Pin
suni_dotnet5-Mar-09 13:56
suni_dotnet5-Mar-09 13:56 
GeneralRe: error? Pin
Blue_Boy5-Mar-09 14:21
Blue_Boy5-Mar-09 14:21 
GeneralRe: error? Pin
suni_dotnet5-Mar-09 15:39
suni_dotnet5-Mar-09 15:39 
GeneralRe: error? Pin
Blue_Boy5-Mar-09 15:46
Blue_Boy5-Mar-09 15:46 
Questionregister password Pin
cyannaz5-Mar-09 6:42
cyannaz5-Mar-09 6:42 
QuestionRe: register password Pin
cyannaz5-Mar-09 16:11
cyannaz5-Mar-09 16:11 
Questionsp execute problem Pin
Dilum5-Mar-09 6:20
Dilum5-Mar-09 6:20 
AnswerRe: sp execute problem Pin
Rami Said Abd Alhalim9-Mar-09 22:03
Rami Said Abd Alhalim9-Mar-09 22:03 
QuestionFilling a table with select statement Pin
Muammar©5-Mar-09 1:59
Muammar©5-Mar-09 1:59 

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.