Click here to Skip to main content
15,920,217 members
Home / Discussions / Database
   

Database

 
AnswerRe: Import Export Wizard problem Pin
Robin_Roy2-Dec-09 19:01
Robin_Roy2-Dec-09 19:01 
QuestionEscape character for hyphen in SQL Pin
hvgyufg28fh38tyr78hf1-Dec-09 20:44
hvgyufg28fh38tyr78hf1-Dec-09 20:44 
AnswerRe: Escape character for hyphen in SQL Pin
Niladri_Biswas1-Dec-09 21:44
Niladri_Biswas1-Dec-09 21:44 
QuestionReturn value from a stored procedure Pin
Member 42602701-Dec-09 19:45
Member 42602701-Dec-09 19:45 
AnswerRe: Return value from a stored procedure Pin
_Damian S_1-Dec-09 19:58
professional_Damian S_1-Dec-09 19:58 
GeneralRe: Return value from a stored procedure Pin
Member 42602701-Dec-09 20:37
Member 42602701-Dec-09 20:37 
AnswerRe: Return value from a stored procedure Pin
Andy_L_J1-Dec-09 20:07
Andy_L_J1-Dec-09 20:07 
Questionsearching problem in SQL server 2005 Pin
hvgyufg28fh38tyr78hf1-Dec-09 18:47
hvgyufg28fh38tyr78hf1-Dec-09 18:47 
hai all

i am facing some problem in SQL.I am searching the one string(ex.roll-over) in table
its returning wrong results.
my table contains,

dable datas
table_1 is table name
number1 text1
1 notify us the day you roll check over.
2 notify us theday you roll check .
3 notify us the day you roll check roll-over.
4 notify us the day you roll check roll over.


my query is
select * from table_1 WHERE CONTAINS(text1, '"roll-over"')
select * from table_1 WHERE CONTAINS(text1, 'roll-over')

in both case i am getting below results.
results
number1 text1
1 notify us the day you roll check over.
2 notify us theday you roll check .
3 notify us the day you roll check roll-over.
4 notify us the day you roll check roll over.

here it should return only one result insted of four.
is there any thing wrong in Query if not can any one help to from the correct query.
i think Bcoz os hyphen the result is returinig either roll or over presents.


thanks
mahe
AnswerRe: searching problem in SQL server 2005 Pin
_Damian S_1-Dec-09 19:02
professional_Damian S_1-Dec-09 19:02 
GeneralRe: searching problem in SQL server 2005 Pin
hvgyufg28fh38tyr78hf1-Dec-09 19:39
hvgyufg28fh38tyr78hf1-Dec-09 19:39 
GeneralRe: searching problem in SQL server 2005 Pin
Mycroft Holmes1-Dec-09 22:00
professionalMycroft Holmes1-Dec-09 22:00 
QuestionRegarding replication of image type data between two database servers Pin
Dhisni De Costa1-Dec-09 17:29
Dhisni De Costa1-Dec-09 17:29 
Questionquery needed to swap column values for duplicate Pin
xcavin1-Dec-09 13:26
xcavin1-Dec-09 13:26 
AnswerRe: query needed to swap column values for duplicate Pin
_Damian S_1-Dec-09 13:48
professional_Damian S_1-Dec-09 13:48 
GeneralRe: query needed to swap column values for duplicate Pin
xcavin1-Dec-09 13:59
xcavin1-Dec-09 13:59 
GeneralRe: query needed to swap column values for duplicate Pin
_Damian S_1-Dec-09 14:05
professional_Damian S_1-Dec-09 14:05 
GeneralRe: query needed to swap column values for duplicate Pin
Luc Pattyn1-Dec-09 15:06
sitebuilderLuc Pattyn1-Dec-09 15:06 
GeneralRe: query needed to swap column values for duplicate Pin
_Damian S_1-Dec-09 15:58
professional_Damian S_1-Dec-09 15:58 
QuestionTransposing rows and Columns in SQL Pin
Leo Smith1-Dec-09 8:05
Leo Smith1-Dec-09 8:05 
AnswerRe: Transposing rows and Columns in SQL Pin
Niladri_Biswas1-Dec-09 15:54
Niladri_Biswas1-Dec-09 15:54 
Questionuser import Pin
AndyInUK1-Dec-09 6:30
AndyInUK1-Dec-09 6:30 
AnswerRe: user import Pin
loyal ginger1-Dec-09 6:44
loyal ginger1-Dec-09 6:44 
GeneralRe: user import Pin
AndyInUK1-Dec-09 22:08
AndyInUK1-Dec-09 22:08 
GeneralRe: user import Pin
loyal ginger2-Dec-09 3:43
loyal ginger2-Dec-09 3:43 
AnswerRe: user import Pin
Shameel1-Dec-09 6:56
professionalShameel1-Dec-09 6:56 

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.