ukerandi
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)
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)
Define 'above special characters', and please give us a before and after data set of what you're trying to pull off here.
ASKER
sorry above special characters are
', / ( ) . "
', / ( ) . "
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.