Sunday, 29 March 2015

How to create a store procedure in sql server 2008.

When i was heard that store procedure is so secure to manage database. Many of freshers are not able to know about the basic of store procedure. So i decided to  wrote a blog on it.


What is store Procedure?

A store procedure is the group of the all sql statements which create to fetch data or manage data. We use it to make database fetching faster. 

Sql Syntax for Store procedure
---------------------------------------------------------------------------------

Create procedure procdure_name(@parametername datatype,@parametername1 datatype,@parametername2 datatype,)asbeginsql commandend
------------------------------------------------------------------------------------------------------------------------
Example of Store Procedure( for insert data)

create procedure [dbo].[caste_codes]
(
@castec bigint,
@cas_name varchar(50)
)
as
begin
insert into caste_pickup (Caste_code,Caste_Name) values(@castec,@cas_name)
end
GO
_____________________________________________

I hope you all enjoy the blog. Next will come soon.





Monday, 8 April 2013

History of asp for beginners

ASP.NET is a server-side Web application framework designed for Web development to produce dynamic Web pages. It was developed by Microsoftto allow programmers to build dynamic web sitesweb applications and web services. It was first released in January 2002 with version 1.0 of the.NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime(CLR), allowing programmers to write ASP.NET code using any supported .NET language. The ASP.NET SOAP extension framework allows ASP.NET components to process SOAP messages.


History

After four years of development, and a series of beta releases in 2000 and 2001, ASP.NET 1.0 was released on January 5, 2002 as part of version 1.0 of the .Net Frameworks  Even prior to the release, dozens of books had been written about ASP.NET, and Microsoft promoted it heavily as part of its platform for Web services. Scott Guthrie became the product unit manager for ASP.NET, and development continued apace, with version 1.1 being released on April 24, 2003 as a part of Windows Server 2003. This release focused on improving ASP.NET's support for mobile devices.

Characteristics

ASP.NET Web pages, known officially as Web Forms,are the main building block for application development. Web forms are contained in files with a ".aspx" extension; these files typically contain static HTML markup, as well as markup defining server-side Web Controls and User Controls where the developers place all the rc content  for the Web page. Additionally, dynamic code which runs on the server can be placed in a page within a block <% -- dynamic code -- %>, which is similar to other Web development technologies such as PHP,JSP and ASP. With ASP.FRAMEWORK 3.5, Microsoft introduced a new code-behind model which allows static text to remain on the .aspx page, while dynamic code remains in an .aspx.vb or .aspx.cs or .aspx.fs file (depending on the programming language used).

Directives

A Directives is special instructions on how ASP.NET should process the page.The most common directive is <%@ Page %> which can specify many attributes used by the ASP.NET page parser and compiler.
                                                    Next Will Coming soon.......................