Click here to Skip to main content
15,886,799 members
Home / Discussions / Database
   

Database

 
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 
AnswerRe: Client would like to search.... Everything Pin
Eddy Vluggen6-Mar-09 0:01
professionalEddy Vluggen6-Mar-09 0:01 
thrakazog wrote:
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.


Well, it ranges from sucky to extremely sucky, depending on the implementation. I'm hoping to write an article about this topic in the weekend Smile | :)

A fast tip; why not create a shadow-table that holds the same columns, as varchar-types? It's a lot faster than converting everything on the fly, and you can let the server insert a varchar-record with a trigger from the original table.

Good luck Smile | :)

I are troll Smile | :)

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 
AnswerRe: Filling a table with select statement Pin
Blue_Boy5-Mar-09 2:27
Blue_Boy5-Mar-09 2:27 

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.