English 中文(简体)
是否有可能使用SQL储存程序中的变数?
原标题:Is it possible to use variables inside PostgreSQL stored procedures that are using SQL language?

是否有可能使用SQL储存程序中的变数?

在可能的情况下,如何从选定的结果中分配这些结果,然后加以利用。

最佳回答

无,如果是“选举考试”,语言功能可以回升微额价值,但“选举考试”职能没有变数。 (最接近的我可以认为正在使用一个计算方法)

如果你使用语言插手法,你可以宣布变数。

问题回答

暂无回答




相关问题
LINQ to SQL optional Column

I need a functionality to have optional columns in a LINQ to SQL definition. So that LINQ to SQL normally ignores this column within selects and updates etc. But if a select contains a value for this ...

Optional where clause / parameter in a SQL 2008 stored proc?

I m writing some code that updates a table. Depending on what the user wants to do, it either updates a large set of records, or a smaller one. The delineating factor is a group ID. The user can ...

How to control access to a Stored Procedure in SQL Server?

I want to be able to have a Stored Procedure that can only be used from a particular page, without having to create a permissions / role for a user, when it is just a single stored procedure I want ...

Selecting records during recursive stored procedure

I ve got a content management system that contains a hierarchical structure of categories, with sub-categories subject to different ordering options at each level. Currently, that s retrieved by a (...

热门标签