Gyan Guru

Imbibing Knowledge

Akash
  • Male
  • Bangalore, Karnataka
  • India
Share 

Akash's Friends

Akash's Discussions

 

Akash's Page

Akash's Blog

Akash

Smarter the Better – SQL Server Tips – Part 01

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.



Do you want to delete all rows from a table?
Use Truncate instead of Delete statement. Truncate is faster and… Continue

Posted on March 8, 2009 at 7:30pm —

Akash

Understanding and Using PIVOT clause in SQL Server 2005

SQL Server 2005 has lots of new features, of which one is PIVOT clause. This is similar to Pivot tables in MS Excel and Matrix Control in Reporting Service. Here is a simple example demonstrating how to use PIVOT clause. I am right now taking a simple example. There are scenarios where there could be a need to write a big stored procedure to build a Pivot table in lower versions of SQL Server.



Do run the below query in Query Analyzer t
Continue

Posted on February 7, 2009 at 9:24pm —

Akash

Using Advanced Stream Redirector (ASX) to stream audio/video through HTTP Protocol


Advanced Stream Redirector (ASX) files are based on the Extensible Markup Language (XML) syntax, and are made up of various elements with their associated tags and attributes. This is designed to store a list of Windows Media files (.WMA, .ASF, .WMV) to play during a multimedia presentation. The ASX files can be effectively used to play songs over the Internet/Intranet through HTTP protocol.

I will not write here on how one shoul

Continue

Posted on February 1, 2009 at 6:00am —

Akash

How to open .MSG Outlook file in Internet Explorer from a web application?


Considering an example web application where the application allows uploading files with extension DOC, RTF, XLS, PPT, GIF, JPEG, PDF and MSG. The view page has the list of attachments and allows viewing files by invoking relevant applications. But files with .MSG do not open or do not invoke Outlook to view it.

The solution for this is in fact very simple. Do follow the following steps:


  • Open IIS and navigate to the web site

Continue

Posted on January 18, 2009 at 11:30am —

Akash

How to check a web form can have HTML/Script Injection?

Injection of HTML code and/or client side scripts like JavaScript, VBScript, and Jscript by malicious web users into the web pages viewed by other users is a computer security vulnerability typically found in web applications. This is popularly known as Cross Site Scripting (XSS) Attack.

Injection of the code can be done either from a web form or through a query string input. To check whether your web application is open to XSS, insert the following code given below in the Input T… Continue

Posted on January 10, 2009 at 10:30am —

Profile Information

About yourself...
I am working as Lead Software Architect for New Product Development. I am also into RnD and like to provide solutions for problems.

Comment Wall (4 comments)

You need to be a member of Gyan Guru to add comments!

Join this Ning Network

At 11:12am on December 8, 2008, Akash said…
Hi,

Check my latest blog on clearing IE browser history. What you are asking is very much possible with IE. You can use JavaScript to run commands in command line. In that script call "RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1", which will clear the IE browser history. Note that you will have to enable all ActiveX Security options (Signed and Unsigned ActiveX) in IE to get the script executed.

On the internet it is advisable not to loosen up the security by allowing execution of activeX on the browser. Technically this is dangerous as the browsing machine is opening up itself to lot of opportunities for the hacker to get in and do whatever he wants... Do not use it
Akash
At 9:48am on December 8, 2008, Subhash Babu Rampuri said…
I need to provide an option in web page called "ClearHistory". which is same as tools->internet options.. clear history.

How can i achive it. i need to clear the bwowser history. Can u please provide some inputs on it.
At 10:49am on November 18, 2008, Akash said…
Hi,

No, But you can get it on MSDN and other sites. Is there anything specific you are looking for?
At 7:09pm on November 17, 2008, Ramakrishnan said…
Do you have documemt for SQL 2005 Broker Services?

Latest Activity

160by2.com is a free SMS service for sending free personal messages and cannot be used with an intend to make business. SMS alerts can be packaged and personalized based on the frequency of updates required. Regarding the Widget (Desktop or Web), I…
May 14
Gyan Guru now has birthdays
March 12
Akash added a blog post
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. I…
March 8
Hi, Use the below query... You have specified wrong parentnode in the code. I have marked the changes to be done with red color. SELECT 1 AS Tag, null AS Parent, carrer_firstname AS [Details!1!FirstName!element], carrer_lastname AS [Details!1!Last…
February 9
Akash added a blog post
SQL Server 2005 has lots of new features, of which one is PIVOT clause. This is similar to Pivot tables in MS Excel and Matrix Control in Reporting Service. Here is a simple example demonstrating how to use PIVOT clause. I am right now taking a simp…
February 7
February 6
Akash added 3 blog posts
February 6
February 6
 
 

Do You Need Help?

Badge

Loading…

Birthdays

There are no birthdays today

 

© 2009   Created by Akash on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service