Click here to Skip to main content
15,891,184 members
Home / Discussions / Database
   

Database

 
GeneralRe: Row ID after INSERT to database Pin
Abyss24-Mar-05 3:38
Abyss24-Mar-05 3:38 
GeneralRe: Row ID after INSERT to database Pin
Jeff Martin24-Mar-05 4:06
Jeff Martin24-Mar-05 4:06 
GeneralRe: Row ID after INSERT to database Pin
Jeff Martin24-Mar-05 3:15
Jeff Martin24-Mar-05 3:15 
GeneralRe: Row ID after INSERT to database Pin
Abyss24-Mar-05 3:45
Abyss24-Mar-05 3:45 
GeneralRe: Row ID after INSERT to database Pin
Jeff Martin24-Mar-05 4:08
Jeff Martin24-Mar-05 4:08 
QuestionColin Angus Mackay ???? Pin
WDI22-Mar-05 9:11
WDI22-Mar-05 9:11 
AnswerRe: Colin Angus Mackay ???? Pin
Jeff Martin22-Mar-05 9:57
Jeff Martin22-Mar-05 9:57 
GeneralRe: Colin Angus Mackay ???? Pin
WDI22-Mar-05 10:34
WDI22-Mar-05 10:34 
This is exact problem :

I have a RDBMS and i want to search and get query . This is a database about document archiving. Each document may have several subject

(as subjectID in DocumentView,a View for filtering , quering and searching ).

In the application the end user can select many subject and gets the documents in two ways:

#1 . Documents that their subjects are X1 OR X2 OR ... OR Xn.

In this case, documents that may have one or more subject in the selected subjects.For example if user selects A , B , G , U as selected subjects

he gets document result set that their subjects are A OR B OR G OR U . I pass the IDs of selcted subjects to stored procedure as nvarchar

( select * from DocumentView where subjectID in ( 1,12,14,18 ) ) that 1,12,14,18 are ID of A,B,G,U respectivly.



#2 . Documents that their subjects are X1 AND X2 AND ... AND Xn.

For example if user selects A , B , G , U as selected subjects ,in this case user must recieve documents that their subjects are A AND B AND G AND U only.



QuestionColin Angus Mackay ???? Pin
WDI22-Mar-05 9:08
WDI22-Mar-05 9:08 
AnswerRe: Colin Angus Mackay ???? Pin
anonymous19823-Mar-05 9:18
anonymous19823-Mar-05 9:18 
GeneralSql stored procedure vs triggers vs functions Pin
jinnyb22-Mar-05 5:55
jinnyb22-Mar-05 5:55 
GeneralRe: Sql stored procedure vs triggers vs functions Pin
Colin Angus Mackay22-Mar-05 7:13
Colin Angus Mackay22-Mar-05 7:13 
GeneralRe: Sql stored procedure vs triggers vs functions Pin
jinnyb22-Mar-05 9:34
jinnyb22-Mar-05 9:34 
GeneralRe: Sql stored procedure vs triggers vs functions Pin
Edbert P22-Mar-05 18:53
Edbert P22-Mar-05 18:53 
GeneralADO inside win32 services goes boom Pin
Peter Mares22-Mar-05 3:08
Peter Mares22-Mar-05 3:08 
GeneralRe: ADO inside win32 services goes boom Pin
Chris Austin22-Mar-05 17:25
Chris Austin22-Mar-05 17:25 
GeneralRe: ADO inside win32 services goes boom Pin
Peter Mares22-Mar-05 19:51
Peter Mares22-Mar-05 19:51 
GeneralQuery Date Field Type In Access Pin
Tunde Ajibawo22-Mar-05 0:16
Tunde Ajibawo22-Mar-05 0:16 
GeneralRe: Query Date Field Type In Access Pin
Colin Angus Mackay22-Mar-05 7:14
Colin Angus Mackay22-Mar-05 7:14 
GeneralRe: Query Date Field Type In Access Pin
Edbert P22-Mar-05 18:55
Edbert P22-Mar-05 18:55 
GeneralRe: Query Date Field Type In Access Pin
Tunde Ajibawo22-Mar-05 22:09
Tunde Ajibawo22-Mar-05 22:09 
GeneralRe: Query Date Field Type In Access Pin
Edbert P23-Mar-05 11:07
Edbert P23-Mar-05 11:07 
GeneralPackage And Deployment Wizard Pin
Salman Sheikh21-Mar-05 22:48
Salman Sheikh21-Mar-05 22:48 
GeneralRe: Package And Deployment Wizard Pin
rwestgraham22-Mar-05 10:58
rwestgraham22-Mar-05 10:58 
Generaldataset or datareader Pin
jinnyb21-Mar-05 20:41
jinnyb21-Mar-05 20:41 

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.