Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search by each word in a phrase
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01331706
Message ID:
01331809
Views:
9
>>And how you could recognize what are you searching if you pass just a list?
>>Are '12345678, 555577777' ZIP codes or phones or both?
>>Why not build the whole SELECT at your front end with proper WHERE clause and the send it to SQL Server?
>>You know where the user enters the search word and know what type is it, ZIP, Phone, Address1 or 2, names
>>
>>But use parameters:
>>
>>lcSELECT = [SELECT .... FROM People WHERE ]
>>** Now because you know WHAT user wants
>>lcSELECT = lcSELECT + [ Zip = ?Par1]
>>etc.
>>
>
>There is only one search textbox and the user may type anything he/she desires. Pretty much the same as here.

yes, but you could search only by ONE type, try with: Boris MicroComplex and you will get no result.
So you have ONE parameter to pass to you SP :-)
And Michel as far as I know use Full-Text search :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform