由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - compare two large tables SQL (转载)
相关主题
SQL find distinct values in large table (转载)请教SAS SQL
SQL combine two tables into one table and add a new column (转载)在线等:SAS sql问题请教
How to compare two correlations in SAS?求助:sas不同格式的日期比较
Sas advance chapter quiz 一问please help on R subtable question !
请教 macro variable 和 PROC SQL的问题Urgent R Question
请教proc sql请教一个proc transpose的问题
[SQL] just figured out how to loop through all columns in a table[请教]Q26,40 in sas advanced new (dec)
完全不懂SAS,急请教一个问题请教一个关于R的问题
相关话题的讨论汇总
话题: sql话题: tables话题: error话题: large话题: compare
进入Statistics版参与讨论
1 (共1页)
l******9
发帖数: 579
1
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: compare two large tables SQL
发信站: BBS 未名空间站 (Thu May 8 19:33:54 2014, 美东)
I am comparing two tables to make sure they are same row by row and column
by column on SQL server.
SELECT *
FROM t1, t2
WHERE t1.column1 = t2.column1 AND t1.column2 = t2.column2
AND t1.column3 = t2.column3 AND t1.column4 != t2.column4
The tables are vey large, more than 100 million.
I got error:
ERROR [HY000] ERROR: 9434 : Not enough memory for merge-style join
Are there better ways to do this comparison.
thanks !
t*****w
发帖数: 254
2
Please use python to compare the string and summarize the final result.

【在 l******9 的大作中提到】
: 【 以下文字转载自 JobHunting 讨论区 】
: 发信人: light009 (light009), 信区: JobHunting
: 标 题: compare two large tables SQL
: 发信站: BBS 未名空间站 (Thu May 8 19:33:54 2014, 美东)
: I am comparing two tables to make sure they are same row by row and column
: by column on SQL server.
: SELECT *
: FROM t1, t2
: WHERE t1.column1 = t2.column1 AND t1.column2 = t2.column2
: AND t1.column3 = t2.column3 AND t1.column4 != t2.column4

1 (共1页)
进入Statistics版参与讨论
相关主题
请教一个关于R的问题请教 macro variable 和 PROC SQL的问题
大牛指点下面的R Code 怎么用Loop来实现请教proc sql
large dataset impot into SAS[SQL] just figured out how to loop through all columns in a table
请教个SAS ORACLE DATABASE的问题完全不懂SAS,急请教一个问题
SQL find distinct values in large table (转载)请教SAS SQL
SQL combine two tables into one table and add a new column (转载)在线等:SAS sql问题请教
How to compare two correlations in SAS?求助:sas不同格式的日期比较
Sas advance chapter quiz 一问please help on R subtable question !
相关话题的讨论汇总
话题: sql话题: tables话题: error话题: large话题: compare