che oggetto usare per farmi restituire un valore secco da una query?
tipo select max(campo) from tabella???
che oggetto usare per farmi restituire un valore secco da una query?
tipo select max(campo) from tabella???
Le classi DataReader hanno un metodo ExecuteScalar ottimizzato proprio a questo scopo.
Per saperne di più, c'è sempre MSDN...
Ciao!![]()
MARCO BREVEGLIERI
Software and Web Developer, Teacher and Consultant
Home | Blog | Delphi Podcast | Twitch | Altro...