Sign up
Submit a Post
Login
Search
Toggle navigation
Search
HOW-TO's
QUESTIONS & ANSWERS
ASK A QUESTION
Sign up
Log in
Submit & Contribute
Follow Us
Facebook Page
Twitter Profile
HOME
HOW-TO's
QUESTIONS & ANSWERS
ASK A QUESTION
TAG
Sql Server
How to Keep ELMAH_Error Table Rows Getting Too Big by Automatically Deleting Rows
I recently ran into an issue with the ELMAH Error logger Table getting way TOO Big in my SQL Server database. The table row size in the ELMAH_Error table had over 200,000 rows. This was way more than I ever needed to look at, and was causing other issues...
more »
How to Get Related Posts by Similar Tags in SQL
If you've ever wanted to get Related Posts based on similar Tags from other Posts using SQL, the following SQL code should help with creating your own SQL query. In this example, the Related Posts are articles, but they could be Blog posts or any other...
more »
How to Fix SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM
So here's a quick tip on how to fix the following SQL Server "SqlDateTime overflow" error. System.Data.SqlTypes.SqlTypeException SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. The reason that you are probably...
more »
How to Find and Remove Duplicate Column Records in a Table Row (SQL Server)
Here's a couple quick SQL database tips for finding and deleting duplicate values in a SQL Server table.To find duplicates in a Column use the following SQL: SELECT ColName1, COUNT(*) TotalCountFROM TableName GROUP BY ColName1 HAVING (COUNT(ColName1) >...
more »
How to Take SQL Server Database Offline
UPDATE 12-16-2011: If you are using ASP.NET and your website / database is live, and you want to take the database offline, you're better off putting an App_Offline.htm file in your website main directory to first take the website down for maintance (I...
more »
How to Fix Restore failed for Server while attempting 'RestoreContainer ValidateTargetForCreation'
Today I ran into the a "Restore failed for Server" error message while trying to restore a SQL Server 2008 database using a database backup (.bak) file. Below I will show you how to fix this restore error, so that you can restore your SQL Server database...
more »
How to Get SQL Records Starting with Numbers Only
Here's a quick SQL tip on how to get records beginning with numbers only. Use the query string LIKE '[0-9]%' For example: SELECT u.UserId, u.UserName FROM dbo.aspnet_Users u WHERE u.UserName LIKE '[0-9]%' ORDER BY u.UserName Keep in mind, If you are using...
more »
How to Edit More than 200 Rows in SQL Server 2008 Management Studio
In SQL Server 2008 Management Studio, you may want to change the default settings to allow you to edit more than the 200 rows at a time, or select more than 1000 rows, which are the default settings for SQL Server. To modify "Edit Top 200 Rows" or "Select...
more »
How to Enable Remote Connection to SQL Server 2008 Express Database
Here's a step by step process to enable a remote connection to your SQL Server 2008 Express database that is configured on Windows Server 2008 using an assigned port #. 1) First make sure the SQL Server Authentication is enabled and the User name that...
more »
How to Enable SQL Server Authentication and Windows Authentication for SQL Server Databases
Here's how you can enable SQL Server Authentication in a SQL Server 2008 database, and then add a User login and password account for connecting to the database. Open SQL Server Management Studio In the Object Explorer sidebar, right-click on the top SQL...
more »
How to fix Reporting Services permissions are insufficient for performing operation (rsAccessDenied)
If you are getting the following error while trying to access or deploy a SQL Services Reporting Services (ssrs) report server on your localhost: The permissions granted to user 'domain\username' are insufficient for performing this operation....
more »
How to Test a Database Connection String using NotePad
I just came across a way to test a data providers connection string (like a SQL Server database) with the help of a plain text file using Notepad. To investigate and test out if your connection string works, your going to want to create a UDL file. To do...
more »
How to Fix 'String or binary data would be truncated.'
There's a good chance that if you're database driven application is running into the following sql error message that says "String or binary data would be truncated", that the error is being caused by an issue in a SQL statement or in the SQL code of a...
more »
How to Enable CLR Integration in SQL Server 2008
I recently installed SQL Server 2008 database on my local computer and forgot to enable the common language runtime (CLR). Because I had forgotten to turn it on, some portions of my sites were not fuctioning properly due SQL Server not being able to...
more »
How to Disable "Saving changes is not permitted" dialog box (SQL Server 2008)
When using SQL Server 2008, you may receive a Save (Not Permitted Dialog) box pop-up when trying to save changes to an existing table. The dailog box reads: "Saving changes is not permitted. The changes you have made require the following tables to be...
more »
Ask a Question
Article Categories
Arts & Entertainment
Business
Cars
Computers
Electronics
Fashion & Beauty
Food & Drink
Health & Fitness
Home & Garden
Internet
Love & Relationships
Money & Finance
Other
Pets & Animals
Sports
Travel
Related Tags
asp.net
(20)
database
(8)
sql server 2008
(7)
sql
(5)
ssrs
(4)
elmah
(2)
tags
(2)
alter database
(1)
clr
(1)
database offline
(1)
db
(1)
duplicates
(1)
error log
(1)
errors
(1)
msql
(1)
Follow Us