I know guys If you are reading this, you are here for the MongoDB Complete Installation. Before we go for the complete Installation process let me give a brief about MongoDB for those readers who just heard about it. MongoDB is the most popular NoSQL Database, if you are working on a big website and need to store large amount of data than MongoDB is one what you are looking for.
Until now may be you are thinking its looks like normal database so what is difference than RDBMS and why it is called as NoSQL.
So what is NO (Not only) in NoSQL is, the way of storing data. If you had already worked on RDBMS than you would know that RDBMS is the way of storing data in the structured form i.e in the Row-Column pattern. NoSQL stores data in unstructured form, which gives you far better performance, scalablity etc than the RDBMS. For complete difference please refer this RDBMS vs NoSQL.
Continue reading “MongoDB Complete Installation”
“Could not open a connection to SQL server”
Got this error !!! Don’t know what to do !!!
Continue reading “Could not open a connection to SQL server”
In this article you will understand difference between RDBMS and NoSQL.
RDBMS vs NoSQL
Relational database (RDBMS) is completely structured way of storing data like SQL and has been the primary model for database management during the past few decades and I know most of you already familiar with the SQL database . In the last several years, NoSQL database is getting widely adopted to solve various business problems. So with widely growing DB systems, developer might get confused. In this article I’II show you the difference between them and the evolution.
Relational Database Management System (RDBMS)
RDBMS is completely structured way of storing data. Itis a database management system (DBMS) that is based on the relational model. Data is stored in the form of rows and columns in RDBMS. Data is stored in the form of rows and columns in RDBMS. Some common relational database management systems that use SQL are: Oracle, Sybase, Microsoft SQL Server, Access, etc.
– >Provides data to be stored in tables
– >Persists data in the form of rows and columns
– >Provides facility primary key, to uniquely identify the rows
– >Creates indexes for quicker data retrieval
– >Provides a virtual table creation in which sensitive data can be stored and simplified query can be applied.
– >Sharing a common column in two or more tables(primary key and foreign key)
– >Provides multi user accessibility that can be controlled by individual users
Continue reading “RDBMS vs NoSQL”
SQL naming conventions
This article is for standards for the SQL naming convention. I listed all basic which I found useful. May this will benefit you too.
Databases and Files
- The database name should accurately reflect the database content and function. Use the Pascal case structure for database names. E.g., Northwind
- Use both upper and lower case letters as appropriate. Do not use spaces or underscores in the name
- File names must match the database name
Continue reading “SQL naming conventions”
How to Format SQL query?
While working on SQL queries especially when one is dealing is large lines of SQL code , in that case formatted and refracted query is a live savior. In this blog I’II provide you with the solution which I found quite useful.
#Formatting SQL query using SSMS
This is for the guys who regularly have to deal with the queries. There is no built in formatting in SSMS (SQL Server Management Studio) although Ctrl + Shift + Q will give you a Query Designer window from which you can copy formatted query but there are plugins available that will integrate with SSMS. There are a million others out there but not all of them that do plug into management studio, but the one I know of and it works very well is Apex SQL Refactor. It is a free plugin. Integrates with SSMS. Downside is that it is an all or nothing process. It does not refactor as you type. For complete Installation Guide of Apex SQL Refactor, you may refer this.
#Formatting SQL query using Online Tool
This is one of the quick solution if you don’t have any plugin or you don’t want to as you may not have to deal more with SQL queries, there are tools that will do formatting for you. Again guys there are many online free tools available that you can use to format your large queries. One of my favorite is SQL-Format because apart from formatting it will give you many option, desktop version for this is also available but I prefer to better save my PC storage and do it online.