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
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 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 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 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 »
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)
sql server
(15)
elmah
(2)
tags
(2)
duplicates
(1)
error log
(1)
errors
(1)
related tags
(1)
stored procedures
(1)
Follow Us