我试图通过对子选择结果进行组来减少处理的数据量。 My_table有超过2000万行。 例如: SELECT TOP 100 A.Column FROM (
SELECT TOP 500 Column FROM My_table) A
GROUP BY A.Column
我希望查询只有500行从我的工作表中,但是当我通过使用组,需要花费大量的时间,一样,如果它是分组了整个20百万行,当我
我有一个批量数据,我打算使用Sybase中的简单SQL插入进行上载。 现在,由于某些约束违规,一些sql的失败。 由于我一次运行所有sqls,我无法找到哪个sql失败。 的数据库客户端控制台只是打印此, Attempt to insert duplicate key row in object 'Employee' with unique index 'Employee_uk'
(0 rows
在Sybase死了,我们间歇例外,像 System.Data.OleDb.OleDbException (0x80004005): [08S01]
[ASEOLEDB]ASE is terminating this process.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResul