It is currently 22 April 2025, 23:20 Advanced search

Boolean in stored procedure

Questo forum è nato con lo scopo di raccogliere le proposte di modifica di Instant Developer e discuterne insieme.

Boolean in stored procedure

Postby t.simoncini » 14 January 2014, 15:55

Propongo di gestire in maniera appropriata le variabili di tipo boolean anche nelle stored procedure.
Attualmente vengono trattate tutte come interi, costringendo sempre ad inserire istruzioni del tipo:

Code: Select all
if ((bCheck=true or bCheck2=true) and bCheck3=true)
...
endif

oppure

Code: Select all
bCheck = if(bFlt=true or bFlt2=true,true,false)
t.simoncini
 
Posts: 1585
Joined: 5 March 2012, 14:00

Re: Boolean in stored procedure

Postby d.pierangeli » 15 January 2014, 7:59

E' già presente l'attività NPQ00277 per gestire i Boolean nei database (ed anche nelle stored).

La puoi trovare nella Roadmap.
User avatar
d.pierangeli
Pro Gamma
Pro Gamma
 
Posts: 8092
Joined: 30 September 2010, 15:35

Re: Boolean in stored procedure

Postby t.simoncini » 15 January 2014, 8:38

Perfetto. Grazie.
t.simoncini
 
Posts: 1585
Joined: 5 March 2012, 14:00


Return to Proposte di modifica

Who is online

Users browsing this forum: No registered users and 4 guests