Link to home
Start Free TrialLog in
Avatar of ukerandi
ukerandiFlag for United Kingdom of Great Britain and Northern Ireland

asked on

T-sql Search results issue

Hi All,
I used following code to group data and insert into the  Drop down box to search records via users. But im not
getting correct output. i guess because of special characters. i just wondering how to use search  without deleting above
special characters. Any idea appreciate.

Drop down box - sql code
select [Company Name] From database1 GROUP BY [Company Name]


Search code

select [Company Name],Name,[Address 1],[Address 2],[City] From database1  WHERE [Company Name] IN(@CompanyName)
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

Define 'above special characters', and please give us a before and after data set of what you're trying to pull off here.
Avatar of ukerandi

ASKER

sorry above special characters are
', / ( ) . "
ASKER CERTIFIED SOLUTION
Avatar of Olaf Doschke
Olaf Doschke
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial