Delete all tables in sql database
Hi all, Recently I encountered a bizarre request, I had to delete all the tables from an Sql database. The reason is even more bizarre. The client had a system auto creating them without making sure if...
View ArticleNumber of open connections SQL server
Hi all, Normally, when you’re coding on a website or a system you’re probably using connection to an SQL server database. When you are the coder or you are a consultant coming to a company to check the...
View ArticleThis is the beginning…
Hey all, This post is the beginning of a series of posts. What are the posts about? Well, I just started a consulting session at a major financial start-up company. This consulting session as many of...
View ArticleExecute a T-Sql statement on all Databases – Sql Server
Sometimes, you may want to execute a single statement (t-sql) on all of your databases. I had this issue about a week ago, I needed to change my users table on all databases. Because all of my tables...
View ArticleBackup all databases (SQL Express) with a single T-Sql
I’m using SQL Express 2008 for development on my development machines, I’m saving the full version for the servers and not on development. One of the things I often see when people talk about the...
View ArticleFind truncated string (paths) in SQL server
I recently encountered a strange bug on a database of a client, which I designed. The “bug” was that the paths he entered into the database got truncated, because it was too long of a string. I made...
View Article
More Pages to Explore .....