Statistics

Total Posts: 34
This Year: 0
This Month: 0
This Week: 0
Comments: 174


RSS 2.0   SocialTwist Tell-a-Friend


Admin

Sign In

Navigation


Recent Posts


On this page....

How to limit the data returned by each columns in a SELECT statement?
How to swap data between two columns of a table in SQL Server?
Favicon – The little icon on the address bar
Smarter the better – SQL Server tips – part 03
Smarter the Better – SQL Server Tips – Part 02
How do I read excel file data columns as TEXT always?
Applying Windows Integrated Authentication in IIS 6 gives error HTTP 401.1 – Unauthorized: Logon Failed
Smarter the Better – SQL Server Tips – Part 01
Finding Stored Procedure Create and Modified Date in SQL Server
What is the max length of a file name or folder name in Windows OS?

Archives

 Full Archives By Category
 2007 Calendar View
<February 2010>
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
28123456
78910111213

Categories

CDOSYS (1) Classic ASP (10) Command Line (2) Databases (16) Excel (1) HTML (1) IIS (10) Indexing Service (1) Internet Explorer (7) Media Streaming (1) MS.Net (2) SQA (7) SQL Server (16) Windows OS (2)

Blogroll - Fav Blogs


Acknowledgments

DasBlog Theme Design by: Tom Watts
E-mail: Send mail to the author(s)
Theme Image by: dreamLogic

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Technology Blog

This article is specific to MS SQL Server. There can be various need based scenarios where the data returned by the SELECT statement should be limited to certain length for the columns of data type VARCHAR(MAX), NVARCHAR(MAX), VARBINARY(MAX), TEXT, NTEXT, and IMAGE data types. This can be achieved using SUBSTRING or LEFT functions for specific columns in SELECT statement. But if you have a SELECT statement having many columns of the data types specified before and you want to apply data returned length limitation for each column, the better option would be to use TEXTSIZE command.
Friday, November 13, 2009 11:44:59 PM (India Standard Time, UTC+05:30)
When we talk about swapping of data between two columns of a table in SQL Server, most of us think of writing SQL scripts in Stored Procedure to achieve it. Well, is it really required? Can a one line statement be written to swap data between two columns in a table? The answer is yes. In this article I cover a simple technique to swap data between two columns of a table.
Sunday, August 16, 2009 11:15:17 PM (India Standard Time, UTC+05:30)
A Favicon is the little image displayed in your favorites and in the left corner of the Address Bar of Internet Explorer when you bookmark a page. The Favicon was first popularized by its appearance in the "Address Bar" and "Favorites Folder" using Internet Explorer. Currently, Internet Explorer 5.x (IE 5.x), Linux's Konqueror and Mozilla/Netscape 6.x (NS 6.x) Web browsers support the Favicon function.
Tuesday, July 14, 2009 6:22:24 PM (India Standard Time, UTC+05:30)
This is in continuation to my previous post on SQL Server Tips.
Saturday, June 13, 2009 11:12:33 PM (India Standard Time, UTC+05:30)
This is in continuation to my previous post on SQL Server Tips. Use table variables instead of temporary tables. Include SET NOCOUNT ON statement into your stored procedures to stop the message indicating the number of rows affected by a T-SQL statement.
Sunday, May 17, 2009 12:22:01 AM (India Standard Time, UTC+05:30)
Many developers/programmers while writing code to extract data from an excel Intermixed data columns struggle to read the data. Reading data from an excel file is always been a challenge as the first row (record) of the data in excel defines the data type of the column. For example if the first row has the data as Integer and any consecutive row has the data as Float, excel read operation would fail as it expects the rest of the data in that column to be of Integer type.
Classic ASP | SQA | Excel | MS.Net
Friday, May 15, 2009 11:41:32 PM (India Standard Time, UTC+05:30)
Recently I did hosting of a website on IIS 6 on Windows XP Professional SP2. The website is applied with Basic Authentication and Windows Integrated Authentication. Strangely the Integrated Authentication does not work, but the same website on Windows 2003 Server SP2 works fine. When attempted to browse the website, it does ask for username and password; but does not login and shows the error HTTP 401.1 – Unauthorized: Logon Failed.
Saturday, April 11, 2009 1:48:38 PM (India Standard Time, UTC+05:30)
There are many occasions where a SQL Server Developer uses scripts which take longer to execute. I would rather say a wrong choice or approach in writing scripts caused the execution of the script longer. There are smarter ways to achieve results. In this post I will try to consolidate few tips on smarter SQL Server programming.
Sunday, March 08, 2009 7:34:17 PM (India Standard Time, UTC+05:30)
We all have created Stored Procedures in SQL Server. We keep doing regular updates on the applications using SQL Server database. The real problem comes when the application need to be made live and the database stored procedure is required to be synced with the live server. Unless there is no track of change monitored, it would be difficult while deploying the updates and upgrades in SQL SPs on to the live server. Now the question is more clear... Can I find the last modified date for a stored procedure in SQL Server?
Monday, March 02, 2009 6:35:32 PM (India Standard Time, UTC+05:30)
Most of you have been using Windows OS. Have you ever tried finding, what is the length of a file name or a folder name could be? Except those who have specifically worked on File system Object (FSO) would have not bothered to know as how a file and folder name is defined in Windows OS.
Friday, February 20, 2009 8:58:29 PM (India Standard Time, UTC+05:30)
 
ss_blog_claim=c020e08c7a23c693b3a7d2b925279828