SQL
MS SQL and .net Development
Pages
(Move to ...)
Home
▼
Friday, September 28, 2012
split comma separated string to integer
›
Sometime we need to split a comma separated string to a Table of integers. The below function will split the given comma-separated string ...
Thursday, September 27, 2012
Query to write/create a file
›
This SQL stored procedure will allow you to write to the file on your system where SQL Server is running. If you are using this with your l...
Tuesday, September 25, 2012
Useful views and stored procedures
›
sys.databases : Lists all the databases in Sql Server. sys.tables : Lists all the Tables in the database. sys.views : Lists all the view...
Monday, September 24, 2012
Check leap year
›
There are various techniques to determine whether a given year is a leap year. You can use the below SQL function to check for leap year: ...
Friday, September 21, 2012
Recompile Stored Procedures, Views and Functions
›
Sometimes after massive changes in MSSQL database, there is a need to recompile all stored procedures, user-defined functions and views in ...
‹
›
Home
View web version