SQL
MS SQL and .net Development
Pages
(Move to ...)
Home
▼
Monday, March 25, 2013
Left Padding Numerics with Leading Zeros
›
Many times you may need to show numeric data with a fixed length. If you cast an int to a string datatype you often get a bunch of trailing...
Monday, March 18, 2013
Split Comma-Separated Strings into Table
›
The below Split function is Table-valued function which would help us splitting comma-separated (or any other delimiter value) string to in...
Monday, March 11, 2013
The database could not be exclusively locked to perform the operation. (Microsoft SQL Server, Error: 5030)
›
You must have seen below error while renaming or deleting database. The database could not be exclusively locked to perform the operatio...
1 comment:
Monday, March 4, 2013
Restart SQL Server from command prompt
›
Sometime time you may need to restart SQL server from command prompt. Below command is used to stop and start SQL Server: Net Stop mss...
Monday, February 25, 2013
Replace carriage return and line feed in a SQL server varchar field
›
I have been facing an issue while importing some data from SQL to CSV file. In one of my SQL fields user entered Enter Key or Line feed, be...
‹
›
Home
View web version