Click here to Skip to main content
15,899,126 members
Home / Discussions / Database
   

Database

 
AnswerRe: ADO.Net 1.1 Command Cancel Pin
ToddHileHoffer24-Jul-06 3:32
ToddHileHoffer24-Jul-06 3:32 
QuestionInsert Database Pin
AnhTin23-Jul-06 23:19
AnhTin23-Jul-06 23:19 
AnswerRe: Insert Database Pin
rah_sin24-Jul-06 0:10
professionalrah_sin24-Jul-06 0:10 
GeneralRe: Insert Database Pin
AnhTin24-Jul-06 0:54
AnhTin24-Jul-06 0:54 
AnswerRe: Insert Database Pin
Eric Dahlvang24-Jul-06 6:03
Eric Dahlvang24-Jul-06 6:03 
GeneralRe: Insert Database [modified] Pin
AnhTin24-Jul-06 17:33
AnhTin24-Jul-06 17:33 
GeneralRe: Insert Database Pin
Eric Dahlvang25-Jul-06 3:10
Eric Dahlvang25-Jul-06 3:10 
QuestionSubquery Pin
Uma Kameswari23-Jul-06 21:05
Uma Kameswari23-Jul-06 21:05 
Hello,
I have two tables users and news. Users table contains a column which consists of keywords seperated by "," e.g "C#,Java,OOPS" and in the news table there is a column description. I should search for keywords in description column.I am using freetext predicate to perform searching.Now my doubt is


I have to search for each user the complete news tables. So I have to write a subquery. I should get the keywords from the user table and submit it to news tables in the freetext predicate. freetext predicate is not allowing me to give a subquery.
i am giving u the query here

select newsid from news where freetext(description,' "C#,java"' )

for the above query I will get the list of newsid where the description contains either c# or Java or both.

now in the above query i should get the keywords dynamically from the users tables for each user.
if i am giving it as below it is giving me error

select newsid from news,users u where freetext(description,select keywords from users where userid = u.userid )

I want to retrieve the data in a single query with the help of subqueries.

Can some one give a solution for this problem.

WIth Regards
Uma


AnswerRe: Subquery Pin
Reza Raad23-Jul-06 21:48
Reza Raad23-Jul-06 21:48 
GeneralRe: Subquery Pin
Uma Kameswari23-Jul-06 21:57
Uma Kameswari23-Jul-06 21:57 
AnswerRe: Subquery Pin
Reza Raad23-Jul-06 23:31
Reza Raad23-Jul-06 23:31 
GeneralRe: Subquery Pin
Uma Kameswari24-Jul-06 1:44
Uma Kameswari24-Jul-06 1:44 
QuestionRegarding DataGrid Pin
dayakar_dn23-Jul-06 20:07
dayakar_dn23-Jul-06 20:07 
AnswerRe: Regarding DataGrid Pin
rah_sin24-Jul-06 0:05
professionalrah_sin24-Jul-06 0:05 
QuestionHow do I display in a textbox a relational database field Pin
Glen Harvy23-Jul-06 19:17
Glen Harvy23-Jul-06 19:17 
AnswerRe: How do I display in a textbox a relational database field Pin
ToddHileHoffer24-Jul-06 3:40
ToddHileHoffer24-Jul-06 3:40 
GeneralRe: How do I display in a textbox a relational database field Pin
Glen Harvy27-Jul-06 23:53
Glen Harvy27-Jul-06 23:53 
QuestionCursor limitations Pin
cmk23-Jul-06 18:23
cmk23-Jul-06 18:23 
AnswerRe: Cursor limitations Pin
Mike Dimmick24-Jul-06 6:11
Mike Dimmick24-Jul-06 6:11 
GeneralRe: Cursor limitations [modified] Pin
cmk24-Jul-06 12:47
cmk24-Jul-06 12:47 
QuestionADO.NET Question Pin
ghost18123-Jul-06 18:09
ghost18123-Jul-06 18:09 
AnswerRe: ADO.NET Question Pin
Mairaaj Khan23-Jul-06 19:06
professionalMairaaj Khan23-Jul-06 19:06 
AnswerRe: ADO.NET Question Pin
Colin Angus Mackay23-Jul-06 20:02
Colin Angus Mackay23-Jul-06 20:02 
GeneralRe: ADO.NET Question Pin
ghost18124-Jul-06 4:01
ghost18124-Jul-06 4:01 
GeneralRe: ADO.NET Question Pin
S Douglas29-Jul-06 21:16
professionalS Douglas29-Jul-06 21:16 

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.