Quantcast
Channel: SQL – Made In England
Browsing all 10 articles
Browse latest View live

Cannot Shrink Log File 2 – SQL

When running an SQL script to shrink a log file, you can get the following error: Cannot shrink log file 2 because requested size is larger than the start of the last logical log file This can be...

View Article


SQL Log Files Too Large – How To Shrink Log File In SQL Server

Sometimes SQL’s log files can grow to a very large size and you need to shrink the log files before you run out of disk space. This article doesn’t go into a great deal of depth about log files, how...

View Article


SQL Server Conflict Resolution

SQL Server conflict resolution is not a light reading topic. This article teaches you how to resolve SQL Server synchronisation conflicts for merge publications, but requires you to have some...

View Article

Troubleshooting SQL Server High CPU Usage

Sometimes a Microsoft SQL Server can have a very high CPU usage, but it’s not always obvious how to troubleshoot this. To troubleshoot high CPU usage in SQL Server, take the following steps: First...

View Article

Server Is Not Configured For DATA ACCESS – SQL Server

When trying to run a SQL query from one machine, querying another, you can get this error: Server ‘ServerName‘ is not configured for DATA ACCESS This is because the SQL Server isn’t listed in the list...

View Article


How To Remove A Linked Server In SQL Server

Sometimes you may wish to remove a linked server so that data access is restricted to locally running queries. To remove a linked server, run the following SQL query: sp_dropserver ServerName This will...

View Article

Syntax Error Converting From A Character String To UniqueIdentifier

Sometimes when trying to execute an SQL query you can get the following error: Syntax error converting from a character string to uniqueidentifier. This error is because the type of variable you are...

View Article

String Or Binary Data Would Be Truncated

Sometimes when trying to execute an SQL query (typically an INSERT or UPDATE), you can get this error: String or binary data would be truncated. This is because you are trying to insert some data that...

View Article


How To Find The SCCM 2007 Database Name

Need to know the name of your SCCM SQL database in SCCM 2007? Here’s how to find the name of your SCCM database: Open the SCCM console Click Site Database Click Site Management Click Site Settings...

View Article


vSphere Client Could Not Connect To vCenter. An Unknown Connection Error...

When trying to connect to VMware vCenter through the vSphere Client, you can get the following error: Could Not Connect vSphere Client could not connect to <<vCenter>>. An unknown...

View Article
Browsing all 10 articles
Browse latest View live