Posts Tagged ‘exam’

Use restview to to make the Ansible rst documentation browsable

Warning: count(): Parameter must be an array or an object that implements Countable in /home/fbsqlcom/public_html/ on line 31

The ansible-doc package not only installs the command line tool but also some quite detailed Ansible documentation in rst format. It would be nice if it was browsable in a html format. Here’s how that can happen (Redhat/CentOS) First install pip and restview… ?View Code BASHsudo yum install python-pip sudo pip install restview This will […]

TSQL: Partitioned table exercise for 70-462

Here’s some TSQL for the WingTipToys2012 table partitioning exercise in the 70-462 training materials. ?View Code TSQLCREATE DATABASE WingTipToys2012   USE WingTipToys2012; GO   CREATE PARTITION FUNCTION WTPartFunction(INTEGER) AS RANGE LEFT FOR VALUES (30, 60)   CREATE PARTITION SCHEME WTPartScheme AS PARTITION WTPartFunction TO (fgOne, fgTwo, fgThree);   CREATE TABLE toys ( column1 INTEGER NOT […]