由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - help with a tedious query
相关主题
PB SQL语句的简单问题请问怎样找到StoredProcedures的修改记录?
Stored Procedure?怎么去除duplicates
Can I execute alter inPL/SQL为啥Oracle stored procedure 里面不建议用 temporary table?
In toad, 我教要逆天了
truncate和delete在ORACLE里有什么区别?菜鸟弱问:你们说的DBA和美国老土说的DBA是一回事吗?
sql server 面试题 (2)在用HeidiSQL, 感觉不错,但还是要和MySQL WorkBench联合使用
sql server 面试题 (9)这个新功能我喜欢
请教teradata问题MySQL table either insert or drop/truncate table running forever
相关话题的讨论汇总
话题: pk1话题: query话题: tedious话题: pk2话题: pk3
进入Database版参与讨论
1 (共1页)
j**i
发帖数: 419
1
I have some huge tables to generate dynamic DDL,each table has about 30-50
fields,some table have 1 primary key, some table have 4 primary key like this:
Table T1 (PK1),T2(PK1,PK2,PK3,PK4),T3(PK1,PK2,PK3,PK4),T4(PK1,PK2,PK3,PK4),.
,
I may need to up to 200 fields in this query( may from 4-5 tables or more) and
I need to return 4000-5000 records each time at an acceptable speed.
The idea is:
use PK1 in TB1, then join other tables-T2,T3,T4 ...etc.
record number:
how many there in the query('X1','X
1 (共1页)
进入Database版参与讨论
相关主题
MySQL table either insert or drop/truncate table running forevertruncate和delete在ORACLE里有什么区别?
五月份免费SQL培训时间 (转载) sql server 面试题 (2)
这个sql怎么写?sql server 面试题 (9)
我对PK1,2,3的看法请教teradata问题
PB SQL语句的简单问题请问怎样找到StoredProcedures的修改记录?
Stored Procedure?怎么去除duplicates
Can I execute alter inPL/SQL为啥Oracle stored procedure 里面不建议用 temporary table?
In toad, 我教要逆天了
相关话题的讨论汇总
话题: pk1话题: query话题: tedious话题: pk2话题: pk3