Thursday, September 07, 2006
SQL Server Product Name Generator
I thought David Findley's Microsoft Product Name Generator was brilliant so I thought I'd have a little fun with a SQL Server Product Name Generator :)
I'd love to show it here but Blogger doesn't let me post a script tag :(
<script>Load the above javascript code into a text editor, save it as .html, and load it into a browser :)
var trm = new Array("Web ", "XML ", "Document ", "Event ", "Analytical ", "High Availability", "Clustering "
, "Transaction ", "Performance ", "Optimization ", "Database Engine ", "Mobile ", "Replication ") ;
var sfx = new Array("", "Team Suite", "Developer", "Everywhere", "Express ", "Standard ", "Enterprise ");
function pick(ar) { return ar[Math.round((ar.length-1)*Math.random())]; }
function getProductName() {
var name = "";
name += "SQL Server ";
name += pick(trm);
name += "Services ";
name += pick(sfx);
name += " Edition";
var p = document.getElementById("p");
p.innerHTML = name;
}
</script>
<A href="#" onclick="getProductName()">Get Product Name</a>: <b><span id="p"></span></b>
I'd love to show it here but Blogger doesn't let me post a script tag :(