Hello,
I needed some simple help in SQL Server, given below are my two questions.
I am looking at making a SQL Server Procedure which uses cursors to detect some data entry
1) I have a query joining two or three tables and returning me a list of rows. I would like to compare the Name column in this list using a like operator and report back any names which are similar. How can this be done ? If possible please send me a brief skeletal code to do the same.
2) I am using a query to join names of employees with languages they speak. The query works fine but for employees who speak more than 1 language, the record gets repeated with a new line for every new language they speak, instead of doing this, I would like to concatenate their languages in 1 column and report back 1 row per employee. Is this possible ?
If yes please send me the brief skeletal code to do this on faizq@yahoo.com
Thanks
Irfan
- Changed type pituachModerator 3 hours 16 minutes ago this is a question