Click here to Skip to main content
15,911,896 members
Home / Discussions / Database
   

Database

 
AnswerRe: get the difference between two dates Pin
Colin Angus Mackay23-Oct-06 2:34
Colin Angus Mackay23-Oct-06 2:34 
AnswerRe: get the difference between two dates [additional] Pin
Colin Angus Mackay23-Oct-06 2:39
Colin Angus Mackay23-Oct-06 2:39 
Questionno of rows in sql stored procedure Pin
Sakshi Smriti22-Oct-06 20:11
Sakshi Smriti22-Oct-06 20:11 
AnswerRe: no of rows in sql stored procedure Pin
Edbert P22-Oct-06 21:32
Edbert P22-Oct-06 21:32 
GeneralRe: no of rows in sql stored procedure Pin
Sakshi Smriti23-Oct-06 0:04
Sakshi Smriti23-Oct-06 0:04 
QuestionSQL 2005 xml record.value function with pattern matching Pin
Omkar Ghaisas20-Oct-06 9:52
Omkar Ghaisas20-Oct-06 9:52 
Questionself join/ select question Pin
Elina Blank20-Oct-06 8:58
sitebuilderElina Blank20-Oct-06 8:58 
AnswerRe: self join/ select question Pin
Eric Dahlvang20-Oct-06 11:06
Eric Dahlvang20-Oct-06 11:06 
There might be a better way, but this will work:

specified keywords='C++','C#','ASP'
the where clause of the outer query will need to have the TotalWords = the number of specified keywords (3 in this case).

select itemid from (select count(*) as TotalWords, itemid
			from item_keyword ik inner join keyword k on ik.keywordid = k.keywordid 
			where k.keyword in(<code>'C++','C#','ASP'</code>)
			group by itemid) as tbl 
<code>where TotalWords = 3</code>




--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters

QuestionRe: self join/ select question Pin
Elina Blank20-Oct-06 12:03
sitebuilderElina Blank20-Oct-06 12:03 
AnswerRe: self join/ select question Pin
Eric Dahlvang23-Oct-06 2:56
Eric Dahlvang23-Oct-06 2:56 
GeneralRe: self join/ select question Pin
Elina Blank23-Oct-06 3:53
sitebuilderElina Blank23-Oct-06 3:53 
QuestionWin Service and Stored Procedure Pin
xfitr220-Oct-06 5:46
xfitr220-Oct-06 5:46 
QuestionSQL / ODBC problem Pin
Alice@mywonderland20-Oct-06 4:10
Alice@mywonderland20-Oct-06 4:10 
QuestionTimeout expired Problem ???? Pin
devboycpp20-Oct-06 1:42
devboycpp20-Oct-06 1:42 
AnswerRe: Timeout expired Problem ???? Pin
Colin Angus Mackay20-Oct-06 2:34
Colin Angus Mackay20-Oct-06 2:34 
GeneralRe: Timeout expired Problem ???? Pin
devboycpp20-Oct-06 3:09
devboycpp20-Oct-06 3:09 
GeneralRe: Timeout expired Problem ???? Pin
Michael P Butler22-Oct-06 8:52
Michael P Butler22-Oct-06 8:52 
QuestionCrystal Report not showing any Data Pin
MullahOmer19-Oct-06 23:18
MullahOmer19-Oct-06 23:18 
QuestionTesting purpose Pin
rahuljosh007200019-Oct-06 22:33
rahuljosh007200019-Oct-06 22:33 
AnswerRe: Testing purpose Pin
Colin Angus Mackay19-Oct-06 23:25
Colin Angus Mackay19-Oct-06 23:25 
GeneralRe: Testing purpose Pin
Jerry Hammond20-Oct-06 8:35
Jerry Hammond20-Oct-06 8:35 
QuestionQuery Sloving Problem Pin
Syed Shahid Hussain19-Oct-06 22:06
Syed Shahid Hussain19-Oct-06 22:06 
AnswerRe: Query Sloving Problem Pin
andyharman27-Oct-06 3:03
professionalandyharman27-Oct-06 3:03 
QuestionHow to shift My Sql data to Sql Server Pin
srilu nagalla19-Oct-06 20:49
srilu nagalla19-Oct-06 20:49 
AnswerRe: How to shift My Sql data to Sql Server Pin
Edbert P19-Oct-06 21:11
Edbert P19-Oct-06 21:11 

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.