With the new row_number() feature of the MS SQL Server 2005, now it’s very easy to implement pagination: get data rows page by page to avoid the retrieve too much data at same time. The new feature it’s very similar to the Oracle ROWUM. The prepare statement could be like the follow: SELECT * FROM [...]
Posts Tagged ‘sql server’
Retrieving identity column values from MS SQL Server by JDBC
Retrieving identity column values in JDBC applications: You define an identity column in a CREATE TABLE by specifying the IDENTITY clause when you define a column. This feature is defined in the JDBC, and implmented in the MS Sql Server 2005, not in the older version. For Oracle database this is not implemented, but the [...]