In MySQL I used use database_name;
use database_name;
(在MySQL中,我使用use database_name;)
What's the psql equivalent?
(什么是psql等效项?)
In PostgreSQL, you can use the \connect meta-command of the client tool psql:
\connect
(在PostgreSQL中,可以使用客户端工具psql的\connect元命令:)
connect DBNAME
or in short:
(或简而言之:)
c DBNAME
1.4m articles
1.4m replys
5 comments
56.8k users