Code used to populate a list of drop-down options for an MVC application
Today I worked out how to transpose SQL dates (copied from SQL Server) in Microsoft Word…..
Hi. The Transact-SQL script below 1 returns the following information: ID – Just an identity column used within the script SchemaName – The name of the schema TableName – Obviously, the name of the table 🙂 ColumnName Type – The data type of the column Length – The maximum number of bytes used by the […]
Over the past month or so, I have been working on upgrading an Endeca system that currently processes about 150,000 records. The current system runs on Endeca MDEX Engine v5.1.3. The latest version at the time of writing this post, is 6.1.4A. I decided to work on a VirtualBox Virtual machine, running Windows Server 2008 R2. […]
I wanted to produce a list of the MAX of date fields (DateTime, SmallDateTime, TimeStamp) for all tables within all databases held in an instance of SQL Server.
The script below was written for SQL Server 2000, but should be easily customisable for SQL Server 2005
Yesterday, I was trying to install Virtual PC for Windows 7, but it was taking ages to install. I even left it running overnight, but all it said, was:
“Initializing installation… done!”
“Installing Update for Windows (KB958559) (update 1 of 1)…”
The Transact-SQL Script below, is useful if you want to standardise the location of your databases. I have been managing a server whereby databases created by other people were created all over the place!! Therefore, this script was written to make life so much easier. 🙂 Be sure to read through the script before running it. […]
Earlier today, I discovered that the database maintenance plan on one of our SQL Server machine wasn’t working. When I reviewed the logs, it simply said “sqlmaint.exe failed”.