Redis SELECT command is used to select the DB having the specified zero-based numeric index. New connections always use DB 0.
Return Value
String reply.
Syntax
Following is the basic syntax of Redis SELECT command.
redis 127.0.0.1:6379> SELECT DB_INDEX
Example
redis 127.0.0.1:6379> SELECT 1 OK redis 127.0.0.1:6379[1]>
Pingback: Redis - Connections - Adglob Infosystem Pvt Ltd