on january 13, 2001, stephane fonteyne in message http://www.powerbasic.com/support/pb...ead.php?t=3086 asked (yet again) for more new features.
specifically, he asked..
on january 15, thierry vanmarcke commented in part:
well, i've been thinking again: why not embedded sql code?
i am talking just like the big boys, where you enter:
ok, if that's not a desireable intrinsic feature, who - besides me - would actually pay for a pb precompiler to translate the exec sql...end-exec stuff into calls to a suitable dll?
(i do not need the sql "whenever" if that's the hangup)
good idea, stephane!!
------------------
michael mattias
racine wi usa
[email protected]
specifically, he asked..
2. pbcc/pbdll
-------------
- buildin [sic] embedded sql code
-------------
- buildin [sic] embedded sql code
i am just wondering, what programs are you writing that you find the features in powerbasic not sufficient enough?
like asking for embedded sql code???? ...
like asking for embedded sql code???? ...
well, i've been thinking again: why not embedded sql code?
i am talking just like the big boys, where you enter:
Code:
exec sql begin declare section global lastname as asciiz * 255, firstname as asciiz * 255, city as asciiz * 255 end-exec (code, presumably more dim statements) exec sql end declare section end-exec .... exec sql connect to "mydb" end-exec if sqlcode <> %sqlsuccess then ' or sqlstate yadda yadda else exec sql declare mycursor cursor for "select * from name_table" end exec exec sql open cursor mycursor end-exec do while sqlcode = %sqlsuccess exec sql fetch next mycursor into :lastname, :firstname, :cityname end-exec if sqlcode = %sqlsuccess then call showresult (lastname,firstname, cityname) end if loop end if etc etc etc.
(i do not need the sql "whenever" if that's the hangup)
good idea, stephane!!
------------------
michael mattias
racine wi usa
[email protected]
Comment