Click here to Skip to main content
15,907,906 members
Home / Discussions / Database
   

Database

 
GeneralRe: Invalid column name error? Pin
cdietschrun4-Aug-09 4:50
cdietschrun4-Aug-09 4:50 
GeneralRe: Invalid column name error? Pin
cdietschrun4-Aug-09 4:58
cdietschrun4-Aug-09 4:58 
GeneralRe: Invalid column name error? [modified] Pin
Blue_Boy4-Aug-09 5:40
Blue_Boy4-Aug-09 5:40 
QuestionHow to edit Dataset value (NOT DATA GRID) Pin
sacr834-Aug-09 0:12
sacr834-Aug-09 0:12 
AnswerRe: How to edit Dataset value (NOT DATA GRID) Pin
Kschuler4-Aug-09 3:14
Kschuler4-Aug-09 3:14 
GeneralRe: How to edit Dataset value (NOT DATA GRID) Pin
sacr835-Aug-09 20:21
sacr835-Aug-09 20:21 
AnswerRe: How to edit Dataset value (NOT DATA GRID) Pin
Andy_L_J4-Aug-09 9:38
Andy_L_J4-Aug-09 9:38 
Questionsql server comparing two huge tables Pin
ps_prakash023-Aug-09 21:26
ps_prakash023-Aug-09 21:26 
Hi Guys,

I'm in need of your help.

my problem is, i have two tables namely MASTER and LINECONTENT.

"MASTER" table contains 5,00,000 records,
The columns in MASTER table is
masterid int, masterdesc varchar(1000).

"LINECONTENT" table contains more than 1000 records &
its columns are pageno int, lineno int, content varchar(2000).

I want to compare each row of "MASTER" table, masterdesc column value with the "LINECONTENT" table content column,
If any records matched i want to take the matched master record and store it in another table.

for this i used the below query.

select b.* from linecontent a
join master b on a.content like '%'+b.masterdesc+'%'

but this query is taking much. more than 15 minutes
i want to decrease the time give me some suggestions handle this problem

thank you
regards,
prakash
AnswerRe: sql server comparing two huge tables Pin
Mycroft Holmes3-Aug-09 23:18
professionalMycroft Holmes3-Aug-09 23:18 
GeneralRe: sql server comparing two huge tables Pin
ps_prakash023-Aug-09 23:50
ps_prakash023-Aug-09 23:50 
GeneralRe: sql server comparing two huge tables Pin
David Skelly4-Aug-09 2:10
David Skelly4-Aug-09 2:10 
GeneralRe: sql server comparing two huge tables Pin
ps_prakash024-Aug-09 2:26
ps_prakash024-Aug-09 2:26 
GeneralRe: sql server comparing two huge tables Pin
David Skelly4-Aug-09 6:20
David Skelly4-Aug-09 6:20 
GeneralRe: sql server comparing two huge tables Pin
Mycroft Holmes4-Aug-09 16:12
professionalMycroft Holmes4-Aug-09 16:12 
GeneralRe: sql server comparing two huge tables Pin
ps_prakash024-Aug-09 17:44
ps_prakash024-Aug-09 17:44 
GeneralRe: sql server comparing two huge tables Pin
ps_prakash024-Aug-09 17:39
ps_prakash024-Aug-09 17:39 
GeneralRe: sql server comparing two huge tables Pin
ps_prakash025-Aug-09 2:09
ps_prakash025-Aug-09 2:09 
AnswerRe: sql server comparing two huge tables Pin
Blue_Boy3-Aug-09 23:24
Blue_Boy3-Aug-09 23:24 
GeneralRe: sql server comparing two huge tables Pin
ps_prakash024-Aug-09 0:28
ps_prakash024-Aug-09 0:28 
GeneralRe: sql server comparing two huge tables Pin
Blue_Boy4-Aug-09 4:46
Blue_Boy4-Aug-09 4:46 
GeneralRe: sql server comparing two huge tables Pin
ps_prakash024-Aug-09 21:52
ps_prakash024-Aug-09 21:52 
QuestionHow to check for a never populated table on sql server 2005 Pin
Roberto Mazzone3-Aug-09 6:34
Roberto Mazzone3-Aug-09 6:34 
AnswerRe: How to check for a never populated table on sql server 2005 Pin
David Mujica3-Aug-09 8:04
David Mujica3-Aug-09 8:04 
GeneralRe: How to check for a never populated table on sql server 2005 Pin
Roberto Mazzone3-Aug-09 20:00
Roberto Mazzone3-Aug-09 20:00 
AnswerRe: How to check for a never populated table on sql server 2005 Pin
leckey3-Aug-09 8:54
leckey3-Aug-09 8:54 

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.