Quantcast
Channel: Adobe AEM CQ tips » sql server
Browsing latest articles
Browse All 3 View Live

How to get number of rows in ResultSet

Problem I need to find number of rows in ResultSet. How can I do that? Solution First of all, we need to set our PreparedStatement to be scroll insensitivite. This can be done really easily...

View Article



Add Microsoft SQL Server JDBC driver to Maven

Problem I can’t use Microsoft SQL Server JDBC driver in Java project while using maven. Solution Download the Microsoft SQL Server JDBC driver from MSDN site Unzip the package Navigate in command...

View Article

Altering a column: NULL to NOT NULL

Problem Change column from NULL to NOT NULL in Microsoft SQL Server. Solution There are two steps you need to do First of all, you have to set all ‘NULL’ values to some other value. UPDATE [Table] SET...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images