Re: BUG #5167: Alternative to USE of MSSQL - Mailing list pgsql-bugs

From Pavel Stehule
Subject Re: BUG #5167: Alternative to USE of MSSQL
Date
Msg-id 162867790911050040x7e8b471cyf73f87f8db4a8d89@mail.gmail.com
Whole thread Raw
In response to BUG #5167: Alternative to USE of MSSQL  ("forbiddenvk" <for.bid.den.vk@gmail.com>)
List pgsql-bugs
2009/11/5 forbiddenvk <for.bid.den.vk@gmail.com>:
>
> The following bug has been logged online:
>
> Bug reference: =C2=A0 =C2=A0 =C2=A05167
> Logged by: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0forbiddenvk
> Email address: =C2=A0 =C2=A0 =C2=A0for.bid.den.vk@gmail.com
> PostgreSQL version: 8.4
> Operating system: =C2=A0 Windows
> Description: =C2=A0 =C2=A0 =C2=A0 =C2=A0Alternative to USE of MSSQL
> Details:
>
> Why couldn't create a =C2=A0alternative to USE command in MSSQL?, I think=
 is
> necesary when we want execute a full script for create a database and tab=
les
> in once.

Hello

\c command is alternative of USE statement in MSSQL.

postgres=3D# \c template1
You are now connected to database "template1".
template1=3D#

regards
Pavel Stehule

>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re: BUG #5167: Alternative to USE of MSSQL
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: BUG #5167: Alternative to USE of MSSQL