Sybase: Stored Procedure called from within another Stored Procedure is too slow
问题 I'm writing a stored procedure for a Sybase database. I'm using Sybase Central 16.0 as my development environment. The machine I'm using runs Microsoft Windows Server 2012 R2 Standard and has 16GB RAM running on a 2.8GHz CPU. My stored procedure uses a cursor to iterate over the records in a table with about 400,000 reecords. Each record is written incrementally into a LONG VARCHAR variable and every Nth record the proc will run an MD5 hash value on the variable and store the value in a