package com.eixox.data.sql;

public class MsSqlServerCommand extends DatabaseCommand {

	public MsSqlServerCommand(Database database) {
		super(database);
	}

	@Override
	public DatabaseCommand appendBoolean(Boolean value) {
		return value
				? appendNumber(1)
				: appendNumber(0);
	}

}

@@ -282,10 +282,415 @@
 0);%0A%09%7D%0A%0A
+%09@Override%0A%09public DatabaseCommand appendByteArray(byte%5B%5D value) %7B%0A%09%09char%5B%5D hexArray = %220123456789ABCDEF%22.toCharArray();%0A%09%09super.appendRaw(%220x%22);%0A%09%09char%5B%5D hexChars = new char%5Bvalue.length * 2%5D;%0A%09%09for (int j = 0; j %3C value.length; j++) %7B%0A%09%09%09int v = value%5Bj%5D & 0xFF;%0A%09%09%09hexChars%5Bj * 2%5D = hexArray%5Bv %3E%3E%3E 4%5D;%0A%09%09%09hexChars%5Bj * 2 + 1%5D = hexArray%5Bv & 0x0F%5D;%0A%09%09%7D%0A%09%09super.text.append(hexChars);%0A%09%09return this;%0A%0A%09%7D%0A%0A
 %7D%0A

Update MsSqlServerCommand.java