Re: how to use pgsql like mssql - Mailing list pgsql-sql

From Pavel Stehule
Subject Re: how to use pgsql like mssql
Date
Msg-id 162867790712262054l19481519icf55948220399598@mail.gmail.com
Whole thread Raw
In response to Re: how to use pgsql like mssql  (Richard Broersma Jr <rabroersma@yahoo.com>)
List pgsql-sql
On 27/12/2007, Richard Broersma Jr <rabroersma@yahoo.com> wrote:
> --- On Wed, 12/26/07, liuzg2@21cn.com <liuzg2@21cn.com> wrote:
>
> > but  i do not   want use function  or  procedure
>
>
> Are you sure?  I thought that:
>
> DECLARE
> IF --control structures
> @@rowcount
>
> where only usable in a store procedure.  Am I incorrect, or are these keywords accessible from the SQL prompt?
>

You can use outside procedure in T-SQL.

Pavel

> Regards,
> Richard Broersma Jr.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org
>


pgsql-sql by date:

Previous
From: Richard Broersma Jr
Date:
Subject: Re: how to use pgsql like mssql
Next
From: "Pavel Stehule"
Date:
Subject: Re: how to use pgsql like mssql