Skip to main content

Posts

Showing posts with the label 15 Best SQL Queries for Developers [SQL Queries]

How to Compare Two Columns from Two Different Tables [SQL Server?]

This below query is help us to compare two columns from two different tables and also for  two different database tables. Stayed Informed - End To End SQL Server with Q/A -- HOW TO COMPARE TWO COLUMNS FROM TWO DIFFERENT TABLES IN SQL? SELECT * FROM [DBO].TRANSLATION_1 AS T1 WHERE NOT EXISTS ( SELECT * FROM [DBO].TRANSLATION_2 AS T2 WHERE T1.Field_Name = T2.Field_Name and T1.Entity_Name = T2.Entity_Name ) -- HOW TO COMPARE TWO COLUMNS FROM TWO DIFFERENT DATABASE TABLES IN SQL? SELECT * FROM [DB1].[DBO].TRANSLATION_1 AS T1 WHERE NOT EXISTS ( SELECT * FROM [DB1].[DBO].TRANSLATION_2 AS T2 WHERE T1.Field_Name = T2.Field_Name and T1.Entity_Name = T2.Entity_Name ) I hope you are enjoying with this post! Please share with you friends. Thank you!!

15 Best Tips To Optimizing SQL Stored Procedures [How To]

Stayed Informed – Best SQL Server Tutorials with Examples 1.       Try to use stored procedures instead of bulky queries. 2.       Try to avoid using temporary tables inside your stored procedures. 3.       Try to avoid using DDL statements inside your stored procedure. 4.       Try to use “ schema name ” with “ object name ”.  For examples as, n   SELECT * FROM [dbo] .[ Users] -- Preferred this method. Instead of below n   SELECT * FROM Users – Try to avoid this method. n   --For calling stored procedure with name like, n   EXEC  [ dbo] .[uspGetUser ] -- Preferred this method. n   --Instead of n   EXEC   uspGetUser  – Try to Avoid this method. 5.       Try to call stored procedures using their fully qualified name. For examples as, n   Use IF EXISTS ...

38 Best Cassandra Interview Questions and Answers [Q/A]

What is Cassandra? Answers: - The Cassandra is a free open source data storage system. It is developed by “ Facebook ”. It is used for “ inbox search ” and designed for storing and managing huge amounts of data. The Cassandra is a NOSQL database which has high scalability and availability. It is highly scalable, high-performance distributed database system and used for “ Real Time ” data store system for online and it is no single point of failure . The Cassandra is a right choice when we need scalability and high availability without compromising performance. Stated Informed – Best Cassandra Tutorials with Examples Cassandra is written in which language? Answers: - The Cassandra had written using “ Java ” language. JMX stands for? Answers: - The “ JMX” stands for “ Java Management Extension ”. “What is” Cassandra vs. Mongodb? Answers: - http://www.code-sample.com/2017/01/cassandra-vs-mongodb.html What is the advantage of Cassandra? ...