Follow Us
Categories
- Azure (8)
- DBA (17)
- Festive Greetings (2)
- Interview Questions (29)
- Miscellaneous (10)
- SQL Server (100)
- Imp SQL Difference (6)
- Most Imp SQL Concepts (13)
- SQL ACID Rule (1)
- SQL Advanced (17)
- SQL Basic (10)
- SQL Basic Concepts (17)
- SQL Best Practices (2)
- SQL CTE (2)
- SQL Cursor (1)
- SQL Data Types (1)
- SQL Database Backup (1)
- SQL Database Mirroring (1)
- SQL Database Restoration (3)
- SQL DDL, DML, DCL, TCL (1)
- SQL Derived Table (1)
- SQL Functions (17)
- SQL Group By Having (1)
- SQL Indexes (7)
- SQL Isolation Level (1)
- SQL Joins (1)
- SQL Log Shipping (1)
- SQL Merge Command (1)
- SQL Normalization (5)
- SQL Output Clause (1)
- SQL Pivot and Unpivot table (1)
- SQL Primary Key Constraint (2)
- SQL Queries Sub-queries (1)
- SQL Ranking Function (1)
- SQL Replication (1)
- SQL Server Exception handling (1)
- SQL Stored Procedure (4)
- SQL Temporary Tables (3)
- SQL Triggers (3)
- SQL Union Function (1)
- SQL View (1)
- SQL While loop (1)
- SQL Tips (5)
-
Recent Posts
- Happy New Year 2024 January 1, 2024
- SQL Joins Tricky Interview Questions April 17, 2019
- Point In Time Restore for Azure SQL Database January 8, 2019
- Azure – Creating an Azure SQL Database December 27, 2018
- Merry Christmas December 24, 2018
- SQL Triggers – An Introduction December 8, 2018
- Migrating SQL Database To Azure SQL Instance using Microsoft Database Migration Assistant (DMA) Tool November 25, 2018
Archives
- January 2024 (1)
- April 2019 (1)
- January 2019 (1)
- December 2018 (3)
- November 2018 (6)
- October 2018 (1)
- April 2018 (1)
- March 2018 (4)
- August 2017 (1)
- July 2017 (1)
- September 2016 (1)
- December 2015 (1)
- August 2015 (3)
- July 2015 (3)
- February 2015 (1)
- January 2015 (16)
- November 2014 (1)
- October 2014 (2)
- August 2014 (22)
- April 2014 (2)
- March 2014 (1)
- January 2014 (8)
- December 2013 (6)
- November 2013 (2)
- December 2012 (5)
- November 2012 (1)
- August 2012 (2)
- April 2012 (4)
- January 2012 (7)
- August 2011 (1)
- July 2011 (1)
- May 2011 (2)
- September 2010 (2)
- January 2010 (14)
- December 2009 (3)
- November 2009 (2)
- October 2009 (3)
- September 2009 (1)
- August 2009 (1)
Follow Us
Categories
- Azure (8)
- DBA (17)
- Festive Greetings (2)
- Interview Questions (29)
- Miscellaneous (10)
- SQL Server (100)
- Imp SQL Difference (6)
- Most Imp SQL Concepts (13)
- SQL ACID Rule (1)
- SQL Advanced (17)
- SQL Basic (10)
- SQL Basic Concepts (17)
- SQL Best Practices (2)
- SQL CTE (2)
- SQL Cursor (1)
- SQL Data Types (1)
- SQL Database Backup (1)
- SQL Database Mirroring (1)
- SQL Database Restoration (3)
- SQL DDL, DML, DCL, TCL (1)
- SQL Derived Table (1)
- SQL Functions (17)
- SQL Group By Having (1)
- SQL Indexes (7)
- SQL Isolation Level (1)
- SQL Joins (1)
- SQL Log Shipping (1)
- SQL Merge Command (1)
- SQL Normalization (5)
- SQL Output Clause (1)
- SQL Pivot and Unpivot table (1)
- SQL Primary Key Constraint (2)
- SQL Queries Sub-queries (1)
- SQL Ranking Function (1)
- SQL Replication (1)
- SQL Server Exception handling (1)
- SQL Stored Procedure (4)
- SQL Temporary Tables (3)
- SQL Triggers (3)
- SQL Union Function (1)
- SQL View (1)
- SQL While loop (1)
- SQL Tips (5)
Archives
- January 2024 (1)
- April 2019 (1)
- January 2019 (1)
- December 2018 (3)
- November 2018 (6)
- October 2018 (1)
- April 2018 (1)
- March 2018 (4)
- August 2017 (1)
- July 2017 (1)
- September 2016 (1)
- December 2015 (1)
- August 2015 (3)
- July 2015 (3)
- February 2015 (1)
- January 2015 (16)
- November 2014 (1)
- October 2014 (2)
- August 2014 (22)
- April 2014 (2)
- March 2014 (1)
- January 2014 (8)
- December 2013 (6)
- November 2013 (2)
- December 2012 (5)
- November 2012 (1)
- August 2012 (2)
- April 2012 (4)
- January 2012 (7)
- August 2011 (1)
- July 2011 (1)
- May 2011 (2)
- September 2010 (2)
- January 2010 (14)
- December 2009 (3)
- November 2009 (2)
- October 2009 (3)
- September 2009 (1)
- August 2009 (1)
-
Recent Posts
- Happy New Year 2024 January 1, 2024
- SQL Joins Tricky Interview Questions April 17, 2019
- Point In Time Restore for Azure SQL Database January 8, 2019
- Azure – Creating an Azure SQL Database December 27, 2018
- Merry Christmas December 24, 2018
- SQL Triggers – An Introduction December 8, 2018
- Migrating SQL Database To Azure SQL Instance using Microsoft Database Migration Assistant (DMA) Tool November 25, 2018
Archives
- January 2024 (1)
- April 2019 (1)
- January 2019 (1)
- December 2018 (3)
- November 2018 (6)
- October 2018 (1)
- April 2018 (1)
- March 2018 (4)
- August 2017 (1)
- July 2017 (1)
- September 2016 (1)
- December 2015 (1)
- August 2015 (3)
- July 2015 (3)
- February 2015 (1)
- January 2015 (16)
- November 2014 (1)
- October 2014 (2)
- August 2014 (22)
- April 2014 (2)
- March 2014 (1)
- January 2014 (8)
- December 2013 (6)
- November 2013 (2)
- December 2012 (5)
- November 2012 (1)
- August 2012 (2)
- April 2012 (4)
- January 2012 (7)
- August 2011 (1)
- July 2011 (1)
- May 2011 (2)
- September 2010 (2)
- January 2010 (14)
- December 2009 (3)
- November 2009 (2)
- October 2009 (3)
- September 2009 (1)
- August 2009 (1)
Categories
- Azure (8)
- DBA (17)
- Festive Greetings (2)
- Interview Questions (29)
- Miscellaneous (10)
- SQL Server (100)
- Imp SQL Difference (6)
- Most Imp SQL Concepts (13)
- SQL ACID Rule (1)
- SQL Advanced (17)
- SQL Basic (10)
- SQL Basic Concepts (17)
- SQL Best Practices (2)
- SQL CTE (2)
- SQL Cursor (1)
- SQL Data Types (1)
- SQL Database Backup (1)
- SQL Database Mirroring (1)
- SQL Database Restoration (3)
- SQL DDL, DML, DCL, TCL (1)
- SQL Derived Table (1)
- SQL Functions (17)
- SQL Group By Having (1)
- SQL Indexes (7)
- SQL Isolation Level (1)
- SQL Joins (1)
- SQL Log Shipping (1)
- SQL Merge Command (1)
- SQL Normalization (5)
- SQL Output Clause (1)
- SQL Pivot and Unpivot table (1)
- SQL Primary Key Constraint (2)
- SQL Queries Sub-queries (1)
- SQL Ranking Function (1)
- SQL Replication (1)
- SQL Server Exception handling (1)
- SQL Stored Procedure (4)
- SQL Temporary Tables (3)
- SQL Triggers (3)
- SQL Union Function (1)
- SQL View (1)
- SQL While loop (1)
- SQL Tips (5)
Yearly Archives: 2014
UPPER() function in SQL Server
UPPER():- This function is used to convert the value of a column to upper case. Syntax: SELECT UPPER(string) OR Select UPPER(Column name) from tablename For example, SELECT UPPER(‘Vivek’) Result: VIVEK
LEN() function in SQL Server
LEN():- This function is used to get the length of the given string value. Syntax:- Select len (stringvalue) For example, Select len(‘Vivek Johari’) Result:- 12
LOWER() function in SQL Server
LOWER():- This function is used to convert the value of a column to lower case Syntax:- Select LOWER (string) or SELECT LOWER(column_name) FROM table_name For example, SELECT LOWER(‘Vivek Johari’) Result:- vivek johari
LTRIM() function in SQL Server
LTRIM ():- This function is used to get the string after the removal of leading blank spaces. Syntax:- LTRIM ( character_expression ) For example:- Select LTRIM (‘ Vivek Johari’) Result:- Vivek Johari (without blank spaces on left side)
Substring() function in SQL Server
Substring():- This function is used to return the specified number (third argument “len”) of characters from a given string(first argument) from the start position as specified as the second argument. Syntax:- Select SUBSTRING ( expression ,start , length ) … Continue reading
Max() function in SQL Server
Max():- This function gives the maximum value of the selected column Syntax:- Select Max (col1) from table_name In this article, we are going to use the following table for the examples:- CREATE TABLE [dbo]. [Employee]( [Empid] [Int] IDENTITY (1, 1) … Continue reading
AND and OR Operator in Sql Server
And & Or:- These Operators are used to further filter the recordset return by SQL queries when more than one conditions are specified. In case of “AND” all the conditions must be true and in case of “OR” any of … Continue reading
RTRIM() function in SQL Server
RTRIM():-This function is used to get the string after the removal of all trailing blanks. Syntax:- RTRIM ( character_expression ) For example:- Select RTRIM(‘Vivek Johari ‘) Result:- Vivek Johari (without blank spaces on Right side)
SUM() function in SQL Server
Sum():- This function is used to get the sum of values of the specified numeric column. Syntax:- Select Sum (column_name) from tablename Example:- In this article, we are going to use the following table for the examples:- CREATE TABLE [dbo]. … Continue reading
Round() function in SQL Server
Round():-This function is used to round a numeric field to the number of decimals specified. Syntax:- ROUND ( numeric_expression , length [ ,function ] numeric_expression :-Expression of the exact numeric or approximate numeric data type category, except for the … Continue reading