Sql Server Codes (1211) - Page 5

Code snippets submitted by registered members. You can also post a code snippet or tips and win monthly prizes as well as gain community credit points.

1211 records found.
 
Get all Users details whose Joining Year is 2016
Posted by Amatya on 12/12/2016 under Sql Server category | Views: 1542
Get the difference of days in DateTime column
Posted by Amatya on 12/12/2016 under Sql Server category | Views: 1602
Get the difference of month in DateTime column
Posted by Amatya on 12/12/2016 under Sql Server category | Views: 1563
Retrieving Year part from the DateTime column
Posted by Amatya on 12/12/2016 under Sql Server category | Views: 1496
Create an empty table tblUser1 with same structure as tblUser
Posted by Amatya on 12/12/2016 under Sql Server category | Views: 1491
To find out Third Highest Salary
Posted by Amatya on 12/12/2016 under Sql Server category | Views: 1561
When we want to copy table from one Table to another new table
Posted by Amatya on 12/12/2016 under Sql Server category | Views: 1605
  • To find the number of month between two dates of month in SQL Server
    Posted by Amatya on 12/12/2016 under Sql Server category | Views: 1712
    Query to get the Department along with their Users (comma seperated)
    Posted by Amatya on 12/11/2016 under Sql Server category | Views: 1518
    Function to remove special character from the string
    Posted by Amatya on 12/11/2016 under Sql Server category | Views: 1661
    Convert VarcharBinary To Original String
    Posted by Rajnilari2015 on 11/12/2016 under Sql Server category | Views: 3264
    Code to demonstrate Between Clause inside IIF
    Posted by Rajnilari2015 on 10/27/2016 under Sql Server category | Views: 2317
    Get the Numbers before the first letter in SQL Server
    Posted by Rajnilari2015 on 10/15/2016 under Sql Server category | Views: 2313
    Get the Alphabets in SQL Server
    Posted by Rajnilari2015 on 10/15/2016 under Sql Server category | Views: 1596
    Sort by Number and Alphabets in SQL Server
    Posted by Rajnilari2015 on 10/15/2016 under Sql Server category | Views: 1624
    Program to find the second largest even number in SQL Server
    Posted by Rajnilari2015 on 10/2/2016 under Sql Server category | Views: 1635