Click here to Skip to main content
15,918,108 members
Home / Discussions / Database
   

Database

 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
yogesh_kumar_agarwal29-Feb-08 18:58
yogesh_kumar_agarwal29-Feb-08 18:58 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
pmarfleet29-Feb-08 23:04
pmarfleet29-Feb-08 23:04 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
yogesh_kumar_agarwal29-Feb-08 23:28
yogesh_kumar_agarwal29-Feb-08 23:28 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
pmarfleet1-Mar-08 0:30
pmarfleet1-Mar-08 0:30 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
yogesh_kumar_agarwal1-Mar-08 0:41
yogesh_kumar_agarwal1-Mar-08 0:41 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
laziale1-Mar-08 0:08
laziale1-Mar-08 0:08 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
papadimitriou1-Mar-08 12:57
papadimitriou1-Mar-08 12:57 
GeneralProximity search - Full Text Index Search Pin
Arindam Tewary29-Feb-08 1:54
professionalArindam Tewary29-Feb-08 1:54 
Hi
I have several PDF document uploaded to database SQL Server 2005.

I want to see how many PDF document contains word "technology" and "agreement" within a maximum of 5 word difference.

"Near" clause in CONTAIN finction provides a way to get all document where I can get "technology" and "agreement" is nearby.

But restrcting proximity within 5 word is the main problem.

Following is my query that fetches all DocIDs where word "Technology" is followed by "Agreement" (Does not restrict Agreement word follows within 5 word of "Technology")

SELECT count(DocID)
FROM tblDoc
WHERE CONTAINS(DocContent, 'Technology NEAR Agreement');
GO

I want to get those DocID, which is having "technology" and "Agreement" within 5 words.

Any help is appreciated.

Thanks in advance

Thanks,
Arindam D Tewary

GeneralGet all records from a recursive table Pin
Khawar Abbas129-Feb-08 1:27
Khawar Abbas129-Feb-08 1:27 
GeneralRe: Get all records from a recursive table Pin
Giorgi Dalakishvili29-Feb-08 1:45
mentorGiorgi Dalakishvili29-Feb-08 1:45 
GeneralSQL Server CE "IF" Problem Pin
Jacquers29-Feb-08 0:55
Jacquers29-Feb-08 0:55 
GeneralRe: SQL Server CE "IF" Problem Pin
Mike Dimmick3-Mar-08 3:15
Mike Dimmick3-Mar-08 3:15 
GeneralRe: SQL Server CE "IF" Problem Pin
Jacquers3-Mar-08 6:24
Jacquers3-Mar-08 6:24 
Questionhow to use crytal report with vb? Pin
sejal_tank29-Feb-08 0:41
sejal_tank29-Feb-08 0:41 
GeneralRe: how to use crytal report with vb? Pin
yogesh_kumar_agarwal29-Feb-08 0:52
yogesh_kumar_agarwal29-Feb-08 0:52 
Generaldatabinding textbox to a database Pin
laziale28-Feb-08 23:04
laziale28-Feb-08 23:04 
GeneralRe: databinding textbox to a database Pin
Joe28-Feb-08 23:13
Joe28-Feb-08 23:13 
GeneralRe: databinding textbox to a database Pin
laziale28-Feb-08 23:26
laziale28-Feb-08 23:26 
GeneralRe: databinding textbox to a database Pin
yogesh_kumar_agarwal29-Feb-08 0:09
yogesh_kumar_agarwal29-Feb-08 0:09 
GeneralRe: databinding textbox to a database Pin
laziale29-Feb-08 0:28
laziale29-Feb-08 0:28 
GeneralRe: databinding textbox to a database Pin
yogesh_kumar_agarwal29-Feb-08 0:57
yogesh_kumar_agarwal29-Feb-08 0:57 
GeneralRe: databinding textbox to a database Pin
laziale29-Feb-08 1:20
laziale29-Feb-08 1:20 
GeneralInserting strings that contains comma Pin
Deques28-Feb-08 21:33
Deques28-Feb-08 21:33 
GeneralRe: Inserting strings that contains comma Pin
Colin Angus Mackay28-Feb-08 21:44
Colin Angus Mackay28-Feb-08 21:44 
Generalsearch the data using GSM modem Pin
ieyra20428-Feb-08 17:59
ieyra20428-Feb-08 17:59 

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.