• Welcome, Guest. Please login.
 
October 25, 2021, 08:51:12 PM

News:

Welcome to the SQLitening support forums!


slGetUnusedSetNumber

Started by Fim, February 23, 2011, 02:18:04 PM

Previous topic - Next topic

Fim

Will "slGetUnusedSetNumber" give you zero i any case?
/Fim
Fim W

Fred Meier

slGetUnusedSetNumber will return the lowest set number currently not being used, which may be zero.

   slGetUnusedSetNumber here will return 0
   slSel "Select * from t1"
   slGetUnusedSetNumber here will return 1
   slSel "Select * from t1", 0
   slGetUnusedSetNumber here will return 1
   slSel "Select * from t1", 1
   slGetUnusedSetNumber here will return 2
   slSel "Select * from t1", 2
   slGetUnusedSetNumber here will return 3
   slSel "Select * from t1", 8
   slGetUnusedSetNumber here will return 3


Fim

Fim W