Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
Which works fine but I'm migrating it to DB2. I have the following:
DECLARE @TotAcct VARCHAR(20) SET @TotAcct = ( SELECT COUNT(*) FROM ACCOUNT a ) PRINT 'Total Account: ' + @TotAcct
CREATE VARIABLE TotAcct INTEGER; SET TotAcct = ( SELECT COUNT(*) FROM ACCOUNT a); DISPLAY 'Total Account: ' + TotAcct; DROP VARIABLE TotAcct;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.