Click here to Skip to main content
15,914,905 members
Home / Discussions / Database
   

Database

 
AnswerRe: identity column Pin
Ganu Sharma22-Sep-11 3:03
Ganu Sharma22-Sep-11 3:03 
Questionload array data to dataset Pin
jashimu16-Jun-10 10:12
jashimu16-Jun-10 10:12 
AnswerRe: load array data to dataset Pin
Dr.Walt Fair, PE16-Jun-10 10:38
professionalDr.Walt Fair, PE16-Jun-10 10:38 
GeneralRe: load array data to dataset Pin
jashimu17-Jun-10 3:13
jashimu17-Jun-10 3:13 
GeneralRe: load array data to dataset Pin
Steven J Jowett17-Jun-10 3:40
Steven J Jowett17-Jun-10 3:40 
QuestionHow to avoid same ranks while doing a FULLTEXT Pin
jophinmichael16-Jun-10 7:17
jophinmichael16-Jun-10 7:17 
AnswerRe: How to avoid same ranks while doing a FULLTEXT Pin
Scubapro17-Jun-10 1:38
Scubapro17-Jun-10 1:38 
GeneralRe: How to avoid same ranks while doing a FULLTEXT Pin
jophinmichael18-Jun-10 2:53
jophinmichael18-Jun-10 2:53 
Hi Scubapro,

Select t.*,k.[Rank]
From table1 t
Join Containstable(table1, column3, 'abcd|efgh|ijkl|mnop') As k On t.Id = k.[Key]
Order By k.[Rank] DESC

column1 column2 column3 Rank
1 asdc abcd|efgh|ijkl|mnop 99
2 asdad abcd|efgh|ijkl 99
3 cdsdfc abcd 80
4 efsef abcd|efgh 30
5 asasda abcd|efgh|ijkl 30
6 dsas abcd|efgh|ijkl|mnop 30

I am not able to do an order by for the column3 because its data type is ntext.
My actual requirement is that row1 and row2 should not have equal ranks because,Row1 is an exact match and Row2 is not.
It is fine for me if, Rank of Row2=Rank of Row5 and Rank of Row1=Rank of Row6 because they are having equal values for column3.

Kind Regards

jophin
GeneralRe: How to avoid same ranks while doing a FULLTEXT Pin
Scubapro18-Jun-10 3:51
Scubapro18-Jun-10 3:51 
GeneralRe: How to avoid same ranks while doing a FULLTEXT Pin
jophinmichael24-Jun-10 3:58
jophinmichael24-Jun-10 3:58 
QuestionOracle 10g: Does query with no where caluse always do table scan Pin
lswrcmh16-Jun-10 2:16
lswrcmh16-Jun-10 2:16 
AnswerRe: Oracle 10g: Does query with no where caluse always do table scan Pin
David Mujica16-Jun-10 2:34
David Mujica16-Jun-10 2:34 
AnswerRe: Oracle 10g: Does query with no where caluse always do table scan Pin
Chris Meech16-Jun-10 2:35
Chris Meech16-Jun-10 2:35 
GeneralRe: Oracle 10g: Does query with no where caluse always do table scan Pin
lswrcmh16-Jun-10 2:55
lswrcmh16-Jun-10 2:55 
GeneralRe: Oracle 10g: Does query with no where caluse always do table scan Pin
Chris Meech16-Jun-10 3:18
Chris Meech16-Jun-10 3:18 
GeneralRe: Oracle 10g: Does query with no where caluse always do table scan Pin
lswrcmh16-Jun-10 4:03
lswrcmh16-Jun-10 4:03 
GeneralRe: Oracle 10g: Does query with no where caluse always do table scan Pin
Chris Meech16-Jun-10 4:20
Chris Meech16-Jun-10 4:20 
GeneralRe: Oracle 10g: Does query with no where caluse always do table scan Pin
lswrcmh16-Jun-10 3:30
lswrcmh16-Jun-10 3:30 
GeneralRe: Oracle 10g: Does query with no where caluse always do table scan Pin
Bernhard Hiller17-Jun-10 4:56
Bernhard Hiller17-Jun-10 4:56 
GeneralRe: Oracle 10g: Does query with no where caluse always do table scan Pin
Chris Meech17-Jun-10 6:17
Chris Meech17-Jun-10 6:17 
QuestionSQL2000, XML Pin
kaasir_215-Jun-10 3:49
kaasir_215-Jun-10 3:49 
AnswerRe: SQL2000, XML Pin
Eddy Vluggen15-Jun-10 5:41
professionalEddy Vluggen15-Jun-10 5:41 
GeneralRe: SQL2000, XML Pin
kaasir_215-Jun-10 21:45
kaasir_215-Jun-10 21:45 
GeneralRe: SQL2000, XML Pin
Eddy Vluggen15-Jun-10 21:57
professionalEddy Vluggen15-Jun-10 21:57 
GeneralRe: SQL2000, XML Pin
kaasir_215-Jun-10 22:50
kaasir_215-Jun-10 22:50 

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.