Method #1. Connect to the database from the command line
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6KUCyjntCvoaVBCvlgP9tw4CuZlvyX91BwrYcbLhwT-JkMfJINbr9vipiRPo8J0M1dPb5u9_fYEX-vIg2mCbOB3Q_JwQT6YZKxnALQGH9Rflj1sQUju3k3ktHbrYTr8SjWmHaAmwxH5I/s1600/$217CF1AF2BB1618.bmp)
Method #2. Retrieve the version from the system table:
db2 "select * from SYSIBM.SYSVERSIONS"
Method #3. The Database Manager snapshot
db2 get snapshot for dbm | grep -P "(Product name|Service level)"
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFP-QnSQ91rsCS1t8KY_p_ZM1nIEsopT153khUi2o4S_RNRmUd_4MthJW_801h9yMuLBjV4_2rOa4JQy7uE_HGCxSsucsdxuTWyDS3__r4JLWozh-5xOv9WristQVDXv3V9UlJXgsGyTU/s1600/3.bmp)
Method #4. Get the version directly using the 'db2level' command:
This will give the version of local DB or DB2 Client installed on same server where you are checking
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcJfro9EmYQFsXn8Iewp7g8QHJAjJicaKy437OHAHRAJVnWuIzSiEQaVCzoJCyrX0W45v4JvzLB45JZh0F1ma9N90kIeM1pLJAi5oxjU3uEbEVZR8-MAjUejAxY4R_h-4p-SG8t48dPOw/s1600/4.bmp)