Blog di Zanirato Luca

Microsoft SQL Server Database!

Blog - Sites Links

Browse by Tags

All Tags » @@ROWCOUNT (RSS)
Sorry, but there are no more tags available to filter with.
L'istruzione @@ROWCOUNT
@@ROWCOUNT ci ritorna il numero di righe coinvolte nell'ultima istruzione SQL. Codice istruzione : use pubs go UPDATE Tabella SET Campo1= 'XXX' WHERE id = '999-888-7777' IF @@ROWCOUNT = 0 Print 'Attenzione: Nessuna riga aggiornata...
Posted: giu 21 2009, 04.51 by superzani3 | with no comments
Filed under: