There is a simple way in VBA and in Python to create tables in the database you need, giving the tables a name of a variable and the type of a variable. In SQL Server, we also have a way …

SQL Server – Create two tables with primary and foreign key with SQL code Read more »

I have started to explain tricks with SQL Server in a series of articles about a week or two ago. Today I will use a database, mentioned in a previous article. Get data below average The task is to get top …

SQL Server – Get data below the avarage; Difference between Left and Right Join Explained Read more »

As I have already started some time ago with SQL Server, in this article I will present the way to write a if-else case in sql query. The database is available here, I have used a sample DB for one …

SQL Server – Conditional Query And Multiple Tables Join (Many to Many Query) Read more »

So, after starting with SQL Server custom views, SQL Server Triggers, SQL Server Procedures and Functions, now it is time to pay some attention to SQL Transaction as well. What are transactions? Microsoft says the following:  A transaction is a single …

SQL Server – Simple Transaction in SQL Server Read more »

So, continuing from yesterday with the SQL Server subject, it is time to introduce some nice ways of writing functions and procedures in SQL. What is the idea, behind the functions and the procedures in SQL? Pretty much, I would …

SQL Server – Procedures and Functions in SQL Read more »

Speaking about SQL, I have noted something really interesting in MS SQL Server Management Studio, which would probably be of use in MS Access as well. This is the saved custom view. It is not present in MS Access, but …

SQL Server – Create Custom View in Microsoft SQL Server Management Studio Read more »

The legend says that when the chess was invented, the inventor was asked to pick a price from the local king. Thus, he asked for one grain for the first cell of the chess board, 2 for the second, 4 …

SQL Server – Generate data in Microsoft SQL Server Management Studio Read more »

If you are interested in DB development, then most probably you have tried to generate a sql script from your database. In this article I will show you how to do it with Microsoft SQL Server Management Studio. So, lets …

SQL Server – How to generate sql script from a db Read more »

Today I had to write a solution of the following problem – imagine you have two lists like this: var liPhoneBook = new List<tuple<int,string>>(); liPhoneBook.Add(Tuple.Create(100, “Pesho”)); liPhoneBook.Add(Tuple.Create(200, “Gosho”)); liPhoneBook.Add(Tuple.Create(300, “Atanas”)); liPhoneBook.Add(Tuple.Create(400, “Az”)); liPhoneBook.Add(Tuple.Create(500, “Ivan”)); liPhoneBook.Add(Tuple.Create(600, “Ivan Petrov”)); liPhoneBook.Add(Tuple.Create(900, “Vitosh”)); List …

C# Algorithms – Phone Book Implementation – List of int and string with a tuple Read more »

After writing yesterday about the insertion sort algorithm with Python here, today I have decided to continue with the algorithms. Thus, I have decided to take a look at two other simple sorting algorithms – Count Sort and Selection Sort. …

C# Algorithms – Selection Sort and Count Sort Read more »

This is probably the shortest article I have written. After some time trying to install an environment for C# in my Mint and my Ubuntu systems, I found out the following: the name of the environment is MonoDevelop. the installation …

Linux – Install MonoDevelop for Ubuntu and Mint Read more »

Some time ago I started to interest myself in algorithms. Thus, I bought 2 books about them and I started to read 🙂 The first problem in the first book was explaining the Stable Matching Problem. The essence of the problem is that …

Python Algorithms – Stable Matching Problem Read more »

As you have probably noticed, I have reviewed quite a few books during the last two years in which I have started the site. The number of Amazon reviews is about 16 and currently there are two books waiting for a review. …

News – Strategic partnership with hategame.com for reviews of gadgets Read more »

So, some time ago I have started to create apps in Django with Python. It is really fun and amazing, what one can achieve with this package 🙂 E.g., I have generated a small app, counting words and analyzing their repeatability, …

Python Django – How to add css to django application Read more »